> --
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
>
>
--
Guillaume Bort, http://guillaume.bort.fr
For anything work-related, use g...@zenexity.fr; for everything else,
write guillau...@gmail.com
Edit the errors/500.html page.
On Fri, Dec 17, 2010 at 3:01 AM, will <willi...@gmail.com> wrote:
> Help! I cannot seem to catch the JPA commit exception and handle them
> accordingly. I'm using Play 1.0.3.2 and using JPA entity directly
> (not extending Model). Using JPA.em().persist(myEntity) to save to
> JPA. When there's an exception during commit, the browser simply
> displays "Oops, an error occured," while the log has the detail
> exception trace. I would like to display more helpful error message,
> like the exceptions' text, on the browser.
>
> From the stacktrace in the log, it looks like JPA transaction is
> committed by JPAPlugin.closeTx() in thef