[hibernate-commits] Hibernate SVN: r15695 - core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/collection/backref/map/compkey.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Dec 15 05:39:34 EST 2008


Author: jcosta at redhat.com
Date: 2008-12-15 05:39:34 -0500 (Mon, 15 Dec 2008)
New Revision: 15695

Modified:
   core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/collection/backref/map/compkey/Mappings.hbm.xml
Log:
HHH-3639 - Column 'role' becomes 'roles_', because 'role' is a reserved keyword in Sybase

Modified: core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/collection/backref/map/compkey/Mappings.hbm.xml
===================================================================
--- core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/collection/backref/map/compkey/Mappings.hbm.xml	2008-12-15 09:53:53 UTC (rev 15694)
+++ core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/collection/backref/map/compkey/Mappings.hbm.xml	2008-12-15 10:39:34 UTC (rev 15695)
@@ -31,7 +31,7 @@
         <map name="parts" table="Parts" cascade="all,delete-orphan" fetch="join">
             <key column="productName" not-null="true"/>
             <composite-map-key class="MapKey">
-                <key-property name="role"/>
+                <key-property name="role" column="role_"/>
             </composite-map-key>
             <one-to-many class="Part"/>
         </map>




More information about the hibernate-commits mailing list