[hibernate-commits] Hibernate SVN: r19820 - in core/branches/Branch_3_3_2_GA_CP: testsuite/src/test/java/org/hibernate/test/batch and 1 other directory.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Jun 24 05:52:20 EDT 2010


Author: stliu
Date: 2010-06-24 05:52:18 -0400 (Thu, 24 Jun 2010)
New Revision: 19820

Modified:
   core/branches/Branch_3_3_2_GA_CP/parent/pom.xml
   core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/batch/DataPoint.hbm.xml
Log:
JBPAPP-2731 HHH-4568 Sybase - Test BatchTest fails due to 'unexpected row count from update'

Modified: core/branches/Branch_3_3_2_GA_CP/parent/pom.xml
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/parent/pom.xml	2010-06-24 09:50:07 UTC (rev 19819)
+++ core/branches/Branch_3_3_2_GA_CP/parent/pom.xml	2010-06-24 09:52:18 UTC (rev 19820)
@@ -731,7 +731,7 @@
             <properties>
                 <db.dialect>org.hibernate.dialect.SybaseASE15Dialect</db.dialect>
                 <jdbc.driver>com.sybase.jdbc3.jdbc.SybDriver</jdbc.driver>
-                <jdbc.url>jdbc:sybase:Tds:dev77.qa.atl2.redhat.com:5000/hibbr330</jdbc.url>
+                <jdbc.url>jdbc:sybase:Tds:dev77.qa.atl2.redhat.com:5000/hibbr330?DYNAMIC_PREPARE=true</jdbc.url>
                 <jdbc.user>hibbr330</jdbc.user>
                 <jdbc.pass>hibbr330</jdbc.pass>
                 <jdbc.isolation />

Modified: core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/batch/DataPoint.hbm.xml
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/batch/DataPoint.hbm.xml	2010-06-24 09:50:07 UTC (rev 19819)
+++ core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/batch/DataPoint.hbm.xml	2010-06-24 09:52:18 UTC (rev 19820)
@@ -13,10 +13,10 @@
 			<generator class="increment"/>
 		</id>
 		<property name="x">
-			<column name="xval" not-null="true" length="4" unique-key="xy"/>
+			<column name="xval" not-null="true" precision="25" scale="20" unique-key="xy"/>
 		</property>
 		<property name="y">
-			<column name="yval" not-null="true" length="4" unique-key="xy"/>
+			<column name="yval" not-null="true" precision="25" scale="20" unique-key="xy"/>
 		</property>
 		<property name="description"/>
 	</class>



More information about the hibernate-commits mailing list