I am using JBoss 5.0.1.GA with Hibernate and Spring transactions. When a database update
fails, e.g. by the failure to satisfy foreign key, I get a
org.springframework.orm.hibernate3.HibernateJdbcException pointing to a
org.hibernate.exception.GenericJdbcException pointing to a
org.jboss.util.NestedSQLException with the message "Error" that points to itself
as the cause. As you might imagine, this is less than illuminating as to the actual cause
of the problem. Does anybody have any advice on how to handle or avoid this situation?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264148#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...