[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: inconsistent exception handling in hibernate validation

amitka do-not-reply at jboss.com
Fri Dec 15 11:10:03 EST 2006


I forgot to mention that JBoss doesn't wrap the InvalidStateException in EJBException because I marked this exception as an application exception, and as one that requires rollback in ejb-jar.xml the following way:

<application-exception>
  | 	<exception-class>org.hibernate.validator.InvalidStateException</exception-class>
  | 	<rollback>true</rollback>
  | </application-exception>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994269#3994269

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



More information about the jboss-user mailing list