joscha / play-authenticate

An authentication plugin for Play Framework 2.x (Java)
http://joscha.github.com/play-authenticate/
Other
807 stars 366 forks source link

JPA no entity manager bound to this thread. #254

Open eduardomsantos opened 9 years ago

eduardomsantos commented 9 years ago

This happens when i try to login via social providers, is there any workaround for this issue? Im using playframework 2.2.2

joscha commented 9 years ago

There is a JPA example I have on my disk - I haven't gotten around to put it in a repository yet, because it was written by another guy (that unfortunately does not seem to have a github account - at least none I can find) - if you send me an email, I'll forward it to you.

eduardomsantos commented 9 years ago

I have sent you an e-mail joscha

adrianescutia commented 8 years ago

Did you solved? Wrap body of your method with JPA.withTransaction, check this example at http://stackoverflow.com/a/31183143