Author: steve.ebersole(a)jboss.com
Date: 2007-01-15 10:40:44 -0500 (Mon, 15 Jan 2007)
New Revision: 11040
Modified:
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/joinfetch/UserGroup.hbm.xml
Log:
workaround issue with Ingres (userName is a function)
Modified:
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/joinfetch/UserGroup.hbm.xml
===================================================================
---
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/joinfetch/UserGroup.hbm.xml 2007-01-12
14:30:07 UTC (rev 11039)
+++
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/joinfetch/UserGroup.hbm.xml 2007-01-15
15:40:44 UTC (rev 11040)
@@ -14,26 +14,19 @@
<class name="User" table="AuctionUsers">
<id name="name"/>
- <map name="groups" table="AuctionUsersGroups"
- fetch="join" order-by="groupName">
- <key column="userName"/>
- <map-key formula="groupName"
- type="string"/>
- <many-to-many column="groupName"
- class="Group"/>
+ <map name="groups" table="AuctionUsersGroups"
fetch="join" order-by="groupName">
+ <key column="`userName`"/>
+ <map-key formula="groupName" type="string"/>
+ <many-to-many column="groupName" class="Group"/>
</map>
</class>
<class name="Group" table="AuctionGroups">
<id name="name"/>
- <map name="users" table="AuctionUsersGroups"
- fetch="join" order-by="userName"
- inverse="true" cascade="all">
+ <map name="users" table="AuctionUsersGroups"
fetch="join" order-by="`userName`" inverse="true"
cascade="all">
<key column="groupName"/>
- <map-key formula="userName"
- type="string"/>
- <many-to-many column="userName"
- class="User"/>
+ <map-key formula="`userName`" type="string"/>
+ <many-to-many column="`userName`" class="User"/>
</map>
</class>
Show replies by date