[jboss-user] [Persistence] - NestedSQLException with recursive cause

RayDeCampo do-not-reply at jboss.com
Thu Nov 5 10:21:32 EST 2009


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#4264148

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



More information about the jboss-user mailing list