Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml')
-rwxr-xr-xtests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml209
1 files changed, 209 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml
new file mode 100755
index 000000000..eaa10be21
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml
@@ -0,0 +1,209 @@
+<?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 Sat Mar 24 11:20:50 CET 2007 -->
+<hibernate-mapping>
+ <class entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`main`">
+ <meta attribute="eclassName">Main</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1ton</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`name`"/>
+ </property>
+ <list name="onecr" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`main_onecr_e_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onecr_idx`"/>
+ <one-to-many entity-name="OneCR"/>
+ </list>
+ <list name="onecn" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`main_onecn_e_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onecn_idx`"/>
+ <one-to-many entity-name="OneCN"/>
+ </list>
+ <list name="onenr" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`main_onenr_e_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onenr_idx`"/>
+ <one-to-many entity-name="OneNR"/>
+ </list>
+ <list name="onenn" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`main_onenn_e_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onenn_idx`"/>
+ <one-to-many entity-name="OneNN"/>
+ </list>
+ <list name="twocr" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`twocr_main_e_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twocr_idx`"/>
+ <one-to-many entity-name="TwoCR"/>
+ </list>
+ <list name="twocn" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`twocn_main_e_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twocn_idx`"/>
+ <one-to-many entity-name="TwoCN"/>
+ </list>
+ <list name="twonr" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`twonr_main_e_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twonr_idx`"/>
+ <one-to-many entity-name="TwoNR"/>
+ </list>
+ <list name="twonn" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`twonn_main_e_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twonn_idx`"/>
+ <one-to-many entity-name="TwoNN"/>
+ </list>
+ </class>
+ <class entity-name="OneCN" abstract="false" lazy="false" discriminator-value="OneCN" table="`onecn`">
+ <meta attribute="eclassName">OneCN</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1ton</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`name`"/>
+ </property>
+ </class>
+ <class entity-name="OneCR" abstract="false" lazy="false" discriminator-value="OneCR" table="`onecr`">
+ <meta attribute="eclassName">OneCR</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1ton</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`name`"/>
+ </property>
+ </class>
+ <class entity-name="OneNN" abstract="false" lazy="false" discriminator-value="OneNN" table="`onenn`">
+ <meta attribute="eclassName">OneNN</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1ton</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`name`"/>
+ </property>
+ </class>
+ <class entity-name="OneNR" abstract="false" lazy="false" discriminator-value="OneNR" table="`onenr`">
+ <meta attribute="eclassName">OneNR</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1ton</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`name`"/>
+ </property>
+ </class>
+ <class entity-name="TwoCN" abstract="false" lazy="false" discriminator-value="TwoCN" table="`twocn`">
+ <meta attribute="eclassName">TwoCN</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1ton</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`name`"/>
+ </property>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twocn_main_e_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TwoCR" abstract="false" lazy="false" discriminator-value="TwoCR" table="`twocr`">
+ <meta attribute="eclassName">TwoCR</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1ton</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`name`"/>
+ </property>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twocr_main_e_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TwoNN" abstract="false" lazy="false" discriminator-value="TwoNN" table="`twonn`">
+ <meta attribute="eclassName">TwoNN</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1ton</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`name`"/>
+ </property>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twonn_main_e_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TwoNR" abstract="false" lazy="false" discriminator-value="TwoNR" table="`twonr`">
+ <meta attribute="eclassName">TwoNR</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1ton</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`name`"/>
+ </property>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twonr_main_e_id`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file

Back to the top