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

JPA no entity manager bound to this thread.

Open eduardomsantos opened this issue 10 years ago • 3 comments
trafficstars

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

eduardomsantos avatar May 21 '15 10:05 eduardomsantos

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.

joscha avatar May 21 '15 10:05 joscha

I have sent you an e-mail joscha

eduardomsantos avatar May 21 '15 10:05 eduardomsantos

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

adrianescutia avatar Dec 17 '15 15:12 adrianescutia