Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2013-01-15 10:21:07 +0000
committerMartin Taal2013-01-15 10:21:07 +0000
commit62b246765840c6b1cee4b168c63a38367c80a3e3 (patch)
tree34fd138b585306a5f4cd8ee393958e46de7f6a6a /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations
parentaeaee9b70b5d20c959376a20082ec0c909e42b82 (diff)
downloadorg.eclipse.emf.teneo-62b246765840c6b1cee4b168c63a38367c80a3e3.tar.gz
org.eclipse.emf.teneo-62b246765840c6b1cee4b168c63a38367c80a3e3.tar.xz
org.eclipse.emf.teneo-62b246765840c6b1cee4b168c63a38367c80a3e3.zip
Fixes issue 398161
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_h_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_h_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_h_o_hibernate.hbm.xml4
6 files changed, 16 insertions, 16 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_e_o_hibernate.hbm.xml
index 23ad9a36d..b2ca5d276 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_e_o_hibernate.hbm.xml
@@ -19,7 +19,7 @@
<collection-id column="idbag_id" type="long">
<generator class="increment"/>
</collection-id>
- <key update="true">
+ <key foreign-key="ROLE_USERS_KEY" update="true">
<column name="`ROLE_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="User" unique="false" foreign-key="ROLE_USERS">
@@ -44,7 +44,7 @@
<collection-id column="idbag_id" type="long">
<generator class="increment"/>
</collection-id>
- <key update="true">
+ <key foreign-key="USER_ROLES_KEY" update="true">
<column name="`USER_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="Role" unique="false" foreign-key="USER_ROLES">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_h_o_hibernate.hbm.xml
index fcee72890..a1625ab88 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_hsqldb_h_o_hibernate.hbm.xml
@@ -22,7 +22,7 @@
<collection-id column="idbag_id" type="long">
<generator class="increment"/>
</collection-id>
- <key update="true">
+ <key foreign-key="ROLE_USERS_KEY" update="true">
<column name="`ROLE_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="User" unique="false" foreign-key="ROLE_USERS">
@@ -50,7 +50,7 @@
<collection-id column="idbag_id" type="long">
<generator class="increment"/>
</collection-id>
- <key update="true">
+ <key foreign-key="USER_ROLES_KEY" update="true">
<column name="`USER_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="Role" unique="false" foreign-key="USER_ROLES">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_e_o_hibernate.hbm.xml
index 5d3bf8b0f..b1ef1cb2d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_e_o_hibernate.hbm.xml
@@ -13,7 +13,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<bag name="rght" lazy="false" cascade="merge,persist,save-update,lock" table="`RIGHTCENTER`">
- <key update="true">
+ <key foreign-key="CNTR_RGHT_KEY" update="true">
<column name="`CNTR_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="Rght" unique="false" foreign-key="CNTR_RGHT">
@@ -21,7 +21,7 @@
</many-to-many>
</bag>
<list name="lft" lazy="false" cascade="merge,persist,save-update,lock" table="`CNTR_LFT`">
- <key update="true">
+ <key foreign-key="CNTR_LFT_KEY" update="true">
<column name="`CNTR_E_ID`" unique="false"/>
</key>
<list-index column="`CNTR_LFT_IDX`"/>
@@ -41,7 +41,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="cntr" lazy="true" cascade="merge,persist,save-update,lock" table="`LFT_CNTR`">
- <key update="true">
+ <key foreign-key="LFT_CNTR_KEY" update="true">
<column name="`LFT_E_ID`" unique="false"/>
</key>
<list-index column="`LFT_CNTR_IDX`"/>
@@ -61,7 +61,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<bag name="cntr" lazy="true" cascade="merge,persist,save-update,lock" inverse="true" table="`RIGHTCENTER`">
- <key update="true">
+ <key foreign-key="RGHT_CNTR_KEY" update="true">
<column name="`RGHT_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="Cntr" unique="false" foreign-key="RGHT_CNTR">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_h_o_hibernate.hbm.xml
index 60dbb6db4..2cee25e24 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_hsqldb_h_o_hibernate.hbm.xml
@@ -16,7 +16,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<bag name="rght" lazy="false" cascade="merge,persist,save-update,lock" table="`RIGHTCENTER`">
- <key update="true">
+ <key foreign-key="CNTR_RGHT_KEY" update="true">
<column name="`CNTR_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="Rght" unique="false" foreign-key="CNTR_RGHT">
@@ -24,7 +24,7 @@
</many-to-many>
</bag>
<list name="lft" lazy="false" cascade="merge,persist,save-update,lock" table="`CNTR_LFT`">
- <key update="true">
+ <key foreign-key="CNTR_LFT_KEY" update="true">
<column name="`CNTR_E_ID`" unique="false"/>
</key>
<list-index column="`CNTR_LFT_IDX`"/>
@@ -47,7 +47,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="cntr" lazy="true" cascade="merge,persist,save-update,lock" table="`LFT_CNTR`">
- <key update="true">
+ <key foreign-key="LFT_CNTR_KEY" update="true">
<column name="`LFT_E_ID`" unique="false"/>
</key>
<list-index column="`LFT_CNTR_IDX`"/>
@@ -70,7 +70,7 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<bag name="cntr" lazy="true" cascade="merge,persist,save-update,lock" inverse="true" table="`RIGHTCENTER`">
- <key update="true">
+ <key foreign-key="RGHT_CNTR_KEY" update="true">
<column name="`RGHT_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="Cntr" unique="false" foreign-key="RGHT_CNTR">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_e_o_hibernate.hbm.xml
index 4fc99a156..e8e5c7f83 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_e_o_hibernate.hbm.xml
@@ -16,7 +16,7 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="yourItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`MYITEM_YOURITEM`">
- <key update="true">
+ <key foreign-key="MYITEM_YOURITEM_KEY" update="true">
<column name="`MYITEM_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="YourItem" unique="false" foreign-key="MYITEM_YOURITEM">
@@ -38,7 +38,7 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="myItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`MYITEM_YOURITEM`">
- <key update="true">
+ <key foreign-key="YOURITEM_MYITEM_KEY" update="true">
<column name="`YOURITEM_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="MyItem" unique="false" foreign-key="YOURITEM_MYITEM">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_h_o_hibernate.hbm.xml
index 68d9e5c5f..ebe933a2b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_hsqldb_h_o_hibernate.hbm.xml
@@ -19,7 +19,7 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="yourItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`MYITEM_YOURITEM`">
- <key update="true">
+ <key foreign-key="MYITEM_YOURITEM_KEY" update="true">
<column name="`MYITEM_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="YourItem" unique="false" foreign-key="MYITEM_YOURITEM">
@@ -44,7 +44,7 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="myItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`MYITEM_YOURITEM`">
- <key update="true">
+ <key foreign-key="YOURITEM_MYITEM_KEY" update="true">
<column name="`YOURITEM_E_ID`" unique="false"/>
</key>
<many-to-many entity-name="MyItem" unique="false" foreign-key="YOURITEM_MYITEM">

Back to the top