Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2007-07-17 17:38:17 +0000
committermtaal2007-07-17 17:38:17 +0000
commit81f982165c240b93dc361cc27c4b63fc70b1b63e (patch)
tree5976fee89b250a2c8b14f0d8ae9cd6611cfc0afc /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml
parentdcca2232bff0ddaf06552b87f8f9ddab02ccb5b6 (diff)
downloadorg.eclipse.emf.teneo-81f982165c240b93dc361cc27c4b63fc70b1b63e.tar.gz
org.eclipse.emf.teneo-81f982165c240b93dc361cc27c4b63fc70b1b63e.tar.xz
org.eclipse.emf.teneo-81f982165c240b93dc361cc27c4b63fc70b1b63e.zip
[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.xml10
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`"/>

Back to the top