[hibernate-commits] Hibernate SVN: r10953 - trunk/Hibernate3/test/org/hibernate/test/legacy

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Dec 7 17:24:34 EST 2006


Author: steve.ebersole at jboss.com
Date: 2006-12-07 17:24:33 -0500 (Thu, 07 Dec 2006)
New Revision: 10953

Modified:
   trunk/Hibernate3/test/org/hibernate/test/legacy/FooBarTest.java
Log:
added skip protection regarding circular cascade delete constraints

Modified: trunk/Hibernate3/test/org/hibernate/test/legacy/FooBarTest.java
===================================================================
--- trunk/Hibernate3/test/org/hibernate/test/legacy/FooBarTest.java	2006-12-07 22:24:21 UTC (rev 10952)
+++ trunk/Hibernate3/test/org/hibernate/test/legacy/FooBarTest.java	2006-12-07 22:24:33 UTC (rev 10953)
@@ -115,7 +115,9 @@
 
 	public void testOnCascadeDelete() throws Exception {
 
-		if (getDialect() instanceof MySQLDialect) return;
+		if ( ! supportsCircularCascadeDelete() ) {
+			return;
+		}
 
 		Session s = openSession();
 		Baz baz = new Baz();




More information about the hibernate-commits mailing list