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.test.emf.annotations/ManyToManyAction_mysql_a_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_a_o_hibernate.hbm.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_a_o_hibernate.hbm.xml
index 0049d86fa..1dc0abcbe 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_a_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 19:27:27 CEST 2007 -->
+<!-- Generated by Teneo on Wed Jul 18 16:44:44 CEST 2007 -->
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl" entity-name="Cntr" abstract="false" lazy="false" discriminator-value="Cntr" table="`cntr`">
<meta attribute="eclassName">Cntr</meta>
@@ -22,14 +22,15 @@
<column name="`rght_e_id`" not-null="true" unique="false"/>
</many-to-many>
</bag>
- <bag name="lft" lazy="false" cascade="merge,persist,save-update,lock" table="`cntr_lft`">
+ <list name="lft" lazy="false" cascade="merge,persist,save-update,lock" table="`cntr_lft`">
<key update="true">
<column name="`cntr_e_id`" not-null="true" unique="false"/>
</key>
+ <list-index column="`cntr_lft_idx`"/>
<many-to-many entity-name="Lft" unique="false">
<column name="`lft_e_id`" not-null="true" unique="false"/>
</many-to-many>
- </bag>
+ </list>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl" entity-name="Lft" abstract="false" lazy="false" discriminator-value="Lft" table="`lft`">
<meta attribute="eclassName">Lft</meta>
@@ -42,14 +43,15 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <bag name="cntr" lazy="true" cascade="merge,persist,save-update,lock" inverse="true" table="`cntr_lft`">
+ <list name="cntr" lazy="true" cascade="merge,persist,save-update,lock" table="`lft_cntr`">
<key update="true">
<column name="`lft_e_id`" not-null="true" unique="false"/>
</key>
+ <list-index column="`lft_cntr_idx`"/>
<many-to-many entity-name="Cntr" unique="false">
<column name="`cntr_e_id`" not-null="true" unique="false"/>
</many-to-many>
- </bag>
+ </list>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl" entity-name="Rght" abstract="false" lazy="false" discriminator-value="Rght" table="`rght`">
<meta attribute="eclassName">Rght</meta>

Back to the top