This error log is indeed very annoying. But to me, the fact that a generic
CreateException is thrown is even more problematic. How do I distinguish this
from some other failure in the database? I would hope I do not need to
interpret the exeception's message to distinguish.
Shouldn't this code read as: catch(SQLException e)
| {
| if(exceptionProcessor != null && exceptionProcessor.isDuplicateKey(e))
| {
| throw new DuplicateKeyException(
| "Integrity constraint violation:" + e.getMessage());
| }
| ...
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043671#4043671
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043671
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user