[hibernate-commits] Hibernate SVN: r19819 - in core/trunk: 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:50:07 EDT 2010


Author: stliu
Date: 2010-06-24 05:50:07 -0400 (Thu, 24 Jun 2010)
New Revision: 19819

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

Modified: core/trunk/parent/pom.xml
===================================================================
--- core/trunk/parent/pom.xml	2010-06-24 09:35:51 UTC (rev 19818)
+++ core/trunk/parent/pom.xml	2010-06-24 09:50:07 UTC (rev 19819)
@@ -912,7 +912,7 @@
             <properties>
                 <db.dialect>org.hibernate.dialect.SybaseASE15Dialect</db.dialect>
                 <jdbc.driver>com.sybase.jdbc3.jdbc.SybDriver</jdbc.driver>
-                <jdbc.url>jdbc:sybase:Tds:vmg07.mw.lab.eng.bos.redhat.com:5000/hibbrtru</jdbc.url>
+                <jdbc.url>jdbc:sybase:Tds:vmg07.mw.lab.eng.bos.redhat.com:5000/hibbrtru?DYNAMIC_PREPARE=true</jdbc.url>
                 <jdbc.user>hibbrtru</jdbc.user>
                 <jdbc.pass>hibbrtru</jdbc.pass>
                 <jdbc.isolation />

Modified: core/trunk/testsuite/src/test/java/org/hibernate/test/batch/DataPoint.hbm.xml
===================================================================
--- core/trunk/testsuite/src/test/java/org/hibernate/test/batch/DataPoint.hbm.xml	2010-06-24 09:35:51 UTC (rev 19818)
+++ core/trunk/testsuite/src/test/java/org/hibernate/test/batch/DataPoint.hbm.xml	2010-06-24 09:50:07 UTC (rev 19819)
@@ -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