0 Replies Latest reply on Nov 5, 2009 10:21 AM by Ray DeCampo

    NestedSQLException with recursive cause

    Ray DeCampo Newbie

      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?