diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml index 6b441b3aa..f00ce5948 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml @@ -259,10 +259,12 @@ <property name="interface" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> <column not-null="false" unique="false" name="`interface`"/> </property> - <list name="eSuperTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`eclass_eclass`"> - <key/> + <list name="eSuperTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh"> + <key update="true" foreign-key="eclass_esupertypes"> + <column name="`eclass_esupertypes_e_id`" not-null="false" unique="false"/> + </key> <list-index column="`eclass_esupertypes_idx`"/> - <many-to-many entity-name="EClass" unique="false" foreign-key="eclass_esupertypes"/> + <one-to-many entity-name="EClass"/> </list> <list name="eOperations" lazy="true" cascade="all,delete-orphan"> <key update="true" foreign-key="eclass_eoperations"> |