diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml | 4 |
1 files changed, 2 insertions, 2 deletions
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`"/> |