diff options
[196839]
[196386]
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 | 10 |
1 files changed, 7 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 9ad08064b..ce1ad2016 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 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Tue Jul 17 15:50:26 CEST 2007 --> +<!-- Generated by Teneo on Tue Jul 17 19:28:23 CEST 2007 --> <hibernate-mapping auto-import="false"> <typedef name="ecore.EDiagnosticChain" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> @@ -193,7 +193,9 @@ <column not-null="false" unique="false" name="`eannotation_emodelelement_e_id`"/> </many-to-one> <list name="contents" table="`eannotation_contents`" lazy="true" cascade="all,delete-orphan"> - <key/> + <key update="true"> + <column name="`eannotation_e_id`" not-null="true" unique="false"/> + </key> <list-index column="`eannotation_contents_idx`"/> <many-to-any id-type="long"> <column not-null="true" unique="false" name="`contents_type`"/> @@ -201,7 +203,9 @@ </many-to-any> </list> <list name="references" table="`eannotation_references`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key/> + <key update="true"> + <column name="`eannotation_e_id`" not-null="true" unique="false"/> + </key> <list-index column="`eannotation_references_idx`"/> <many-to-any id-type="long"> <column not-null="true" unique="false" name="`references_type`"/> |