Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_hsqldb_e_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_hsqldb_e_o_hibernate.hbm.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_hsqldb_e_o_hibernate.hbm.xml
index 34d986916..d2deda2bc 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_hsqldb_e_o_hibernate.hbm.xml
@@ -50,7 +50,7 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="containedItem" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="ITEMLIST_CONTAINEDITEM">
+ <key foreign-key="ITEMLIST_CONTAINEDITEM_KEY" update="true">
<column name="`ITEMLIST_CONTAINEDITEM_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="ContainedItem"/>
@@ -62,7 +62,7 @@
<one-to-many entity-name="Item"/>
</bag>
<bag name="joinedItem" order-by="ABS(number)" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="ITEMLIST_JOINEDITEM">
+ <key foreign-key="ITEMLIST_JOINEDITEM_KEY" update="true">
<column name="`ITEMLIST_JOINEDITEM_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Item"/>
@@ -250,21 +250,21 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="containedItem" table="`ITEMLISTAUDITING_CONTAINEDITEMAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ITEMLISTAUDITING_CONTAINEDITEM_KEY" update="true">
<column name="`ITEMLISTAUDITING_CONTAINEDITEM_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ITEMLISTAUDITING_CONTAINEDITEM_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="item" table="`ITEMLISTAUDITING_ITEMAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ITEMLISTAUDITING_ITEM_KEY" update="true">
<column name="`ITEMLISTAUDITING_ITEM_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ITEMLISTAUDITING_ITEM_IDX`"/>
<element type="java.lang.String"/>
</list>
<bag name="joinedItem" table="`ITEMLISTAUDITING_JOINEDITEMAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ITEMLISTAUDITING_JOINEDITEM_KEY" update="true">
<column name="`ITEMLISTAUDITING_JOINEDITEM_TENEO_AUDIT_ID`" unique="false"/>
</key>
<element type="java.lang.String"/>

Back to the top