Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-12-20 06:59:14 -0500
committerMartin Taal2012-12-20 06:59:14 -0500
commita36b30f14322d74069823336d1a6e01dbfe68ae0 (patch)
treeff2cc1c1b143bc3bef99d058f4b91e9f8ae42bef /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_hsqldb_h_o_hibernate.hbm.xml
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.hibernate.test.emf.elist/FeatureMapComponentAction_hsqldb_h_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_hsqldb_h_o_hibernate.hbm.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_hsqldb_h_o_hibernate.hbm.xml
index 5b69d8027..081ad3eb7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_hsqldb_h_o_hibernate.hbm.xml
@@ -39,7 +39,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="group" table="`PRODUCTTYPE_GROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PRODUCTTYPE_GROUP_KEY" update="true">
<column name="`PRODUCTTYPE_GROUP_NAME`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPE_GROUP_IDX`"/>
@@ -65,7 +65,7 @@
</type>
</property>
<list name="group1" table="`PRODUCTTYPE_GROUP1`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PRODUCTTYPE_GROUP1_KEY" update="true">
<column name="`PRODUCTTYPE_GROUP1_NAME`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPE_GROUP1_IDX`"/>
@@ -262,7 +262,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="group" table="`PRODUCTTYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PRODUCTTYPEAUDITING_GROUP_KEY" update="true">
<column name="`PRODUCTTYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPEAUDITING_GROUP_IDX`"/>
@@ -288,7 +288,7 @@
</type>
</property>
<list name="group1" table="`PRODUCTTYPEAUDITING_GROUP1AUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PRODUCTTYPEAUDITING_GROUP1_KEY" update="true">
<column name="`PRODUCTTYPEAUDITING_GROUP1_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PRODUCTTYPEAUDITING_GROUP1_IDX`"/>

Back to the top