[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Can't catch exception caused by unique constraint?

jaikiran do-not-reply at jboss.com
Tue Jun 16 10:29:41 EDT 2009

Remember that the actual SQL queries may be executed on transaction commit (i.e. after the control has moved out of your code) which means it's too late to catch such exceptions.

But please post the code and the entire exception stacktrace so that we can ascertain that this is not a bug.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237952#4237952

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237952

More information about the jboss-user mailing list