Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-12-20 11:59:14 +0000
committerMartin Taal2012-12-20 11:59:14 +0000
commita36b30f14322d74069823336d1a6e01dbfe68ae0 (patch)
treeff2cc1c1b143bc3bef99d058f4b91e9f8ae42bef /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample
parent6d44c46db3f64cc1f15cc6f72062eaf9b3f0762c (diff)
downloadorg.eclipse.emf.teneo-a36b30f14322d74069823336d1a6e01dbfe68ae0.tar.gz
org.eclipse.emf.teneo-a36b30f14322d74069823336d1a6e01dbfe68ae0.tar.xz
org.eclipse.emf.teneo-a36b30f14322d74069823336d1a6e01dbfe68ae0.zip
Fixes issue 396988 - Also support foreign key attribute on key element in mapping
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_e_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_h_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_e_o_hibernate.hbm.xml12
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_h_o_hibernate.hbm.xml12
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_e_o_hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_h_o_hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml52
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml52
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_e_o_hibernate.hbm.xml14
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_h_o_hibernate.hbm.xml14
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml12
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml12
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_h_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_h_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_h_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_e_o_hibernate.hbm.xml30
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml30
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_e_o_hibernate.hbm.xml28
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_h_o_hibernate.hbm.xml28
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_h_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_h_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_h_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml14
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml14
68 files changed, 384 insertions, 384 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_e_o_hibernate.hbm.xml
index 934bb2a55..8125ac7d6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_e_o_hibernate.hbm.xml
@@ -13,7 +13,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="carWheel" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARFRAME_CARWHEEL">
+ <key foreign-key="CARFRAME_CARWHEEL_KEY" update="true">
<column name="`CARFRAME_CARWHEEL_E_ID`" unique="false"/>
</key>
<list-index column="`CARFRAME_CARWHEEL_IDX`"/>
@@ -50,14 +50,14 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="carType" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARSLIST_CARTYPE">
+ <key foreign-key="CARSLIST_CARTYPE_KEY" update="true">
<column name="`CARSLIST_CARTYPE_E_ID`" unique="false"/>
</key>
<list-index column="`CARSLIST_CARTYPE_IDX`"/>
<one-to-many entity-name="CarType"/>
</list>
<list name="carLink" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARSLIST_CARLINK">
+ <key foreign-key="CARSLIST_CARLINK_KEY" update="true">
<column name="`CARSLIST_CARLINK_E_ID`" unique="false"/>
</key>
<list-index column="`CARSLIST_CARLINK_IDX`"/>
@@ -84,7 +84,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="carFrame" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARTYPE_CARFRAME">
+ <key foreign-key="CARTYPE_CARFRAME_KEY" update="true">
<column name="`CARTYPE_CARFRAME_CARID`" unique="false"/>
</key>
<list-index column="`CARTYPE_CARFRAME_IDX`"/>
@@ -102,7 +102,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="carTire" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARWHEEL_CARTIRE">
+ <key foreign-key="CARWHEEL_CARTIRE_KEY" update="true">
<column name="`CARWHEEL_CARTIRE_E_ID`" unique="false"/>
</key>
<list-index column="`CARWHEEL_CARTIRE_IDX`"/>
@@ -181,7 +181,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="carWheel" table="`CARFRAMEAUDITING_CARWHEELAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARFRAMEAUDITING_CARWHEEL_KEY" update="true">
<column name="`CARFRAMEAUDITING_CARWHEEL_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARFRAMEAUDITING_CARWHEEL_IDX`"/>
@@ -298,14 +298,14 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="carType" table="`CARSLISTAUDITING_CARTYPEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARSLISTAUDITING_CARTYPE_KEY" update="true">
<column name="`CARSLISTAUDITING_CARTYPE_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARSLISTAUDITING_CARTYPE_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="carLink" table="`CARSLISTAUDITING_CARLINKAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARSLISTAUDITING_CARLINK_KEY" update="true">
<column name="`CARSLISTAUDITING_CARLINK_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARSLISTAUDITING_CARLINK_IDX`"/>
@@ -413,7 +413,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="carFrame" table="`CARTYPEAUDITING_CARFRAMEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARTYPEAUDITING_CARFRAME_KEY" update="true">
<column name="`CARTYPEAUDITING_CARFRAME_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARTYPEAUDITING_CARFRAME_IDX`"/>
@@ -472,7 +472,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="carTire" table="`CARWHEELAUDITING_CARTIREAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARWHEELAUDITING_CARTIRE_KEY" update="true">
<column name="`CARWHEELAUDITING_CARTIRE_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARWHEELAUDITING_CARTIRE_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_h_o_hibernate.hbm.xml
index 317664aff..f067ef403 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_hsqldb_h_o_hibernate.hbm.xml
@@ -16,7 +16,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="carWheel" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARFRAME_CARWHEEL">
+ <key foreign-key="CARFRAME_CARWHEEL_KEY" update="true">
<column name="`CARFRAME_CARWHEEL_E_ID`" unique="false"/>
</key>
<list-index column="`CARFRAME_CARWHEEL_IDX`"/>
@@ -59,14 +59,14 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="carType" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARSLIST_CARTYPE">
+ <key foreign-key="CARSLIST_CARTYPE_KEY" update="true">
<column name="`CARSLIST_CARTYPE_E_ID`" unique="false"/>
</key>
<list-index column="`CARSLIST_CARTYPE_IDX`"/>
<one-to-many entity-name="CarType"/>
</list>
<list name="carLink" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARSLIST_CARLINK">
+ <key foreign-key="CARSLIST_CARLINK_KEY" update="true">
<column name="`CARSLIST_CARLINK_E_ID`" unique="false"/>
</key>
<list-index column="`CARSLIST_CARLINK_IDX`"/>
@@ -99,7 +99,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="carFrame" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARTYPE_CARFRAME">
+ <key foreign-key="CARTYPE_CARFRAME_KEY" update="true">
<column name="`CARTYPE_CARFRAME_CARID`" unique="false"/>
</key>
<list-index column="`CARTYPE_CARFRAME_IDX`"/>
@@ -120,7 +120,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="carTire" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CARWHEEL_CARTIRE">
+ <key foreign-key="CARWHEEL_CARTIRE_KEY" update="true">
<column name="`CARWHEEL_CARTIRE_E_ID`" unique="false"/>
</key>
<list-index column="`CARWHEEL_CARTIRE_IDX`"/>
@@ -205,7 +205,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="carWheel" table="`CARFRAMEAUDITING_CARWHEELAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARFRAMEAUDITING_CARWHEEL_KEY" update="true">
<column name="`CARFRAMEAUDITING_CARWHEEL_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARFRAMEAUDITING_CARWHEEL_IDX`"/>
@@ -328,14 +328,14 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="carType" table="`CARSLISTAUDITING_CARTYPEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARSLISTAUDITING_CARTYPE_KEY" update="true">
<column name="`CARSLISTAUDITING_CARTYPE_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARSLISTAUDITING_CARTYPE_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="carLink" table="`CARSLISTAUDITING_CARLINKAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARSLISTAUDITING_CARLINK_KEY" update="true">
<column name="`CARSLISTAUDITING_CARLINK_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARSLISTAUDITING_CARLINK_IDX`"/>
@@ -449,7 +449,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="carFrame" table="`CARTYPEAUDITING_CARFRAMEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARTYPEAUDITING_CARFRAME_KEY" update="true">
<column name="`CARTYPEAUDITING_CARFRAME_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARTYPEAUDITING_CARFRAME_IDX`"/>
@@ -511,7 +511,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="carTire" table="`CARWHEELAUDITING_CARTIREAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARWHEELAUDITING_CARTIRE_KEY" update="true">
<column name="`CARWHEELAUDITING_CARTIRE_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARWHEELAUDITING_CARTIRE_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_e_o_hibernate.hbm.xml
index 9c5c36f5c..683cfc826 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_e_o_hibernate.hbm.xml
@@ -15,14 +15,14 @@
<column not-null="true" unique="false" name="`DESCRIPTION`"/>
</property>
<list name="subCatalog" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="CATALOGTYPE_SUBCATALOG">
+ <key foreign-key="CATALOGTYPE_SUBCATALOG_KEY" update="true">
<column name="`CATALOGTYPE_SUBCATALOG_NAME`" unique="false"/>
</key>
<list-index column="`CATALOGTYPE_SUBCATALOG_IDX`"/>
<one-to-many entity-name="CatalogType"/>
</list>
<list name="product" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="CATALOGTYPE_PRODUCT">
+ <key foreign-key="CATALOGTYPE_PRODUCT_KEY" update="true">
<column name="`CATALOGTYPE_PRODUCT_NAME`" unique="false"/>
</key>
<list-index column="`CATALOGTYPE_PRODUCT_IDX`"/>
@@ -62,7 +62,7 @@
<column not-null="false" unique="false" name="`DESCRIPTION`"/>
</property>
<list name="remark" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PRODUCTTYPE_REMARK">
+ <key foreign-key="PRODUCTTYPE_REMARK_KEY" update="true">
<column name="`PRODUCTTYPE_REMARK_CODE`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPE_REMARK_IDX`"/>
@@ -178,14 +178,14 @@
<column not-null="false" unique="false" name="`DESCRIPTION`"/>
</property>
<list name="subCatalog" table="`CATALOGTYPEAUDITING_SUBCATALOGAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CATALOGTYPEAUDITING_SUBCATALOG_KEY" update="true">
<column name="`CATALOGTYPEAUDITING_SUBCATALOG_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CATALOGTYPEAUDITING_SUBCATALOG_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="product" table="`CATALOGTYPEAUDITING_PRODUCTAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CATALOGTYPEAUDITING_PRODUCT_KEY" update="true">
<column name="`CATALOGTYPEAUDITING_PRODUCT_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CATALOGTYPEAUDITING_PRODUCT_IDX`"/>
@@ -305,7 +305,7 @@
<column not-null="false" unique="false" name="`DESCRIPTION`"/>
</property>
<list name="remark" table="`PRODUCTTYPEAUDITING_REMARKAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PRODUCTTYPEAUDITING_REMARK_KEY" update="true">
<column name="`PRODUCTTYPEAUDITING_REMARK_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPEAUDITING_REMARK_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_h_o_hibernate.hbm.xml
index 8ee37ff7f..7fa69a3ea 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_hsqldb_h_o_hibernate.hbm.xml
@@ -18,14 +18,14 @@
<column not-null="true" unique="false" name="`DESCRIPTION`"/>
</property>
<list name="subCatalog" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="CATALOGTYPE_SUBCATALOG">
+ <key foreign-key="CATALOGTYPE_SUBCATALOG_KEY" update="true">
<column name="`CATALOGTYPE_SUBCATALOG_NAME`" unique="false"/>
</key>
<list-index column="`CATALOGTYPE_SUBCATALOG_IDX`"/>
<one-to-many entity-name="CatalogType"/>
</list>
<list name="product" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="CATALOGTYPE_PRODUCT">
+ <key foreign-key="CATALOGTYPE_PRODUCT_KEY" update="true">
<column name="`CATALOGTYPE_PRODUCT_NAME`" unique="false"/>
</key>
<list-index column="`CATALOGTYPE_PRODUCT_IDX`"/>
@@ -71,7 +71,7 @@
<column not-null="false" unique="false" name="`DESCRIPTION`"/>
</property>
<list name="remark" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PRODUCTTYPE_REMARK">
+ <key foreign-key="PRODUCTTYPE_REMARK_KEY" update="true">
<column name="`PRODUCTTYPE_REMARK_CODE`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPE_REMARK_IDX`"/>
@@ -199,14 +199,14 @@
<column not-null="false" unique="false" name="`DESCRIPTION`"/>
</property>
<list name="subCatalog" table="`CATALOGTYPEAUDITING_SUBCATALOGAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CATALOGTYPEAUDITING_SUBCATALOG_KEY" update="true">
<column name="`CATALOGTYPEAUDITING_SUBCATALOG_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CATALOGTYPEAUDITING_SUBCATALOG_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="product" table="`CATALOGTYPEAUDITING_PRODUCTAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CATALOGTYPEAUDITING_PRODUCT_KEY" update="true">
<column name="`CATALOGTYPEAUDITING_PRODUCT_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CATALOGTYPEAUDITING_PRODUCT_IDX`"/>
@@ -332,7 +332,7 @@
<column not-null="false" unique="false" name="`DESCRIPTION`"/>
</property>
<list name="remark" table="`PRODUCTTYPEAUDITING_REMARKAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PRODUCTTYPEAUDITING_REMARK_KEY" update="true">
<column name="`PRODUCTTYPEAUDITING_REMARK_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPEAUDITING_REMARK_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_e_o_hibernate.hbm.xml
index d6ae8bfb2..91ba88681 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_e_o_hibernate.hbm.xml
@@ -28,7 +28,7 @@
<column not-null="false" unique="false" name="`CLM_STATUS`" length="2"/>
</property>
<bag name="claimLine" inverse="true" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CLAIM_CLAIMLINE">
+ <key foreign-key="CLAIM_CLAIMLINE_KEY" update="true">
<column name="`CLM_NBR`" unique="false"/>
<column name="`CLM_EXT_NBR`" unique="false"/>
</key>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_h_o_hibernate.hbm.xml
index d62b61132..baf752c58 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_hsqldb_h_o_hibernate.hbm.xml
@@ -31,7 +31,7 @@
<column not-null="false" unique="false" name="`CLM_STATUS`" length="2"/>
</property>
<bag name="claimLine" inverse="true" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CLAIM_CLAIMLINE">
+ <key foreign-key="CLAIM_CLAIMLINE_KEY" update="true">
<column name="`CLM_NBR`" unique="false"/>
<column name="`CLM_EXT_NBR`" unique="false"/>
</key>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml
index eeb90257e..cb0d1696c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml
@@ -37,7 +37,7 @@
<column not-null="false" unique="false" name="`LENGTH`"/>
</property>
<list name="availableColors" table="`VEHICLE_AVAILABLECOLORS`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="VEHICLE_AVAILABLECOLORS_KEY" update="true">
<column name="`VEHICLE_AVAILABLECOLORS_E_ID`" unique="false"/>
</key>
<list-index column="`VEHICLE_AVAILABLECOLORS_IDX`"/>
@@ -47,7 +47,7 @@
<column not-null="false" unique="false" name="`PERSON_OWNER_E_ID`"/>
</many-to-one>
<list name="manufacturedAt" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="VEHICLE_MANUFACTUREDAT">
+ <key foreign-key="VEHICLE_MANUFACTUREDAT_KEY" update="true">
<column name="`VEHICLE_MANUFACTUREDAT_E_ID`" unique="false"/>
</key>
<list-index column="`VEHICLE_MANUFACTUREDAT_IDX`"/>
@@ -71,7 +71,7 @@
<column not-null="false" unique="false" name="`DATE`"/>
</property>
<array name="touchedAttributes" table="`TEMPORAL_TOUCHEDATTRIBUTES`" cascade="all">
- <key update="true">
+ <key foreign-key="TEMPORAL_TOUCHEDATTRIBUTES_KEY" update="true">
<column name="`TEMPORAL_TOUCHEDATTRIBUTES_E_ID`" unique="false"/>
</key>
<list-index column="`TEMPORAL_TOUCHEDATTRIBUTES_IDX`"/>
@@ -103,14 +103,14 @@
<column not-null="false" unique="false" name="`EMPLOYED`"/>
</property>
<list name="addresses" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PERSON_ADDRESSES">
+ <key foreign-key="PERSON_ADDRESSES_KEY" update="true">
<column name="`PERSON_ADDRESSES_E_ID`" unique="false"/>
</key>
<list-index column="`PERSON_ADDRESSES_IDX`"/>
<one-to-many entity-name="Address"/>
</list>
<list name="ownedVehicles" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="PERSON_OWNEDVEHICLES">
+ <key foreign-key="PERSON_OWNEDVEHICLES_KEY" update="true">
<column name="`PERSON_OWNEDVEHICLES_E_ID`" unique="false"/>
</key>
<list-index column="`PERSON_OWNEDVEHICLES_IDX`"/>
@@ -189,14 +189,14 @@
<column not-null="false" unique="false" name="`ID`"/>
</property>
<list name="vehicles" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="FLEET_VEHICLES">
+ <key foreign-key="FLEET_VEHICLES_KEY" update="true">
<column name="`FLEET_VEHICLES_E_ID`" unique="false"/>
</key>
<list-index column="`FLEET_VEHICLES_IDX`"/>
<one-to-many entity-name="Vehicle"/>
</list>
<list name="vehicleInformation" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="FLEET_VEHICLEINFORMATION">
+ <key foreign-key="FLEET_VEHICLEINFORMATION_KEY" update="true">
<column name="`FLEET_VEHICLEINFORMATION_E_ID`" unique="false"/>
</key>
<list-index column="`FLEET_VEHICLEINFORMATION_IDX`"/>
@@ -213,7 +213,7 @@
<column name="`TEMPORAL_E_ID`"/>
</key>
<list name="vehicles" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="GARAGE_VEHICLES">
+ <key foreign-key="GARAGE_VEHICLES_KEY" update="true">
<column name="`GARAGE_VEHICLES_E_ID`" unique="false"/>
</key>
<list-index column="`GARAGE_VEHICLES_IDX`"/>
@@ -275,7 +275,7 @@
<column not-null="false" unique="false" name="`DATE`"/>
</property>
<array name="touchedAttributes" table="`CAR_TOUCHEDATTRIBUTES`" cascade="all">
- <key update="true">
+ <key foreign-key="CAR_TOUCHEDATTRIBUTES_KEY" update="true">
<column name="`CAR_TOUCHEDATTRIBUTES_E_ID`" unique="false"/>
</key>
<list-index column="`CAR_TOUCHEDATTRIBUTES_IDX`"/>
@@ -297,7 +297,7 @@
<column not-null="false" unique="false" name="`NUMTIRES`"/>
</property>
<list name="tires" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CAR_TIRES">
+ <key foreign-key="CAR_TIRES_KEY" update="true">
<column name="`CAR_TIRES_E_ID`" unique="false"/>
</key>
<list-index column="`CAR_TIRES_IDX`"/>
@@ -341,7 +341,7 @@
<column not-null="false" unique="false" name="`MAKESDIESELENGINES`"/>
</property>
<list name="brands" table="`ENGINEFACTORY_BRANDS`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ENGINEFACTORY_BRANDS_KEY" update="true">
<column name="`ENGINEFACTORY_BRANDS_E_ID`" unique="false"/>
</key>
<list-index column="`ENGINEFACTORY_BRANDS_IDX`"/>
@@ -512,7 +512,7 @@
<column not-null="false" unique="false" name="`LENGTH`"/>
</property>
<list name="availableColors" table="`VEHICLEAUDITING_AVAILABLECOLORSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="VEHICLEAUDITING_AVAILABLECOLORS_KEY" update="true">
<column name="`VEHICLEAUDITING_AVAILABLECOLORS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`VEHICLEAUDITING_AVAILABLECOLORS_IDX`"/>
@@ -522,7 +522,7 @@
<column not-null="false" unique="false" name="`OWNER`"/>
</property>
<list name="manufacturedAt" table="`VEHICLEAUDITING_MANUFACTUREDATAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="VEHICLEAUDITING_MANUFACTUREDAT_KEY" update="true">
<column name="`VEHICLEAUDITING_MANUFACTUREDAT_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`VEHICLEAUDITING_MANUFACTUREDAT_IDX`"/>
@@ -584,7 +584,7 @@
<column not-null="false" unique="false" name="`DATE`"/>
</property>
<array name="touchedAttributes" table="`TEMPORALAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all">
- <key update="true">
+ <key foreign-key="TEMPORALAUDITING_TOUCHEDATTRIBUTES_KEY" update="true">
<column name="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_IDX`"/>
@@ -613,14 +613,14 @@
<column not-null="false" unique="false" name="`EMPLOYED`"/>
</property>
<list name="addresses" table="`PERSONAUDITING_ADDRESSESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PERSONAUDITING_ADDRESSES_KEY" update="true">
<column name="`PERSONAUDITING_ADDRESSES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PERSONAUDITING_ADDRESSES_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="ownedVehicles" table="`PERSONAUDITING_OWNEDVEHICLESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PERSONAUDITING_OWNEDVEHICLES_KEY" update="true">
<column name="`PERSONAUDITING_OWNEDVEHICLES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PERSONAUDITING_OWNEDVEHICLES_IDX`"/>
@@ -775,14 +775,14 @@
<column not-null="false" unique="false" name="`ID`"/>
</property>
<list name="vehicles" table="`FLEETAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FLEETAUDITING_VEHICLES_KEY" update="true">
<column name="`FLEETAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FLEETAUDITING_VEHICLES_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="vehicleInformation" table="`FLEETAUDITING_VEHICLEINFORMATIONAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FLEETAUDITING_VEHICLEINFORMATION_KEY" update="true">
<column name="`FLEETAUDITING_VEHICLEINFORMATION_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FLEETAUDITING_VEHICLEINFORMATION_IDX`"/>
@@ -799,7 +799,7 @@
<column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/>
</key>
<list name="vehicles" table="`GARAGEAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="GARAGEAUDITING_VEHICLES_KEY" update="true">
<column name="`GARAGEAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`GARAGEAUDITING_VEHICLES_IDX`"/>
@@ -812,7 +812,7 @@
<column not-null="false" unique="false" name="`ADDRESS`"/>
</property>
<list name="fleetsUsingGarage" table="`GARAGEAUDITING_FLEETSUSINGGARAGEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="GARAGEAUDITING_FLEETSUSINGGARAGE_KEY" update="true">
<column name="`GARAGEAUDITING_FLEETSUSINGGARAGE_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`GARAGEAUDITING_FLEETSUSINGGARAGE_IDX`"/>
@@ -969,7 +969,7 @@
<column not-null="false" unique="false" name="`LENGTH`"/>
</property>
<list name="availableColors" table="`CARAUDITING_AVAILABLECOLORSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARAUDITING_AVAILABLECOLORS_KEY" update="true">
<column name="`CARAUDITING_AVAILABLECOLORS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARAUDITING_AVAILABLECOLORS_IDX`"/>
@@ -979,7 +979,7 @@
<column not-null="false" unique="false" name="`OWNER`"/>
</property>
<list name="manufacturedAt" table="`CARAUDITING_MANUFACTUREDATAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARAUDITING_MANUFACTUREDAT_KEY" update="true">
<column name="`CARAUDITING_MANUFACTUREDAT_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARAUDITING_MANUFACTUREDAT_IDX`"/>
@@ -992,7 +992,7 @@
<column not-null="false" unique="false" name="`DATE`"/>
</property>
<array name="touchedAttributes" table="`CARAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all">
- <key update="true">
+ <key foreign-key="CARAUDITING_TOUCHEDATTRIBUTES_KEY" update="true">
<column name="`CARAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARAUDITING_TOUCHEDATTRIBUTES_IDX`"/>
@@ -1011,7 +1011,7 @@
<column not-null="false" unique="false" name="`NUMTIRES`"/>
</property>
<list name="tires" table="`CARAUDITING_TIRESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARAUDITING_TIRES_KEY" update="true">
<column name="`CARAUDITING_TIRES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARAUDITING_TIRES_IDX`"/>
@@ -1041,7 +1041,7 @@
<column not-null="false" unique="false" name="`MAKESDIESELENGINES`"/>
</property>
<list name="brands" table="`ENGINEFACTORYAUDITING_BRANDSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ENGINEFACTORYAUDITING_BRANDS_KEY" update="true">
<column name="`ENGINEFACTORYAUDITING_BRANDS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ENGINEFACTORYAUDITING_BRANDS_IDX`"/>
@@ -1223,7 +1223,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="versions" table="`VERSIONHOLDERAUDITING_VERSIONSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="VERSIONHOLDERAUDITING_VERSIONS_KEY" update="true">
<column name="`VERSIONHOLDERAUDITING_VERSIONS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`VERSIONHOLDERAUDITING_VERSIONS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml
index 29537a315..cb3764e78 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml
@@ -40,7 +40,7 @@
<column not-null="false" unique="false" name="`LENGTH`"/>
</property>
<list name="availableColors" table="`VEHICLE_AVAILABLECOLORS`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="VEHICLE_AVAILABLECOLORS_KEY" update="true">
<column name="`VEHICLE_AVAILABLECOLORS_E_ID`" unique="false"/>
</key>
<list-index column="`VEHICLE_AVAILABLECOLORS_IDX`"/>
@@ -50,7 +50,7 @@
<column not-null="false" unique="false" name="`PERSON_OWNER_E_ID`"/>
</many-to-one>
<list name="manufacturedAt" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="VEHICLE_MANUFACTUREDAT">
+ <key foreign-key="VEHICLE_MANUFACTUREDAT_KEY" update="true">
<column name="`VEHICLE_MANUFACTUREDAT_E_ID`" unique="false"/>
</key>
<list-index column="`VEHICLE_MANUFACTUREDAT_IDX`"/>
@@ -77,7 +77,7 @@
<column not-null="false" unique="false" name="`DATE`"/>
</property>
<array name="touchedAttributes" table="`TEMPORAL_TOUCHEDATTRIBUTES`" cascade="all">
- <key update="true">
+ <key foreign-key="TEMPORAL_TOUCHEDATTRIBUTES_KEY" update="true">
<column name="`TEMPORAL_TOUCHEDATTRIBUTES_E_ID`" unique="false"/>
</key>
<list-index column="`TEMPORAL_TOUCHEDATTRIBUTES_IDX`"/>
@@ -106,14 +106,14 @@
<column not-null="false" unique="false" name="`EMPLOYED`"/>
</property>
<list name="addresses" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PERSON_ADDRESSES">
+ <key foreign-key="PERSON_ADDRESSES_KEY" update="true">
<column name="`PERSON_ADDRESSES_E_ID`" unique="false"/>
</key>
<list-index column="`PERSON_ADDRESSES_IDX`"/>
<one-to-many entity-name="Address"/>
</list>
<list name="ownedVehicles" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="PERSON_OWNEDVEHICLES">
+ <key foreign-key="PERSON_OWNEDVEHICLES_KEY" update="true">
<column name="`PERSON_OWNEDVEHICLES_E_ID`" unique="false"/>
</key>
<list-index column="`PERSON_OWNEDVEHICLES_IDX`"/>
@@ -192,14 +192,14 @@
<column not-null="false" unique="false" name="`ID`"/>
</property>
<list name="vehicles" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="FLEET_VEHICLES">
+ <key foreign-key="FLEET_VEHICLES_KEY" update="true">
<column name="`FLEET_VEHICLES_E_ID`" unique="false"/>
</key>
<list-index column="`FLEET_VEHICLES_IDX`"/>
<one-to-many entity-name="Vehicle"/>
</list>
<list name="vehicleInformation" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="FLEET_VEHICLEINFORMATION">
+ <key foreign-key="FLEET_VEHICLEINFORMATION_KEY" update="true">
<column name="`FLEET_VEHICLEINFORMATION_E_ID`" unique="false"/>
</key>
<list-index column="`FLEET_VEHICLEINFORMATION_IDX`"/>
@@ -213,7 +213,7 @@
<meta attribute="eclassName" inherit="false">Garage</meta>
<meta attribute="epackage" inherit="false">http:///fleet.ecore</meta>
<list name="vehicles" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="GARAGE_VEHICLES">
+ <key foreign-key="GARAGE_VEHICLES_KEY" update="true">
<column name="`GARAGE_VEHICLES_E_ID`" unique="false"/>
</key>
<list-index column="`GARAGE_VEHICLES_IDX`"/>
@@ -275,7 +275,7 @@
<column not-null="false" unique="false" name="`DATE`"/>
</property>
<array name="touchedAttributes" table="`CAR_TOUCHEDATTRIBUTES`" cascade="all">
- <key update="true">
+ <key foreign-key="CAR_TOUCHEDATTRIBUTES_KEY" update="true">
<column name="`CAR_TOUCHEDATTRIBUTES_E_ID`" unique="false"/>
</key>
<list-index column="`CAR_TOUCHEDATTRIBUTES_IDX`"/>
@@ -297,7 +297,7 @@
<column not-null="false" unique="false" name="`NUMTIRES`"/>
</property>
<list name="tires" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="CAR_TIRES">
+ <key foreign-key="CAR_TIRES_KEY" update="true">
<column name="`CAR_TIRES_E_ID`" unique="false"/>
</key>
<list-index column="`CAR_TIRES_IDX`"/>
@@ -338,7 +338,7 @@
<column not-null="false" unique="false" name="`MAKESDIESELENGINES`"/>
</property>
<list name="brands" table="`ENGINEFACTORY_BRANDS`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ENGINEFACTORY_BRANDS_KEY" update="true">
<column name="`ENGINEFACTORY_BRANDS_E_ID`" unique="false"/>
</key>
<list-index column="`ENGINEFACTORY_BRANDS_IDX`"/>
@@ -521,7 +521,7 @@
<column not-null="false" unique="false" name="`LENGTH`"/>
</property>
<list name="availableColors" table="`VEHICLEAUDITING_AVAILABLECOLORSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="VEHICLEAUDITING_AVAILABLECOLORS_KEY" update="true">
<column name="`VEHICLEAUDITING_AVAILABLECOLORS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`VEHICLEAUDITING_AVAILABLECOLORS_IDX`"/>
@@ -531,7 +531,7 @@
<column not-null="false" unique="false" name="`OWNER`"/>
</property>
<list name="manufacturedAt" table="`VEHICLEAUDITING_MANUFACTUREDATAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="VEHICLEAUDITING_MANUFACTUREDAT_KEY" update="true">
<column name="`VEHICLEAUDITING_MANUFACTUREDAT_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`VEHICLEAUDITING_MANUFACTUREDAT_IDX`"/>
@@ -596,7 +596,7 @@
<column not-null="false" unique="false" name="`DATE`"/>
</property>
<array name="touchedAttributes" table="`TEMPORALAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all">
- <key update="true">
+ <key foreign-key="TEMPORALAUDITING_TOUCHEDATTRIBUTES_KEY" update="true">
<column name="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_IDX`"/>
@@ -622,14 +622,14 @@
<column not-null="false" unique="false" name="`EMPLOYED`"/>
</property>
<list name="addresses" table="`PERSONAUDITING_ADDRESSESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PERSONAUDITING_ADDRESSES_KEY" update="true">
<column name="`PERSONAUDITING_ADDRESSES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PERSONAUDITING_ADDRESSES_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="ownedVehicles" table="`PERSONAUDITING_OWNEDVEHICLESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PERSONAUDITING_OWNEDVEHICLES_KEY" update="true">
<column name="`PERSONAUDITING_OWNEDVEHICLES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PERSONAUDITING_OWNEDVEHICLES_IDX`"/>
@@ -784,14 +784,14 @@
<column not-null="false" unique="false" name="`ID`"/>
</property>
<list name="vehicles" table="`FLEETAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FLEETAUDITING_VEHICLES_KEY" update="true">
<column name="`FLEETAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FLEETAUDITING_VEHICLES_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="vehicleInformation" table="`FLEETAUDITING_VEHICLEINFORMATIONAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FLEETAUDITING_VEHICLEINFORMATION_KEY" update="true">
<column name="`FLEETAUDITING_VEHICLEINFORMATION_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FLEETAUDITING_VEHICLEINFORMATION_IDX`"/>
@@ -805,7 +805,7 @@
<meta attribute="eclassName" inherit="false">GarageAuditing</meta>
<meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta>
<list name="vehicles" table="`GARAGEAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="GARAGEAUDITING_VEHICLES_KEY" update="true">
<column name="`GARAGEAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`GARAGEAUDITING_VEHICLES_IDX`"/>
@@ -818,7 +818,7 @@
<column not-null="false" unique="false" name="`ADDRESS`"/>
</property>
<list name="fleetsUsingGarage" table="`GARAGEAUDITING_FLEETSUSINGGARAGEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="GARAGEAUDITING_FLEETSUSINGGARAGE_KEY" update="true">
<column name="`GARAGEAUDITING_FLEETSUSINGGARAGE_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`GARAGEAUDITING_FLEETSUSINGGARAGE_IDX`"/>
@@ -978,7 +978,7 @@
<column not-null="false" unique="false" name="`LENGTH`"/>
</property>
<list name="availableColors" table="`CARAUDITING_AVAILABLECOLORSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARAUDITING_AVAILABLECOLORS_KEY" update="true">
<column name="`CARAUDITING_AVAILABLECOLORS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARAUDITING_AVAILABLECOLORS_IDX`"/>
@@ -988,7 +988,7 @@
<column not-null="false" unique="false" name="`OWNER`"/>
</property>
<list name="manufacturedAt" table="`CARAUDITING_MANUFACTUREDATAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARAUDITING_MANUFACTUREDAT_KEY" update="true">
<column name="`CARAUDITING_MANUFACTUREDAT_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARAUDITING_MANUFACTUREDAT_IDX`"/>
@@ -1001,7 +1001,7 @@
<column not-null="false" unique="false" name="`DATE`"/>
</property>
<array name="touchedAttributes" table="`CARAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all">
- <key update="true">
+ <key foreign-key="CARAUDITING_TOUCHEDATTRIBUTES_KEY" update="true">
<column name="`CARAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARAUDITING_TOUCHEDATTRIBUTES_IDX`"/>
@@ -1020,7 +1020,7 @@
<column not-null="false" unique="false" name="`NUMTIRES`"/>
</property>
<list name="tires" table="`CARAUDITING_TIRESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="CARAUDITING_TIRES_KEY" update="true">
<column name="`CARAUDITING_TIRES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`CARAUDITING_TIRES_IDX`"/>
@@ -1044,7 +1044,7 @@
<column not-null="false" unique="false" name="`MAKESDIESELENGINES`"/>
</property>
<list name="brands" table="`ENGINEFACTORYAUDITING_BRANDSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ENGINEFACTORYAUDITING_BRANDS_KEY" update="true">
<column name="`ENGINEFACTORYAUDITING_BRANDS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ENGINEFACTORYAUDITING_BRANDS_IDX`"/>
@@ -1232,7 +1232,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="versions" table="`VERSIONHOLDERAUDITING_VERSIONSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="VERSIONHOLDERAUDITING_VERSIONS_KEY" update="true">
<column name="`VERSIONHOLDERAUDITING_VERSIONS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`VERSIONHOLDERAUDITING_VERSIONS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_e_o_hibernate.hbm.xml
index 2cda65d6d..3e3e9bb56 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_e_o_hibernate.hbm.xml
@@ -20,14 +20,14 @@
<column not-null="true" unique="false" name="`TITLE`"/>
</property>
<list name="members" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="FORUM_MEMBERS">
+ <key foreign-key="FORUM_MEMBERS_KEY" update="true">
<column name="`FORUM_MEMBERS_E_ID`" unique="false"/>
</key>
<list-index column="`FORUM_MEMBERS_IDX`"/>
<one-to-many entity-name="Member"/>
</list>
<list name="topics" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="FORUM_TOPICS">
+ <key foreign-key="FORUM_TOPICS_KEY" update="true">
<column name="`FORUM_TOPICS_E_ID`" unique="false"/>
</key>
<list-index column="`FORUM_TOPICS_IDX`"/>
@@ -186,14 +186,14 @@
<column not-null="false" unique="false" name="`TITLE`"/>
</property>
<list name="members" table="`FORUMAUDITING_MEMBERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FORUMAUDITING_MEMBERS_KEY" update="true">
<column name="`FORUMAUDITING_MEMBERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FORUMAUDITING_MEMBERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="topics" table="`FORUMAUDITING_TOPICSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FORUMAUDITING_TOPICS_KEY" update="true">
<column name="`FORUMAUDITING_TOPICS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FORUMAUDITING_TOPICS_IDX`"/>
@@ -252,14 +252,14 @@
<column not-null="false" unique="false" name="`NICKNAME`"/>
</property>
<list name="posts" table="`MEMBERAUDITING_POSTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MEMBERAUDITING_POSTS_KEY" update="true">
<column name="`MEMBERAUDITING_POSTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MEMBERAUDITING_POSTS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="created" table="`MEMBERAUDITING_CREATEDAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MEMBERAUDITING_CREATED_KEY" update="true">
<column name="`MEMBERAUDITING_CREATED_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MEMBERAUDITING_CREATED_IDX`"/>
@@ -387,7 +387,7 @@
<column not-null="false" unique="false" name="`CREATOR`"/>
</property>
<list name="posts" table="`TOPICAUDITING_POSTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="TOPICAUDITING_POSTS_KEY" update="true">
<column name="`TOPICAUDITING_POSTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TOPICAUDITING_POSTS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_h_o_hibernate.hbm.xml
index e62705959..690358701 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_hsqldb_h_o_hibernate.hbm.xml
@@ -23,14 +23,14 @@
<column not-null="true" unique="false" name="`TITLE`"/>
</property>
<list name="members" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="FORUM_MEMBERS">
+ <key foreign-key="FORUM_MEMBERS_KEY" update="true">
<column name="`FORUM_MEMBERS_E_ID`" unique="false"/>
</key>
<list-index column="`FORUM_MEMBERS_IDX`"/>
<one-to-many entity-name="Member"/>
</list>
<list name="topics" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="FORUM_TOPICS">
+ <key foreign-key="FORUM_TOPICS_KEY" update="true">
<column name="`FORUM_TOPICS_E_ID`" unique="false"/>
</key>
<list-index column="`FORUM_TOPICS_IDX`"/>
@@ -204,14 +204,14 @@
<column not-null="false" unique="false" name="`TITLE`"/>
</property>
<list name="members" table="`FORUMAUDITING_MEMBERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FORUMAUDITING_MEMBERS_KEY" update="true">
<column name="`FORUMAUDITING_MEMBERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FORUMAUDITING_MEMBERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="topics" table="`FORUMAUDITING_TOPICSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FORUMAUDITING_TOPICS_KEY" update="true">
<column name="`FORUMAUDITING_TOPICS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FORUMAUDITING_TOPICS_IDX`"/>
@@ -273,14 +273,14 @@
<column not-null="false" unique="false" name="`NICKNAME`"/>
</property>
<list name="posts" table="`MEMBERAUDITING_POSTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MEMBERAUDITING_POSTS_KEY" update="true">
<column name="`MEMBERAUDITING_POSTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MEMBERAUDITING_POSTS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="created" table="`MEMBERAUDITING_CREATEDAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MEMBERAUDITING_CREATED_KEY" update="true">
<column name="`MEMBERAUDITING_CREATED_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MEMBERAUDITING_CREATED_IDX`"/>
@@ -414,7 +414,7 @@
<column not-null="false" unique="false" name="`CREATOR`"/>
</property>
<list name="posts" table="`TOPICAUDITING_POSTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="TOPICAUDITING_POSTS_KEY" update="true">
<column name="`TOPICAUDITING_POSTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TOPICAUDITING_POSTS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_e_o_hibernate.hbm.xml
index 668b6faca..0c779c971 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_e_o_hibernate.hbm.xml
@@ -25,13 +25,13 @@
<one-to-many entity-name="PType"/>
</bag>
<bag name="subNOTypes" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="PTYPE_SUBNOTYPES">
+ <key foreign-key="PTYPE_SUBNOTYPES_KEY" update="true">
<column name="`PTYPE_SUBNOTYPES_ID`" unique="false"/>
</key>
<one-to-many entity-name="PType"/>
</bag>
<bag name="infoReferences" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="PTYPE_INFOREFERENCES">
+ <key foreign-key="PTYPE_INFOREFERENCES_KEY" update="true">
<column name="`PTYPE_INFOREFERENCES_ID`" unique="false"/>
</key>
<one-to-many entity-name="PDeclaration"/>
@@ -129,19 +129,19 @@
<column not-null="false" unique="false" name="`BASE`"/>
</property>
<bag name="subTypes" table="`PTYPEAUDITING_SUBTYPESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PTYPEAUDITING_SUBTYPES_KEY" update="true">
<column name="`PTYPEAUDITING_SUBTYPES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<element type="java.lang.String"/>
</bag>
<bag name="subNOTypes" table="`PTYPEAUDITING_SUBNOTYPESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PTYPEAUDITING_SUBNOTYPES_KEY" update="true">
<column name="`PTYPEAUDITING_SUBNOTYPES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<element type="java.lang.String"/>
</bag>
<list name="infoReferences" table="`PTYPEAUDITING_INFOREFERENCESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PTYPEAUDITING_INFOREFERENCES_KEY" update="true">
<column name="`PTYPEAUDITING_INFOREFERENCES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PTYPEAUDITING_INFOREFERENCES_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_h_o_hibernate.hbm.xml
index bac17f33b..009a2c9d0 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_hsqldb_h_o_hibernate.hbm.xml
@@ -28,13 +28,13 @@
<one-to-many entity-name="PType"/>
</bag>
<bag name="subNOTypes" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="PTYPE_SUBNOTYPES">
+ <key foreign-key="PTYPE_SUBNOTYPES_KEY" update="true">
<column name="`PTYPE_SUBNOTYPES_ID`" unique="false"/>
</key>
<one-to-many entity-name="PType"/>
</bag>
<bag name="infoReferences" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="PTYPE_INFOREFERENCES">
+ <key foreign-key="PTYPE_INFOREFERENCES_KEY" update="true">
<column name="`PTYPE_INFOREFERENCES_ID`" unique="false"/>
</key>
<one-to-many entity-name="PDeclaration"/>
@@ -141,19 +141,19 @@
<column not-null="false" unique="false" name="`BASE`"/>
</property>
<bag name="subTypes" table="`PTYPEAUDITING_SUBTYPESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PTYPEAUDITING_SUBTYPES_KEY" update="true">
<column name="`PTYPEAUDITING_SUBTYPES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<element type="java.lang.String"/>
</bag>
<bag name="subNOTypes" table="`PTYPEAUDITING_SUBNOTYPESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PTYPEAUDITING_SUBNOTYPES_KEY" update="true">
<column name="`PTYPEAUDITING_SUBNOTYPES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<element type="java.lang.String"/>
</bag>
<list name="infoReferences" table="`PTYPEAUDITING_INFOREFERENCESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PTYPEAUDITING_INFOREFERENCES_KEY" update="true">
<column name="`PTYPEAUDITING_INFOREFERENCES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PTYPEAUDITING_INFOREFERENCES_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml
index d249022ec..599c3198c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml
@@ -69,7 +69,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="library" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="BOOKSINLIB_LIBRARY">
+ <key foreign-key="BOOKSINLIB_LIBRARY_KEY" update="true">
<column name="`BOOKSINLIB_LIBRARY_E_ID`" unique="false"/>
</key>
<list-index column="`BOOKSINLIB_LIBRARY_IDX`"/>
@@ -105,14 +105,14 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="library" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_LIBRARY">
+ <key foreign-key="LIBRARY_LIBRARY_KEY" update="true">
<column name="`LIBRARY_LIBRARY_UNIQUENAME`" unique="false"/>
</key>
<list-index column="`LIBRARY_LIBRARY_IDX`"/>
<one-to-many entity-name="Library"/>
</list>
<list name="abstractBookDefinitionGroup" table="`LIBRARY_ABSTRACTBOOKDEFINITIONGROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="LIBRARY_ABSTRACTBOOKDEFINITIONGROUP_KEY" update="true">
<column name="`LIBRARY_ABSTRACTBOOKDEFINITIONGROUP_UNIQUENAME`" unique="false"/>
</key>
<list-index column="`LIBRARY_ABSTRACTBOOKDEFINITIONGROUP_IDX`"/>
@@ -350,7 +350,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="library" table="`BOOKSINLIBAUDITING_LIBRARYAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="BOOKSINLIBAUDITING_LIBRARY_KEY" update="true">
<column name="`BOOKSINLIBAUDITING_LIBRARY_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`BOOKSINLIBAUDITING_LIBRARY_IDX`"/>
@@ -518,14 +518,14 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="library" table="`LIBRARYAUDITING_LIBRARYAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_LIBRARY_KEY" update="true">
<column name="`LIBRARYAUDITING_LIBRARY_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_LIBRARY_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="abstractBookDefinitionGroup" table="`LIBRARYAUDITING_ABSTRACTBOOKDEFINITIONGROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_ABSTRACTBOOKDEFINITIONGROUP_KEY" update="true">
<column name="`LIBRARYAUDITING_ABSTRACTBOOKDEFINITIONGROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_ABSTRACTBOOKDEFINITIONGROUP_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml
index 493a8036d..7fe7ecb01 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml
@@ -72,7 +72,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="library" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="BOOKSINLIB_LIBRARY">
+ <key foreign-key="BOOKSINLIB_LIBRARY_KEY" update="true">
<column name="`BOOKSINLIB_LIBRARY_E_ID`" unique="false"/>
</key>
<list-index column="`BOOKSINLIB_LIBRARY_IDX`"/>
@@ -108,14 +108,14 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="library" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_LIBRARY">
+ <key foreign-key="LIBRARY_LIBRARY_KEY" update="true">
<column name="`LIBRARY_LIBRARY_UNIQUENAME`" unique="false"/>
</key>
<list-index column="`LIBRARY_LIBRARY_IDX`"/>
<one-to-many entity-name="Library"/>
</list>
<list name="abstractBookDefinitionGroup" table="`LIBRARY_ABSTRACTBOOKDEFINITIONGROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="LIBRARY_ABSTRACTBOOKDEFINITIONGROUP_KEY" update="true">
<column name="`LIBRARY_ABSTRACTBOOKDEFINITIONGROUP_UNIQUENAME`" unique="false"/>
</key>
<list-index column="`LIBRARY_ABSTRACTBOOKDEFINITIONGROUP_IDX`"/>
@@ -356,7 +356,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="library" table="`BOOKSINLIBAUDITING_LIBRARYAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="BOOKSINLIBAUDITING_LIBRARY_KEY" update="true">
<column name="`BOOKSINLIBAUDITING_LIBRARY_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`BOOKSINLIBAUDITING_LIBRARY_IDX`"/>
@@ -524,14 +524,14 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="library" table="`LIBRARYAUDITING_LIBRARYAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_LIBRARY_KEY" update="true">
<column name="`LIBRARYAUDITING_LIBRARY_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_LIBRARY_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="abstractBookDefinitionGroup" table="`LIBRARYAUDITING_ABSTRACTBOOKDEFINITIONGROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_ABSTRACTBOOKDEFINITIONGROUP_KEY" update="true">
<column name="`LIBRARYAUDITING_ABSTRACTBOOKDEFINITIONGROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_ABSTRACTBOOKDEFINITIONGROUP_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_e_o_hibernate.hbm.xml
index ea53602e1..cee2372a7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRJ_KY" update="true">
<column name="`LB_WR_D`" unique="false"/>
</key>
<list-index column="`TST_INDX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LBRR_BKS">
+ <key foreign-key="LB_BK_KY" update="true">
<column name="`LB_BK_D`" unique="false"/>
</key>
<list-index column="`LB_BK_DX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_h_o_hibernate.hbm.xml
index 95e3677e4..e8d3b2b0d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRJ_KY" update="true">
<column name="`LB_WR_D`" unique="false"/>
</key>
<list-index column="`TST_INDX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LBRR_BKS">
+ <key foreign-key="LB_BK_KY" update="true">
<column name="`LB_BK_D`" unique="false"/>
</key>
<list-index column="`LB_BK_DX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_e_o_hibernate.hbm.xml
index 6da4a15a8..6f12145fe 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_e_o_hibernate.hbm.xml
@@ -51,14 +51,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRI" update="true">
<column name="`LI_ID`" unique="false"/>
</key>
<list-index column="`TEST_`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRA" update="true">
<column name="`LI_ID`" unique="false"/>
</key>
<list-index column="`L_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_h_o_hibernate.hbm.xml
index 98a710e0d..a6176072d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_hsqldb_h_o_hibernate.hbm.xml
@@ -57,14 +57,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRI" update="true">
<column name="`LI_ID`" unique="false"/>
</key>
<list-index column="`TEST_`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRA" update="true">
<column name="`LI_ID`" unique="false"/>
</key>
<list-index column="`L_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_e_o_hibernate.hbm.xml
index 6f62deec7..9e9fb5076 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_h_o_hibernate.hbm.xml
index 0fceaba5e..8074f10aa 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_e_o_hibernate.hbm.xml
index 6f62deec7..9e9fb5076 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_h_o_hibernate.hbm.xml
index 0fceaba5e..8074f10aa 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_e_o_hibernate.hbm.xml
index 4a0d71bb8..264831a40 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_e_o_hibernate.hbm.xml
@@ -50,7 +50,7 @@
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
@@ -58,7 +58,7 @@
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -232,14 +232,14 @@
<column not-null="false" unique="false" name="`NAME`" length="50"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -299,7 +299,7 @@
<column not-null="false" unique="false" name="`NAME`" length="50"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_h_o_hibernate.hbm.xml
index a36bd988d..0915ca94c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_hsqldb_h_o_hibernate.hbm.xml
@@ -56,7 +56,7 @@
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
@@ -64,7 +64,7 @@
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -250,14 +250,14 @@
<column not-null="false" unique="false" name="`NAME`" length="50"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -320,7 +320,7 @@
<column not-null="false" unique="false" name="`NAME`" length="50"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_e_o_hibernate.hbm.xml
index 6b20fe717..cb524e4de 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="false" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="false" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="false" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="false" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="false" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_h_o_hibernate.hbm.xml
index 7cf01b826..d8f666c56 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="false" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="false" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="false" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="false" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="false" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_e_o_hibernate.hbm.xml
index 75c5e18da..12f81f700 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_e_o_hibernate.hbm.xml
@@ -55,14 +55,14 @@
</property>
<bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Writer"/>
</bag>
<bag name="books" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Book"/>
@@ -236,14 +236,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -303,7 +303,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml
index d13ac2927..7c7472ae7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml
@@ -61,14 +61,14 @@
</property>
<bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Writer"/>
</bag>
<bag name="books" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Book"/>
@@ -254,14 +254,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -324,7 +324,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_e_o_hibernate.hbm.xml
index 7bbf754b1..59ff43554 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,13 +47,13 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Writer"/>
</bag>
<bag name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Book"/>
@@ -220,14 +220,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -286,7 +286,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_h_o_hibernate.hbm.xml
index 29e30c690..77e804d64 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,13 +53,13 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Writer"/>
</bag>
<bag name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Book"/>
@@ -238,14 +238,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -307,7 +307,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_e_o_hibernate.hbm.xml
index 6f62deec7..9e9fb5076 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_h_o_hibernate.hbm.xml
index 0fceaba5e..8074f10aa 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_e_o_hibernate.hbm.xml
index 6f62deec7..9e9fb5076 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_h_o_hibernate.hbm.xml
index 0fceaba5e..8074f10aa 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_e_o_hibernate.hbm.xml
index 69a893170..e834d1e83 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="library.Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`LIBRARYAUDITING_WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_h_o_hibernate.hbm.xml
index 29002c577..5eeb14d5a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="library.Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`LIBRARYAUDITING_WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml
index 6f62deec7..9e9fb5076 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml
index 0fceaba5e..8074f10aa 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_e_o_hibernate.hbm.xml
index 21b35d211..d425c2b29 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="persist,merge,delete,refresh,save-update,lock">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="persist,merge,delete,refresh,save-update,lock">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_h_o_hibernate.hbm.xml
index d96fe7d00..189da8ef0 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="persist,merge,delete,refresh,save-update,lock">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="persist,merge,delete,refresh,save-update,lock">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_e_o_hibernate.hbm.xml
index 6f62deec7..9e9fb5076 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_h_o_hibernate.hbm.xml
index 0fceaba5e..8074f10aa 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_e_o_hibernate.hbm.xml
index 6f62deec7..9e9fb5076 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_h_o_hibernate.hbm.xml
index 0fceaba5e..8074f10aa 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_e_o_hibernate.hbm.xml
index eb3546c34..62efc1fdd 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_e_o_hibernate.hbm.xml
@@ -16,7 +16,7 @@
<collection-id column="ID" type="long">
<generator class="increment"/>
</collection-id>
- <key update="true">
+ <key foreign-key="ONE_MANIES_KEY" update="true">
<column name="`ONE_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="Many" unique="false" foreign-key="ONE_MANIES">
@@ -107,7 +107,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ONEAUDITING_MANIES_KEY" update="true">
<column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ONEAUDITING_MANIES_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_h_o_hibernate.hbm.xml
index 80cd34ef1..1f97cda4d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_hsqldb_h_o_hibernate.hbm.xml
@@ -19,7 +19,7 @@
<collection-id column="ID" type="long">
<generator class="increment"/>
</collection-id>
- <key update="true">
+ <key foreign-key="ONE_MANIES_KEY" update="true">
<column name="`ONE_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="Many" unique="false" foreign-key="ONE_MANIES">
@@ -119,7 +119,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ONEAUDITING_MANIES_KEY" update="true">
<column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ONEAUDITING_MANIES_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_e_o_hibernate.hbm.xml
index 639fdb59b..dbfa13479 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_e_o_hibernate.hbm.xml
@@ -21,21 +21,21 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="rootTopics" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="MAP_ROOTTOPICS">
+ <key foreign-key="MAP_ROOTTOPICS_KEY" update="true">
<column name="`MAP_ROOTTOPICS_E_ID`" unique="false"/>
</key>
<list-index column="`MAP_ROOTTOPICS_IDX`"/>
<one-to-many entity-name="Topic"/>
</list>
<list name="relations" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="MAP_RELATIONS">
+ <key foreign-key="MAP_RELATIONS_KEY" update="true">
<column name="`MAP_RELATIONS_E_ID`" unique="false"/>
</key>
<list-index column="`MAP_RELATIONS_IDX`"/>
<one-to-many entity-name="Relationship"/>
</list>
<list name="resources" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="MAP_RESOURCES">
+ <key foreign-key="MAP_RESOURCES_KEY" update="true">
<column name="`MAP_RESOURCES_E_ID`" unique="false"/>
</key>
<list-index column="`MAP_RESOURCES_IDX`"/>
@@ -117,7 +117,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="items" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="THREAD_ITEMS">
+ <key foreign-key="THREAD_ITEMS_KEY" update="true">
<column name="`THREAD_ITEMS_E_ID`" unique="false"/>
</key>
<list-index column="`THREAD_ITEMS_IDX`"/>
@@ -164,7 +164,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="comments" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="TOPIC_COMMENTS">
+ <key foreign-key="TOPIC_COMMENTS_KEY" update="true">
<column name="`TOPIC_COMMENTS_E_ID`" unique="false"/>
</key>
<list-index column="`TOPIC_COMMENTS_IDX`"/>
@@ -203,7 +203,7 @@
<column not-null="false" unique="false" name="`STARTDATE`"/>
</property>
<list name="subtopics" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="TOPIC_SUBTOPICS">
+ <key foreign-key="TOPIC_SUBTOPICS_KEY" update="true">
<column name="`TOPIC_SUBTOPICS_E_ID`" unique="false"/>
</key>
<list-index column="`TOPIC_SUBTOPICS_IDX`"/>
@@ -348,21 +348,21 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="rootTopics" table="`MAPAUDITING_ROOTTOPICSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MAPAUDITING_ROOTTOPICS_KEY" update="true">
<column name="`MAPAUDITING_ROOTTOPICS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MAPAUDITING_ROOTTOPICS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="relations" table="`MAPAUDITING_RELATIONSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MAPAUDITING_RELATIONS_KEY" update="true">
<column name="`MAPAUDITING_RELATIONS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MAPAUDITING_RELATIONS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="resources" table="`MAPAUDITING_RESOURCESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MAPAUDITING_RESOURCES_KEY" update="true">
<column name="`MAPAUDITING_RESOURCES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MAPAUDITING_RESOURCES_IDX`"/>
@@ -487,7 +487,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="comments" table="`RESOURCEAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RESOURCEAUDITING_COMMENTS_KEY" update="true">
<column name="`RESOURCEAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RESOURCEAUDITING_COMMENTS_IDX`"/>
@@ -500,7 +500,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="topics" table="`RESOURCEAUDITING_TOPICSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RESOURCEAUDITING_TOPICS_KEY" update="true">
<column name="`RESOURCEAUDITING_TOPICS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RESOURCEAUDITING_TOPICS_IDX`"/>
@@ -556,7 +556,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="items" table="`THREADAUDITING_ITEMSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="THREADAUDITING_ITEMS_KEY" update="true">
<column name="`THREADAUDITING_ITEMS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`THREADAUDITING_ITEMS_IDX`"/>
@@ -679,7 +679,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="comments" table="`TOPICAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="TOPICAUDITING_COMMENTS_KEY" update="true">
<column name="`TOPICAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TOPICAUDITING_COMMENTS_IDX`"/>
@@ -706,7 +706,7 @@
</type>
</property>
<list name="resources" table="`TOPICAUDITING_RESOURCESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="TOPICAUDITING_RESOURCES_KEY" update="true">
<column name="`TOPICAUDITING_RESOURCES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TOPICAUDITING_RESOURCES_IDX`"/>
@@ -716,7 +716,7 @@
<column not-null="false" unique="false" name="`STARTDATE`"/>
</property>
<list name="subtopics" table="`TOPICAUDITING_SUBTOPICSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="TOPICAUDITING_SUBTOPICS_KEY" update="true">
<column name="`TOPICAUDITING_SUBTOPICS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TOPICAUDITING_SUBTOPICS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml
index 18504b189..868de0d54 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml
@@ -24,21 +24,21 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="rootTopics" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="MAP_ROOTTOPICS">
+ <key foreign-key="MAP_ROOTTOPICS_KEY" update="true">
<column name="`MAP_ROOTTOPICS_E_ID`" unique="false"/>
</key>
<list-index column="`MAP_ROOTTOPICS_IDX`"/>
<one-to-many entity-name="Topic"/>
</list>
<list name="relations" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="MAP_RELATIONS">
+ <key foreign-key="MAP_RELATIONS_KEY" update="true">
<column name="`MAP_RELATIONS_E_ID`" unique="false"/>
</key>
<list-index column="`MAP_RELATIONS_IDX`"/>
<one-to-many entity-name="Relationship"/>
</list>
<list name="resources" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="MAP_RESOURCES">
+ <key foreign-key="MAP_RESOURCES_KEY" update="true">
<column name="`MAP_RESOURCES_E_ID`" unique="false"/>
</key>
<list-index column="`MAP_RESOURCES_IDX`"/>
@@ -129,7 +129,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="items" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="THREAD_ITEMS">
+ <key foreign-key="THREAD_ITEMS_KEY" update="true">
<column name="`THREAD_ITEMS_E_ID`" unique="false"/>
</key>
<list-index column="`THREAD_ITEMS_IDX`"/>
@@ -182,7 +182,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="comments" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="TOPIC_COMMENTS">
+ <key foreign-key="TOPIC_COMMENTS_KEY" update="true">
<column name="`TOPIC_COMMENTS_E_ID`" unique="false"/>
</key>
<list-index column="`TOPIC_COMMENTS_IDX`"/>
@@ -221,7 +221,7 @@
<column not-null="false" unique="false" name="`STARTDATE`"/>
</property>
<list name="subtopics" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="TOPIC_SUBTOPICS">
+ <key foreign-key="TOPIC_SUBTOPICS_KEY" update="true">
<column name="`TOPIC_SUBTOPICS_E_ID`" unique="false"/>
</key>
<list-index column="`TOPIC_SUBTOPICS_IDX`"/>
@@ -372,21 +372,21 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="rootTopics" table="`MAPAUDITING_ROOTTOPICSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MAPAUDITING_ROOTTOPICS_KEY" update="true">
<column name="`MAPAUDITING_ROOTTOPICS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MAPAUDITING_ROOTTOPICS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="relations" table="`MAPAUDITING_RELATIONSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MAPAUDITING_RELATIONS_KEY" update="true">
<column name="`MAPAUDITING_RELATIONS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MAPAUDITING_RELATIONS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="resources" table="`MAPAUDITING_RESOURCESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="MAPAUDITING_RESOURCES_KEY" update="true">
<column name="`MAPAUDITING_RESOURCES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MAPAUDITING_RESOURCES_IDX`"/>
@@ -517,7 +517,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="comments" table="`RESOURCEAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RESOURCEAUDITING_COMMENTS_KEY" update="true">
<column name="`RESOURCEAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RESOURCEAUDITING_COMMENTS_IDX`"/>
@@ -530,7 +530,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="topics" table="`RESOURCEAUDITING_TOPICSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RESOURCEAUDITING_TOPICS_KEY" update="true">
<column name="`RESOURCEAUDITING_TOPICS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RESOURCEAUDITING_TOPICS_IDX`"/>
@@ -589,7 +589,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="items" table="`THREADAUDITING_ITEMSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="THREADAUDITING_ITEMS_KEY" update="true">
<column name="`THREADAUDITING_ITEMS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`THREADAUDITING_ITEMS_IDX`"/>
@@ -718,7 +718,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="comments" table="`TOPICAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="TOPICAUDITING_COMMENTS_KEY" update="true">
<column name="`TOPICAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TOPICAUDITING_COMMENTS_IDX`"/>
@@ -745,7 +745,7 @@
</type>
</property>
<list name="resources" table="`TOPICAUDITING_RESOURCESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="TOPICAUDITING_RESOURCES_KEY" update="true">
<column name="`TOPICAUDITING_RESOURCES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TOPICAUDITING_RESOURCES_IDX`"/>
@@ -755,7 +755,7 @@
<column not-null="false" unique="false" name="`STARTDATE`"/>
</property>
<list name="subtopics" table="`TOPICAUDITING_SUBTOPICSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="TOPICAUDITING_SUBTOPICS_KEY" update="true">
<column name="`TOPICAUDITING_SUBTOPICS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`TOPICAUDITING_SUBTOPICS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_e_o_hibernate.hbm.xml
index f3bbff1ee..bc9ef16a2 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_e_o_hibernate.hbm.xml
@@ -50,7 +50,7 @@
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="LIBRARY_WRITERS_E_ID" unique="false"/>
</key>
<list-index column="TEST_INDEX"/>
@@ -58,7 +58,7 @@
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="LIBRARY_BOOKS_E_ID" unique="false"/>
</key>
<list-index column="LIBRARY_BOOKS_IDX"/>
@@ -232,14 +232,14 @@
<column not-null="false" unique="false" name="NAME" length="50"/>
</property>
<list name="writers" table="LIBRARYAUDITING_WRITERSAUDITING" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID" unique="false"/>
</key>
<list-index column="LIBRARYAUDITING_WRITERS_IDX"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="LIBRARYAUDITING_BOOKSAUDITING" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID" unique="false"/>
</key>
<list-index column="LIBRARYAUDITING_BOOKS_IDX"/>
@@ -299,7 +299,7 @@
<column not-null="false" unique="false" name="NAME" length="50"/>
</property>
<list name="books" table="WRITERAUDITING_BOOKSAUDITING" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="WRITERAUDITING_BOOKS_TENEO_AUDIT_ID" unique="false"/>
</key>
<list-index column="WRITERAUDITING_BOOKS_IDX"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_h_o_hibernate.hbm.xml
index c2aeeb14c..a8bdb5cea 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_hsqldb_h_o_hibernate.hbm.xml
@@ -56,7 +56,7 @@
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="LIBRARY_WRITERS_E_ID" unique="false"/>
</key>
<list-index column="TEST_INDEX"/>
@@ -64,7 +64,7 @@
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="LIBRARY_BOOKS_E_ID" unique="false"/>
</key>
<list-index column="LIBRARY_BOOKS_IDX"/>
@@ -250,14 +250,14 @@
<column not-null="false" unique="false" name="NAME" length="50"/>
</property>
<list name="writers" table="LIBRARYAUDITING_WRITERSAUDITING" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID" unique="false"/>
</key>
<list-index column="LIBRARYAUDITING_WRITERS_IDX"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="LIBRARYAUDITING_BOOKSAUDITING" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID" unique="false"/>
</key>
<list-index column="LIBRARYAUDITING_BOOKS_IDX"/>
@@ -320,7 +320,7 @@
<column not-null="false" unique="false" name="NAME" length="50"/>
</property>
<list name="books" table="WRITERAUDITING_BOOKSAUDITING" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="WRITERAUDITING_BOOKS_TENEO_AUDIT_ID" unique="false"/>
</key>
<list-index column="WRITERAUDITING_BOOKS_IDX"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_e_o_hibernate.hbm.xml
index f015280a9..78ad842d0 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_e_o_hibernate.hbm.xml
@@ -13,7 +13,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="scene" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="ACTTYPE_SCENE">
+ <key foreign-key="ACTTYPE_SCENE_KEY" update="true">
<column name="`ACTTYPE_SCENE_E_ID`" unique="false"/>
</key>
<list-index column="`ACTTYPE_SCENE_IDX`"/>
@@ -37,7 +37,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="p" table="`FMTYPE_P`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FMTYPE_P_KEY" update="true">
<column name="`FMTYPE_P_E_ID`" unique="false"/>
</key>
<list-index column="`FMTYPE_P_IDX`"/>
@@ -55,7 +55,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="group" table="`PERSONAETYPE_GROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PERSONAETYPE_GROUP_KEY" update="true">
<column name="`PERSONAETYPE_GROUP_E_ID`" unique="false"/>
</key>
<list-index column="`PERSONAETYPE_GROUP_IDX`"/>
@@ -92,7 +92,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="persona" table="`PERSONAGROUPTYPE_PERSONA`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PERSONAGROUPTYPE_PERSONA_KEY" update="true">
<column name="`PERSONAGROUPTYPE_PERSONA_E_ID`" unique="false"/>
</key>
<list-index column="`PERSONAGROUPTYPE_PERSONA_IDX`"/>
@@ -128,7 +128,7 @@
<column not-null="true" unique="false" name="`PLAYSUBTITLE`"/>
</property>
<list name="act" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PLAYTYPE_ACT">
+ <key foreign-key="PLAYTYPE_ACT_KEY" update="true">
<column name="`PLAYTYPE_ACT_E_ID`" unique="false"/>
</key>
<list-index column="`PLAYTYPE_ACT_IDX`"/>
@@ -146,7 +146,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="group" table="`SCENETYPE_GROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="SCENETYPE_GROUP_KEY" update="true">
<column name="`SCENETYPE_GROUP_E_ID`" unique="false"/>
</key>
<list-index column="`SCENETYPE_GROUP_IDX`"/>
@@ -186,7 +186,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="group" table="`SPEECHTYPE_GROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="SPEECHTYPE_GROUP_KEY" update="true">
<column name="`SPEECHTYPE_GROUP_E_ID`" unique="false"/>
</key>
<list-index column="`SPEECHTYPE_GROUP_IDX`"/>
@@ -281,7 +281,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="scene" table="`ACTTYPEAUDITING_SCENEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ACTTYPEAUDITING_SCENE_KEY" update="true">
<column name="`ACTTYPEAUDITING_SCENE_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ACTTYPEAUDITING_SCENE_IDX`"/>
@@ -502,7 +502,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="p" table="`FMTYPEAUDITING_PAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FMTYPEAUDITING_P_KEY" update="true">
<column name="`FMTYPEAUDITING_P_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FMTYPEAUDITING_P_IDX`"/>
@@ -558,7 +558,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="group" table="`PERSONAETYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PERSONAETYPEAUDITING_GROUP_KEY" update="true">
<column name="`PERSONAETYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PERSONAETYPEAUDITING_GROUP_IDX`"/>
@@ -633,7 +633,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="persona" table="`PERSONAGROUPTYPEAUDITING_PERSONAAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PERSONAGROUPTYPEAUDITING_PERSONA_KEY" update="true">
<column name="`PERSONAGROUPTYPEAUDITING_PERSONA_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PERSONAGROUPTYPEAUDITING_PERSONA_IDX`"/>
@@ -707,7 +707,7 @@
<column not-null="false" unique="false" name="`PLAYSUBTITLE`"/>
</property>
<list name="act" table="`PLAYTYPEAUDITING_ACTAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PLAYTYPEAUDITING_ACT_KEY" update="true">
<column name="`PLAYTYPEAUDITING_ACT_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PLAYTYPEAUDITING_ACT_IDX`"/>
@@ -763,7 +763,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="group" table="`SCENETYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="SCENETYPEAUDITING_GROUP_KEY" update="true">
<column name="`SCENETYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`SCENETYPEAUDITING_GROUP_IDX`"/>
@@ -841,7 +841,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="group" table="`SPEECHTYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="SPEECHTYPEAUDITING_GROUP_KEY" update="true">
<column name="`SPEECHTYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`SPEECHTYPEAUDITING_GROUP_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_h_o_hibernate.hbm.xml
index 221e80e19..7f2cb7933 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_hsqldb_h_o_hibernate.hbm.xml
@@ -16,7 +16,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="scene" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="ACTTYPE_SCENE">
+ <key foreign-key="ACTTYPE_SCENE_KEY" update="true">
<column name="`ACTTYPE_SCENE_E_ID`" unique="false"/>
</key>
<list-index column="`ACTTYPE_SCENE_IDX`"/>
@@ -43,7 +43,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="p" table="`FMTYPE_P`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FMTYPE_P_KEY" update="true">
<column name="`FMTYPE_P_E_ID`" unique="false"/>
</key>
<list-index column="`FMTYPE_P_IDX`"/>
@@ -64,7 +64,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="group" table="`PERSONAETYPE_GROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PERSONAETYPE_GROUP_KEY" update="true">
<column name="`PERSONAETYPE_GROUP_E_ID`" unique="false"/>
</key>
<list-index column="`PERSONAETYPE_GROUP_IDX`"/>
@@ -104,7 +104,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="persona" table="`PERSONAGROUPTYPE_PERSONA`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PERSONAGROUPTYPE_PERSONA_KEY" update="true">
<column name="`PERSONAGROUPTYPE_PERSONA_E_ID`" unique="false"/>
</key>
<list-index column="`PERSONAGROUPTYPE_PERSONA_IDX`"/>
@@ -143,7 +143,7 @@
<column not-null="true" unique="false" name="`PLAYSUBTITLE`"/>
</property>
<list name="act" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PLAYTYPE_ACT">
+ <key foreign-key="PLAYTYPE_ACT_KEY" update="true">
<column name="`PLAYTYPE_ACT_E_ID`" unique="false"/>
</key>
<list-index column="`PLAYTYPE_ACT_IDX`"/>
@@ -164,7 +164,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="group" table="`SCENETYPE_GROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="SCENETYPE_GROUP_KEY" update="true">
<column name="`SCENETYPE_GROUP_E_ID`" unique="false"/>
</key>
<list-index column="`SCENETYPE_GROUP_IDX`"/>
@@ -207,7 +207,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="group" table="`SPEECHTYPE_GROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="SPEECHTYPE_GROUP_KEY" update="true">
<column name="`SPEECHTYPE_GROUP_E_ID`" unique="false"/>
</key>
<list-index column="`SPEECHTYPE_GROUP_IDX`"/>
@@ -308,7 +308,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="scene" table="`ACTTYPEAUDITING_SCENEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="ACTTYPEAUDITING_SCENE_KEY" update="true">
<column name="`ACTTYPEAUDITING_SCENE_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ACTTYPEAUDITING_SCENE_IDX`"/>
@@ -532,7 +532,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="p" table="`FMTYPEAUDITING_PAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="FMTYPEAUDITING_P_KEY" update="true">
<column name="`FMTYPEAUDITING_P_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`FMTYPEAUDITING_P_IDX`"/>
@@ -591,7 +591,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="group" table="`PERSONAETYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PERSONAETYPEAUDITING_GROUP_KEY" update="true">
<column name="`PERSONAETYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PERSONAETYPEAUDITING_GROUP_IDX`"/>
@@ -669,7 +669,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="persona" table="`PERSONAGROUPTYPEAUDITING_PERSONAAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PERSONAGROUPTYPEAUDITING_PERSONA_KEY" update="true">
<column name="`PERSONAGROUPTYPEAUDITING_PERSONA_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PERSONAGROUPTYPEAUDITING_PERSONA_IDX`"/>
@@ -746,7 +746,7 @@
<column not-null="false" unique="false" name="`PLAYSUBTITLE`"/>
</property>
<list name="act" table="`PLAYTYPEAUDITING_ACTAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PLAYTYPEAUDITING_ACT_KEY" update="true">
<column name="`PLAYTYPEAUDITING_ACT_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PLAYTYPEAUDITING_ACT_IDX`"/>
@@ -805,7 +805,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="group" table="`SCENETYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="SCENETYPEAUDITING_GROUP_KEY" update="true">
<column name="`SCENETYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`SCENETYPEAUDITING_GROUP_IDX`"/>
@@ -886,7 +886,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="group" table="`SPEECHTYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="SPEECHTYPEAUDITING_GROUP_KEY" update="true">
<column name="`SPEECHTYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`SPEECHTYPEAUDITING_GROUP_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_e_o_hibernate.hbm.xml
index 03a179525..79ed0c5bb 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_e_o_hibernate.hbm.xml
@@ -51,7 +51,7 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
<list name="items" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PURCHASEORDER_ITEMS">
+ <key foreign-key="PURCHASEORDER_ITEMS_KEY" update="true">
<column name="`PURCHASEORDER_ITEMS_E_ID`" unique="false"/>
</key>
<list-index column="`PURCHASEORDER_ITEMS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
<list name="items" table="`PURCHASEORDERAUDITING_ITEMSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PURCHASEORDERAUDITING_ITEMS_KEY" update="true">
<column name="`PURCHASEORDERAUDITING_ITEMS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PURCHASEORDERAUDITING_ITEMS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_h_o_hibernate.hbm.xml
index 855aa2d09..0d77ac27b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_hsqldb_h_o_hibernate.hbm.xml
@@ -57,7 +57,7 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
<list name="items" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PURCHASEORDER_ITEMS">
+ <key foreign-key="PURCHASEORDER_ITEMS_KEY" update="true">
<column name="`PURCHASEORDER_ITEMS_E_ID`" unique="false"/>
</key>
<list-index column="`PURCHASEORDER_ITEMS_IDX`"/>
@@ -328,7 +328,7 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
<list name="items" table="`PURCHASEORDERAUDITING_ITEMSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PURCHASEORDERAUDITING_ITEMS_KEY" update="true">
<column name="`PURCHASEORDERAUDITING_ITEMS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PURCHASEORDERAUDITING_ITEMS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_e_o_hibernate.hbm.xml
index 217874006..d4aa83947 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_e_o_hibernate.hbm.xml
@@ -28,7 +28,7 @@
<column not-null="false" unique="false" name="`ANYONE_ID`"/>
</any>
<list name="AnyList" table="`PRODUCTTYPE_ANYLIST`" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PRODUCTTYPE_ANYLIST">
+ <key foreign-key="PRODUCTTYPE_ANYLIST_KEY" update="true">
<column name="`PRODUCTTYPE_ID`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPE_ANYLIST_IDX`"/>
@@ -156,7 +156,7 @@
<column not-null="false" unique="false" name="`ANYONE`"/>
</property>
<list name="AnyList" table="`PRODUCTTYPEAUDITING_ANYLISTAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PRODUCTTYPEAUDITING_ANYLIST_KEY" update="true">
<column name="`PRODUCTTYPEAUDITING_ANYLIST_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPEAUDITING_ANYLIST_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_h_o_hibernate.hbm.xml
index d86b902bd..7ed5c51c2 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_hsqldb_h_o_hibernate.hbm.xml
@@ -31,7 +31,7 @@
<column not-null="false" unique="false" name="`ANYONE_ID`"/>
</any>
<list name="AnyList" table="`PRODUCTTYPE_ANYLIST`" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="PRODUCTTYPE_ANYLIST">
+ <key foreign-key="PRODUCTTYPE_ANYLIST_KEY" update="true">
<column name="`PRODUCTTYPE_ID`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPE_ANYLIST_IDX`"/>
@@ -171,7 +171,7 @@
<column not-null="false" unique="false" name="`ANYONE`"/>
</property>
<list name="AnyList" table="`PRODUCTTYPEAUDITING_ANYLISTAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="PRODUCTTYPEAUDITING_ANYLIST_KEY" update="true">
<column name="`PRODUCTTYPEAUDITING_ANYLIST_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPEAUDITING_ANYLIST_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml
index d7a292170..cca075a61 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml
@@ -90,7 +90,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="RENTALCONTRACT_RENTALUNITS">
+ <key foreign-key="RENTALCONTRACT_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACT_RENTALUNITS_E_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACT_RENTALUNITS_IDX`"/>
@@ -335,7 +335,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" table="`RENTALCONTRACTAUDITING_RENTALUNITSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RENTALCONTRACTAUDITING_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACTAUDITING_RENTALUNITS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACTAUDITING_RENTALUNITS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml
index e36af0cbc..0179ba30d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml
@@ -93,7 +93,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="RENTALCONTRACT_RENTALUNITS">
+ <key foreign-key="RENTALCONTRACT_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACT_RENTALUNITS_E_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACT_RENTALUNITS_IDX`"/>
@@ -347,7 +347,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" table="`RENTALCONTRACTAUDITING_RENTALUNITSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RENTALCONTRACTAUDITING_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACTAUDITING_RENTALUNITS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACTAUDITING_RENTALUNITS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml
index 49aba85e7..96cfa985a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml
@@ -90,7 +90,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="RENTALCONTRACT_RENTALUNITS">
+ <key foreign-key="RENTALCONTRACT_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACT_RENTALUNITS_E_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACT_RENTALUNITS_IDX`"/>
@@ -335,7 +335,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" table="`RENTALCONTRACTAUDITING_RENTALUNITSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RENTALCONTRACTAUDITING_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACTAUDITING_RENTALUNITS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACTAUDITING_RENTALUNITS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml
index 93ae35d27..ea573a188 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml
@@ -93,7 +93,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="RENTALCONTRACT_RENTALUNITS">
+ <key foreign-key="RENTALCONTRACT_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACT_RENTALUNITS_E_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACT_RENTALUNITS_IDX`"/>
@@ -347,7 +347,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" table="`RENTALCONTRACTAUDITING_RENTALUNITSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RENTALCONTRACTAUDITING_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACTAUDITING_RENTALUNITS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACTAUDITING_RENTALUNITS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml
index 6f62deec7..9e9fb5076 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_e_o_hibernate.hbm.xml
@@ -47,14 +47,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -223,14 +223,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -289,7 +289,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml
index 0fceaba5e..8074f10aa 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_hsqldb_h_o_hibernate.hbm.xml
@@ -53,14 +53,14 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<list-index column="`TEST_INDEX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<list-index column="`LIBRARY_BOOKS_IDX`"/>
@@ -241,14 +241,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -310,7 +310,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml
index 49aba85e7..96cfa985a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml
@@ -90,7 +90,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="RENTALCONTRACT_RENTALUNITS">
+ <key foreign-key="RENTALCONTRACT_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACT_RENTALUNITS_E_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACT_RENTALUNITS_IDX`"/>
@@ -335,7 +335,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" table="`RENTALCONTRACTAUDITING_RENTALUNITSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RENTALCONTRACTAUDITING_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACTAUDITING_RENTALUNITS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACTAUDITING_RENTALUNITS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml
index 93ae35d27..ea573a188 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml
@@ -93,7 +93,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="RENTALCONTRACT_RENTALUNITS">
+ <key foreign-key="RENTALCONTRACT_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACT_RENTALUNITS_E_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACT_RENTALUNITS_IDX`"/>
@@ -347,7 +347,7 @@
<column not-null="false" unique="false" name="`COST`"/>
</property>
<list name="rentalUnits" table="`RENTALCONTRACTAUDITING_RENTALUNITSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="RENTALCONTRACTAUDITING_RENTALUNITS_KEY" update="true">
<column name="`RENTALCONTRACTAUDITING_RENTALUNITS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`RENTALCONTRACTAUDITING_RENTALUNITS_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_e_o_hibernate.hbm.xml
index d3e9af8f6..bf4f0b8ca 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_e_o_hibernate.hbm.xml
@@ -21,7 +21,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="authorName" table="`AUTHORSTYPE_AUTHORNAME`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="AUTHORSTYPE_AUTHORNAME_KEY" update="true">
<column name="`AUTHORSTYPE_AUTHORNAME_E_ID`" unique="false"/>
</key>
<list-index column="`AUTHORSTYPE_AUTHORNAME_IDX`"/>
@@ -39,7 +39,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="book" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="BOOKSTYPE_BOOK">
+ <key foreign-key="BOOKSTYPE_BOOK_KEY" update="true">
<column name="`BOOKSTYPE_BOOK_E_ID`" unique="false"/>
</key>
<list-index column="`BOOKSTYPE_BOOK_IDX`"/>
@@ -189,7 +189,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="authorName" table="`AUTHORSTYPEAUDITING_AUTHORNAMEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="AUTHORSTYPEAUDITING_AUTHORNAME_KEY" update="true">
<column name="`AUTHORSTYPEAUDITING_AUTHORNAME_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`AUTHORSTYPEAUDITING_AUTHORNAME_IDX`"/>
@@ -245,7 +245,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="book" table="`BOOKSTYPEAUDITING_BOOKAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="BOOKSTYPEAUDITING_BOOK_KEY" update="true">
<column name="`BOOKSTYPEAUDITING_BOOK_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`BOOKSTYPEAUDITING_BOOK_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_h_o_hibernate.hbm.xml
index 2ff7196b6..0eb133b15 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_hsqldb_h_o_hibernate.hbm.xml
@@ -24,7 +24,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="authorName" table="`AUTHORSTYPE_AUTHORNAME`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="AUTHORSTYPE_AUTHORNAME_KEY" update="true">
<column name="`AUTHORSTYPE_AUTHORNAME_E_ID`" unique="false"/>
</key>
<list-index column="`AUTHORSTYPE_AUTHORNAME_IDX`"/>
@@ -45,7 +45,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="book" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="BOOKSTYPE_BOOK">
+ <key foreign-key="BOOKSTYPE_BOOK_KEY" update="true">
<column name="`BOOKSTYPE_BOOK_E_ID`" unique="false"/>
</key>
<list-index column="`BOOKSTYPE_BOOK_IDX`"/>
@@ -210,7 +210,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="authorName" table="`AUTHORSTYPEAUDITING_AUTHORNAMEAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="AUTHORSTYPEAUDITING_AUTHORNAME_KEY" update="true">
<column name="`AUTHORSTYPEAUDITING_AUTHORNAME_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`AUTHORSTYPEAUDITING_AUTHORNAME_IDX`"/>
@@ -269,7 +269,7 @@
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="book" table="`BOOKSTYPEAUDITING_BOOKAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="BOOKSTYPEAUDITING_BOOK_KEY" update="true">
<column name="`BOOKSTYPEAUDITING_BOOK_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`BOOKSTYPEAUDITING_BOOK_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml
index d5f4fb0a9..a8cced19c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml
@@ -310,21 +310,21 @@
<column name="`WORKFLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/>
</key>
<list name="nodes" table="`WORKFLOWAUDITING_NODESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWAUDITING_NODES_KEY" update="true">
<column name="`WORKFLOWAUDITING_NODES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWAUDITING_NODES_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="edges" table="`WORKFLOWAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWAUDITING_EDGES_KEY" update="true">
<column name="`WORKFLOWAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWAUDITING_EDGES_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="comments" table="`WORKFLOWAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWAUDITING_COMMENTS_KEY" update="true">
<column name="`WORKFLOWAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWAUDITING_COMMENTS_IDX`"/>
@@ -341,14 +341,14 @@
<column not-null="false" unique="false" name="`WORKFLOW`"/>
</property>
<list name="outputs" table="`WORKFLOWNODEAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWNODEAUDITING_OUTPUTS_KEY" update="true">
<column name="`WORKFLOWNODEAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWNODEAUDITING_OUTPUTS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="inputs" table="`WORKFLOWNODEAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWNODEAUDITING_INPUTS_KEY" update="true">
<column name="`WORKFLOWNODEAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWNODEAUDITING_INPUTS_IDX`"/>
@@ -394,7 +394,7 @@
<column not-null="false" unique="false" name="`NODE`"/>
</property>
<list name="edges" table="`INPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="INPUTPORTAUDITING_EDGES_KEY" update="true">
<column name="`INPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`INPUTPORTAUDITING_EDGES_IDX`"/>
@@ -411,7 +411,7 @@
<column not-null="false" unique="false" name="`NODE`"/>
</property>
<list name="edges" table="`OUTPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="OUTPUTPORTAUDITING_EDGES_KEY" update="true">
<column name="`OUTPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`OUTPUTPORTAUDITING_EDGES_IDX`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml
index 065c38f29..7027b7ff6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml
@@ -274,21 +274,21 @@
<meta attribute="eclassName" inherit="false">WorkflowAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</meta>
<list name="nodes" table="`WORKFLOWAUDITING_NODESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWAUDITING_NODES_KEY" update="true">
<column name="`WORKFLOWAUDITING_NODES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWAUDITING_NODES_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="edges" table="`WORKFLOWAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWAUDITING_EDGES_KEY" update="true">
<column name="`WORKFLOWAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWAUDITING_EDGES_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="comments" table="`WORKFLOWAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWAUDITING_COMMENTS_KEY" update="true">
<column name="`WORKFLOWAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWAUDITING_COMMENTS_IDX`"/>
@@ -302,14 +302,14 @@
<column not-null="false" unique="false" name="`WORKFLOW`"/>
</property>
<list name="outputs" table="`WORKFLOWNODEAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWNODEAUDITING_OUTPUTS_KEY" update="true">
<column name="`WORKFLOWNODEAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWNODEAUDITING_OUTPUTS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="inputs" table="`WORKFLOWNODEAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WORKFLOWNODEAUDITING_INPUTS_KEY" update="true">
<column name="`WORKFLOWNODEAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WORKFLOWNODEAUDITING_INPUTS_IDX`"/>
@@ -346,7 +346,7 @@
<column not-null="false" unique="false" name="`NODE`"/>
</property>
<list name="edges" table="`INPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="INPUTPORTAUDITING_EDGES_KEY" update="true">
<column name="`INPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`INPUTPORTAUDITING_EDGES_IDX`"/>
@@ -360,7 +360,7 @@
<column not-null="false" unique="false" name="`NODE`"/>
</property>
<list name="edges" table="`OUTPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="OUTPUTPORTAUDITING_EDGES_KEY" update="true">
<column name="`OUTPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`OUTPUTPORTAUDITING_EDGES_IDX`"/>

Back to the top