[hibernate-commits] Hibernate SVN: r15276 - annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Oct 8 02:31:48 EDT 2008


Author: gbadner
Date: 2008-10-08 02:31:48 -0400 (Wed, 08 Oct 2008)
New Revision: 15276

Modified:
   annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/IndexedCollectionTest.java
Log:
JBPAPP-1064 : Tests in IndexedCollectionTest fail due to "foreign key constraint" failure on MySQL


Modified: annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/IndexedCollectionTest.java
===================================================================
--- annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/IndexedCollectionTest.java	2008-10-08 04:55:29 UTC (rev 15275)
+++ annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/IndexedCollectionTest.java	2008-10-08 06:31:48 UTC (rev 15276)
@@ -241,7 +241,7 @@
 		assertEquals( "M", book.getEntries().get( helene ).getDirectory().getName() );
 
 		s.delete( book );
-		tx.rollback();
+		tx.commit();
 		s.close();
 	}
 




More information about the hibernate-commits mailing list