Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-12-05 20:43:41 +0000
committerMartin Taal2011-12-05 20:43:41 +0000
commit3f4b1cf30440b375770f5e66d2a690a92bebb186 (patch)
tree556750925e3e9b61323041bc26bac41937df90dc /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample
parent3c72cc9219423c643a7b04fb11e3d9c7d53abccd (diff)
downloadorg.eclipse.emf.teneo-3f4b1cf30440b375770f5e66d2a690a92bebb186.tar.gz
org.eclipse.emf.teneo-3f4b1cf30440b375770f5e66d2a690a92bebb186.tar.xz
org.eclipse.emf.teneo-3f4b1cf30440b375770f5e66d2a690a92bebb186.zip
Fixes issue [359802] - Uniqueness validation for constraints when using mappedsuperclass
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/FleetAction_hsqldb_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml4
2 files changed, 4 insertions, 4 deletions
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 2d5444686..3f328795b 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
@@ -284,10 +284,10 @@
<property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
<column not-null="false" unique="false" name="`CONTINUITY`"/>
</property>
- <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPORAL_VERSIONHOLDER" insert="false" update="false" not-null="false">
+ <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CAR_VERSIONHOLDER" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`CAR_VERSIONHOLDER_E_ID`"/>
</many-to-one>
- <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="TEMPORAL_VERSIONHOLDERCONTAINMENT" insert="true" update="true" not-null="false">
+ <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="CAR_VERSIONHOLDERCONTAINMENT" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`VERSIONHOLDER_VERSIONHOLDERCONTAINMENT_E_ID`"/>
</many-to-one>
<property name="numPassengers" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
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 5c8377fe0..5c293ba88 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
@@ -284,10 +284,10 @@
<property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
<column not-null="false" unique="false" name="`CONTINUITY`"/>
</property>
- <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPORAL_VERSIONHOLDER" insert="false" update="false" not-null="false">
+ <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CAR_VERSIONHOLDER" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`CAR_VERSIONHOLDER_E_ID`"/>
</many-to-one>
- <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="TEMPORAL_VERSIONHOLDERCONTAINMENT" insert="true" update="true" not-null="false">
+ <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="CAR_VERSIONHOLDERCONTAINMENT" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`VERSIONHOLDER_VERSIONHOLDERCONTAINMENT_E_ID`"/>
</many-to-one>
<property name="numPassengers" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">

Back to the top