play-ebean icon indicating copy to clipboard operation
play-ebean copied to clipboard

fix #11 (kind of workaround)

Open rlamarche opened this issue 10 years ago • 0 comments

Fix proposal for #11. The solution is not perfect but it's all I have.

The solution is to put the transactional action wrapper just before the real request. In this case, the action is executed in the same thread as the action wrapper and it works fine when SecureSocial is used.

Of course, the concept is still bad in my opinion because we always return a promise instead of a Result.

rlamarche avatar Apr 10 '15 13:04 rlamarche