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, 5 insertions, 7 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 178576603..0049d86fa 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 Fri Jul 13 14:11:28 CEST 2007 -->
+<!-- Generated by Teneo on Tue Jul 17 19:27:27 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,15 +22,14 @@
<column name="`rght_e_id`" not-null="true" unique="false"/>
</many-to-many>
</bag>
- <list name="lft" lazy="false" cascade="merge,persist,save-update,lock" table="`cntr_lft`">
+ <bag 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>
- </list>
+ </bag>
</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>
@@ -43,15 +42,14 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <list name="cntr" lazy="true" cascade="merge,persist,save-update,lock" table="`lft_cntr`">
+ <bag name="cntr" lazy="true" cascade="merge,persist,save-update,lock" inverse="true" table="`cntr_lft`">
<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>
- </list>
+ </bag>
</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