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

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Sep 8 01:39:35 EDT 2010


Author: stliu
Date: 2010-09-08 01:39:35 -0400 (Wed, 08 Sep 2010)
New Revision: 20320

Modified:
   annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneTest.java
Log:
JBPAPP-4731 HHH-5413 null values for columns mapped as "boolean" cause exception when saving entity with Sybase jdbc4

Modified: annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneTest.java
===================================================================
--- annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneTest.java	2010-09-08 05:38:51 UTC (rev 20319)
+++ annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneTest.java	2010-09-08 05:39:35 UTC (rev 20320)
@@ -9,6 +9,8 @@
 import org.hibernate.Query;
 import org.hibernate.Session;
 import org.hibernate.Transaction;
+import org.hibernate.dialect.SybaseASE15Dialect;
+import org.hibernate.junit.SkipForDialect;
 import org.hibernate.test.annotations.Company;
 import org.hibernate.test.annotations.Customer;
 import org.hibernate.test.annotations.Discount;
@@ -25,7 +27,7 @@
 	public ManyToOneTest(String x) {
 		super( x );
 	}
-
+	@SkipForDialect(jiraKey="JBPAPP-4731",value={SybaseASE15Dialect.class})
 	public void testEager() throws Exception {
 		Session s;
 		Transaction tx;
@@ -50,7 +52,7 @@
 		assertEquals( "Yellow", car.getBodyColor().getName() );
 
 	}
-
+	@SkipForDialect(jiraKey="JBPAPP-4731",value={SybaseASE15Dialect.class})
 	public void testDefaultMetadata() throws Exception {
 		Session s;
 		Transaction tx;



More information about the hibernate-commits mailing list