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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...