[hibernate-dev] 3.5.0-Beta-3 has different behaviour on commit as 3.5.0-Beta-2, is this intended?

Emmanuel Bernard emmanuel at hibernate.org
Thu Jan 14 10:26:55 EST 2010


Hello,
I cannot reproduce what you are describing.
Here are the two tests I have on the subject.
http://fisheye.jboss.org/browse/Hibernate/core/trunk/entitymanager/src/test/java/org/hibernate/ejb/test/beanvalidation/BeanValidationTest.java?r=18556

How is your configuration different?

On 14 janv. 2010, at 15:51, Guenther Demetz wrote:

> -until 3.5.0-Beta-2 a ConstraintViolationException during commit caused 
> an implicite rollback and the exception was wrapped into a 
> javax.persistence.RollbackException
> -now with 3.5.0-Beta-3 the same ConstraintViolationException during 
> commit is wrapped into a javax.persistence.PersistenceException without 
> implicite rollback
> 
> Is this a wanted behavior change?
> If yes, where it is documented?
> 
> best regards
> G.D.
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev





More information about the hibernate-dev mailing list