play-ebean
play-ebean copied to clipboard
fix #11 (kind of workaround)
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.