[hibernate-commits] Hibernate SVN: r17725 - annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/manytoone/referencedcolumnname.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Oct 13 11:49:38 EDT 2009


Author: stliu
Date: 2009-10-13 11:49:38 -0400 (Tue, 13 Oct 2009)
New Revision: 17725

Modified:
   annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/manytoone/referencedcolumnname/ManyToOneReferencedColumnNameTest.java
Log:
JBPAPP-2910 HHH-4415 : TestCase could check for superclass of Dialect before skipping it

Modified: annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/manytoone/referencedcolumnname/ManyToOneReferencedColumnNameTest.java
===================================================================
--- annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/manytoone/referencedcolumnname/ManyToOneReferencedColumnNameTest.java	2009-10-13 15:47:59 UTC (rev 17724)
+++ annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/manytoone/referencedcolumnname/ManyToOneReferencedColumnNameTest.java	2009-10-13 15:49:38 UTC (rev 17725)
@@ -34,6 +34,16 @@
 		s.close();
 		
 	}
+	
+	
+	
+	@Override
+	protected boolean runForCurrentDialect() {
+		return super.runForCurrentDialect() && getDialect().supportsIdentityColumns();
+	}
+
+
+
 	protected Class[] getMappings() {
 		return new Class[] {
 				Item.class,



More information about the hibernate-commits mailing list