diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_hsqldb_e_o_hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_hsqldb_e_o_hibernate.hbm.xml | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_hsqldb_e_o_hibernate.hbm.xml new file mode 100644 index 000000000..e47e7d330 --- /dev/null +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_hsqldb_e_o_hibernate.hbm.xml @@ -0,0 +1,115 @@ +<?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"> + +<hibernate-mapping auto-import="false"> + <class name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MainImpl" entity-name="Main" abstract="false" lazy="false" table="`MAIN`"> + <meta attribute="eclassName" inherit="false">Main</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/relation/relationntom</meta> + <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> + <meta attribute="syntheticId" inherit="false">true</meta> + <generator class="native"/> + </id> + <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> + <meta attribute="syntheticVersion" inherit="false">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="multinr" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`MAIN_MULTINR`"> + <key update="true"> + <column name="`MAIN_E_ID`" unique="false"/> + </key> + <list-index column="`MAIN_MULTINR_IDX`"/> + <many-to-many entity-name="MultiNR" unique="false" foreign-key="MAIN_MULTINR"> + <column name="`MULTINR_E_ID`" not-null="true" unique="false"/> + </many-to-many> + </list> + <list name="multirn" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`MAIN_MULTIRN`"> + <key update="true"> + <column name="`MAIN_E_ID`" unique="false"/> + </key> + <list-index column="`MAIN_MULTIRN_IDX`"/> + <many-to-many entity-name="MultiRN" unique="false" foreign-key="MAIN_MULTIRN"> + <column name="`MULTIRN_E_ID`" not-null="true" unique="false"/> + </many-to-many> + </list> + <list name="multinn" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`MAIN_MULTINN`"> + <key update="true"> + <column name="`MAIN_E_ID`" unique="false"/> + </key> + <list-index column="`MAIN_MULTINN_IDX`"/> + <many-to-many entity-name="MultiNN" unique="false" foreign-key="MAIN_MULTINN"> + <column name="`MULTINN_E_ID`" not-null="true" unique="false"/> + </many-to-many> + </list> + </class> + <class name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MultiNNImpl" entity-name="MultiNN" abstract="false" lazy="false" table="`MULTINN`"> + <meta attribute="eclassName" inherit="false">MultiNN</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/relation/relationntom</meta> + <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> + <meta attribute="syntheticId" inherit="false">true</meta> + <generator class="native"/> + </id> + <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> + <meta attribute="syntheticVersion" inherit="false">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> + <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`MULTINN_MAIN`"> + <key update="true"> + <column name="`MULTINN_E_ID`" unique="false"/> + </key> + <list-index column="`MULTINN_MAIN_IDX`"/> + <many-to-many entity-name="Main" unique="false" foreign-key="MULTINN_MAIN"> + <column name="`MAIN_E_ID`" not-null="true" unique="false"/> + </many-to-many> + </list> + </class> + <class name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MultiNRImpl" entity-name="MultiNR" abstract="false" lazy="false" table="`MULTINR`"> + <meta attribute="eclassName" inherit="false">MultiNR</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/relation/relationntom</meta> + <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> + <meta attribute="syntheticId" inherit="false">true</meta> + <generator class="native"/> + </id> + <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> + <meta attribute="syntheticVersion" inherit="false">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> + <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`MULTINR_MAIN`"> + <key update="true"> + <column name="`MULTINR_E_ID`" unique="false"/> + </key> + <list-index column="`MULTINR_MAIN_IDX`"/> + <many-to-many entity-name="Main" unique="false" foreign-key="MULTINR_MAIN"> + <column name="`MAIN_E_ID`" not-null="true" unique="false"/> + </many-to-many> + </list> + </class> + <class name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MultiRNImpl" entity-name="MultiRN" abstract="false" lazy="false" table="`MULTIRN`"> + <meta attribute="eclassName" inherit="false">MultiRN</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/relation/relationntom</meta> + <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> + <meta attribute="syntheticId" inherit="false">true</meta> + <generator class="native"/> + </id> + <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> + <meta attribute="syntheticVersion" inherit="false">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> + <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`MULTIRN_MAIN`"> + <key update="true"> + <column name="`MULTIRN_E_ID`" unique="false"/> + </key> + <list-index column="`MULTIRN_MAIN_IDX`"/> + <many-to-many entity-name="Main" unique="false" foreign-key="MULTIRN_MAIN"> + <column name="`MAIN_E_ID`" not-null="true" unique="false"/> + </many-to-many> + </list> + </class> +</hibernate-mapping>
\ No newline at end of file |