Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml
index a5f4248a7..389d0d4ee 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml
@@ -16,7 +16,7 @@
<column not-null="true" unique="false" name="`NAME`"/>
</property>
<list name="group" table="`PERSON_GROUP`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PERSON_GROUP_KEY" update="true">
<column name="`PERSON_GROUP_E_ID`" unique="false"/>
</key>
<list-index column="`PERSON_GROUP_IDX`"/>
@@ -59,7 +59,7 @@
<column name="`EMPLOYEE_E_ID`"/>
</key>
<list name="offices" lazy="true" cascade="persist,merge,refresh,save-update,lock">
- <key update="true" foreign-key="SPECIALEMPLOYEE_OFFICES">
+ <key foreign-key="SPECIALEMPLOYEE_OFFICES_KEY" update="true">
<column name="`SPECIALEMPLOYEE_OFFICES_E_ID`" unique="false"/>
</key>
<list-index column="`SPECIALEMPLOYEE_OFFICES_IDX`"/>
@@ -80,7 +80,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="manager" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="DEPARTMENT_MANAGER">
+ <key foreign-key="DEPARTMENT_MANAGER_KEY" update="true">
<column name="`DEPARTMENT_MANAGER_E_ID`" unique="false"/>
</key>
<list-index column="`DEPARTMENT_MANAGER_IDX`"/>
@@ -196,7 +196,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="group" table="`PERSONAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
+ <key foreign-key="PERSONAUDITING_GROUP_KEY" update="true">
<column name="`PERSONAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PERSONAUDITING_GROUP_IDX`"/>
@@ -239,7 +239,7 @@
<column name="`EMPLOYEEAUDITING_TENEO_AUDIT_ID`"/>
</key>
<list name="offices" table="`SPECIALEMPLOYEEAUDITING_OFFICESAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="SPECIALEMPLOYEEAUDITING_OFFICES_KEY" update="true">
<column name="`SPECIALEMPLOYEEAUDITING_OFFICES_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`SPECIALEMPLOYEEAUDITING_OFFICES_IDX`"/>
@@ -298,7 +298,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="manager" table="`DEPARTMENTAUDITING_MANAGERAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="DEPARTMENTAUDITING_MANAGER_KEY" update="true">
<column name="`DEPARTMENTAUDITING_MANAGER_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`DEPARTMENTAUDITING_MANAGER_IDX`"/>

Back to the top