[hibernate-commits] Hibernate SVN: r10420 - branches/Branch_3_2/Hibernate3/test/org/hibernate/test/cid

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Sep 1 16:50:09 EDT 2006


Author: steve.ebersole at jboss.com
Date: 2006-09-01 16:50:08 -0400 (Fri, 01 Sep 2006)
New Revision: 10420

Modified:
   branches/Branch_3_2/Hibernate3/test/org/hibernate/test/cid/Order.hbm.xml
Log:
fixed failures on SQLServer

Modified: branches/Branch_3_2/Hibernate3/test/org/hibernate/test/cid/Order.hbm.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/test/org/hibernate/test/cid/Order.hbm.xml	2006-09-01 20:49:54 UTC (rev 10419)
+++ branches/Branch_3_2/Hibernate3/test/org/hibernate/test/cid/Order.hbm.xml	2006-09-01 20:50:08 UTC (rev 10420)
@@ -41,7 +41,7 @@
     		not-null="true"/>
     	
     	<property name="total" 
-    		formula="( select sum(li.quantity*p.price) from LineItem li, Product p where li.productId = p.productId and li.customerId = customerId and li.orderNumber = orderNumber )"/>
+    		formula="( select sum(li.quantity*p.cost) from LineItem li, Product p where li.productId = p.productId and li.customerId = customerId and li.orderNumber = orderNumber )"/>
     	
     	<many-to-one name="customer"
     		column="customerId"




More information about the hibernate-commits mailing list