[jboss-user] [EJB 3.0] - Re: Can't catch persistenceException
PeterJ
do-not-reply at jboss.com
Fri Sep 12 14:33:43 EDT 2008
What is being done at this line in the servlet:
at com.playjam.server.test.TestServlet.doGet(TestServlet.java:49)
My guess: the transaction is not committed until the create() method exits. It is not until the transaction is committed that the database is updated and notices the error, and that is too late for the catch block in create().
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176234#4176234
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176234
More information about the jboss-user
mailing list