diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_a_o_hibernate.hbm.xml')
-rwxr-xr-x | tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_a_o_hibernate.hbm.xml | 360 |
1 files changed, 0 insertions, 360 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a608070bc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,360 +0,0 @@ -<?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="com.ibm.example.connection.impl.M2mbjoinImpl" entity-name="M2mbjoin" abstract="false" lazy="false" discriminator-value="M2mbjoin" table="`m2mbjoin`"> - <meta attribute="eclassName">M2mbjoin</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="id" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - <bag name="parent" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`m2mbjoinjointable`"> - <key update="true"> - <column name="`m2mbjoin_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Parent" unique="false" foreign-key="m2mbjoin_parent"> - <column name="`parent_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="com.ibm.example.connection.impl.M2osjoinImpl" entity-name="M2osjoin" abstract="false" lazy="false" discriminator-value="M2osjoin" table="`m2osjoin`"> - <meta attribute="eclassName">M2osjoin</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - </class> - <class name="com.ibm.example.connection.impl.M2osparentImpl" entity-name="M2osparent" abstract="false" lazy="false" discriminator-value="M2osparent" table="`m2osparent`"> - <meta attribute="eclassName">M2osparent</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - </class> - <class name="com.ibm.example.connection.impl.O2mbchildImpl" entity-name="O2mbchild" abstract="false" lazy="false" discriminator-value="O2mbchild" table="`o2mbchild`"> - <meta attribute="eclassName">O2mbchild</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - <many-to-one name="parent" entity-name="Parent" cascade="all" foreign-key="o2mbchild_parent" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`parent`"/> - </many-to-one> - </class> - <class name="com.ibm.example.connection.impl.O2mbjoinImpl" entity-name="O2mbjoin" abstract="false" lazy="false" discriminator-value="O2mbjoin" table="`o2mbjoin`"> - <meta attribute="eclassName">O2mbjoin</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - <many-to-one name="parent" entity-name="Parent" cascade="all" foreign-key="o2mbjoin_parent" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`parent_parent_id`"/> - </many-to-one> - </class> - <class name="com.ibm.example.connection.impl.O2mschildImpl" entity-name="O2mschild" abstract="false" lazy="false" discriminator-value="O2mschild" table="`o2mschild`"> - <meta attribute="eclassName">O2mschild</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - <many-to-one name="parent" entity-name="Parent" cascade="all" foreign-key="o2mschild_parent" lazy="false" insert="true" update="true"/> - </class> - <class name="com.ibm.example.connection.impl.O2mschildInvisImpl" entity-name="O2mschildInvis" abstract="false" lazy="false" discriminator-value="O2mschildInvis" table="`o2mschildinvis`"> - <meta attribute="eclassName">O2mschildInvis</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - </class> - <class name="com.ibm.example.connection.impl.O2msjoinImpl" entity-name="O2msjoin" abstract="false" lazy="false" discriminator-value="O2msjoin" table="`o2msjoin`"> - <meta attribute="eclassName">O2msjoin</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - </class> - <class name="com.ibm.example.connection.impl.O2obchildImpl" entity-name="O2obchild" abstract="false" lazy="false" discriminator-value="O2obchild" table="`o2obchild`"> - <meta attribute="eclassName">O2obchild</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - <many-to-one name="parent" entity-name="Parent" cascade="all" foreign-key="o2obchild_parent" lazy="false" insert="true" update="true"> - <column not-null="false" unique="false" name="`parent`"/> - </many-to-one> - </class> - <class name="com.ibm.example.connection.impl.O2objoinImpl" entity-name="O2objoin" abstract="false" lazy="false" discriminator-value="O2objoin" table="`o2objoin`"> - <meta attribute="eclassName">O2objoin</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - <many-to-one name="parent" entity-name="Parent" cascade="all" foreign-key="o2objoin_parent" lazy="false" insert="true" update="true"/> - </class> - <class name="com.ibm.example.connection.impl.O2obparentImpl" entity-name="O2obparent" abstract="false" lazy="false" discriminator-value="O2obparent" table="`o2obparent`"> - <meta attribute="eclassName">O2obparent</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - <many-to-one name="parent" entity-name="Parent" cascade="all" foreign-key="o2obparent_parent" lazy="false" insert="true" update="true"/> - </class> - <class name="com.ibm.example.connection.impl.O2oschildImpl" entity-name="O2oschild" abstract="false" lazy="false" discriminator-value="O2oschild" table="`o2oschild`"> - <meta attribute="eclassName">O2oschild</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="false" name="`idchild`"/> - <generator class="foreign"> - <param name="property">idChild</param> - </generator> - </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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - </class> - <class name="com.ibm.example.connection.impl.O2oschildInvisImpl" entity-name="O2oschildInvis" abstract="false" lazy="false" discriminator-value="O2oschildInvis" table="`o2oschildinvis`"> - <meta attribute="eclassName">O2oschildInvis</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - </class> - <class name="com.ibm.example.connection.impl.O2osjoinImpl" entity-name="O2osjoin" abstract="false" lazy="false" discriminator-value="O2osjoin" table="`o2osjoin`"> - <meta attribute="eclassName">O2osjoin</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - </class> - <class name="com.ibm.example.connection.impl.O2osparentImpl" entity-name="O2osparent" abstract="false" lazy="false" discriminator-value="O2osparent" table="`o2osparent`"> - <meta attribute="eclassName">O2osparent</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="idChild" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`idchild`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - </class> - <class name="com.ibm.example.connection.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" discriminator-value="Parent" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http:///com/ibm/example/connection.ecore</meta> - <id name="id" type="int" unsaved-value="0"> - <column not-null="false" unique="true" name="`id`"/> - <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="data" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`data`" length="25"/> - </property> - <many-to-one name="o2osparent" entity-name="O2osparent" cascade="all" foreign-key="parent_o2osparent" lazy="false" insert="true" update="true"> - <column not-null="false" unique="false" name="`o2osp`"/> - </many-to-one> - <one-to-one name="o2oschild" entity-name="O2oschild" foreign-key="parent_o2oschild" cascade="all" lazy="false" constrained="true"/> - <many-to-one name="o2osjoin" entity-name="O2osjoin" cascade="all" foreign-key="parent_o2osjoin" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`o2osjoin_o2osjoin_idchild`"/> - </many-to-one> - <many-to-one name="o2oschildInvis" entity-name="O2oschildInvis" cascade="all" foreign-key="parent_o2oschildinvis" lazy="false" insert="true" update="true"/> - <component name="o2oschildEmbed" class="com.ibm.example.connection.impl.O2oschildEmbedImpl"> - <property name="phone" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`phone`" length="25"/> - </property> - </component> - <many-to-one name="o2obparent" entity-name="O2obparent" cascade="all" foreign-key="parent_o2obparent" lazy="false" insert="true" update="true"> - <column not-null="false" unique="false" name="`o2obp`"/> - </many-to-one> - <many-to-one name="o2obchild" entity-name="O2obchild" cascade="all" foreign-key="parent_o2obchild" lazy="false" insert="true" update="true"/> - <many-to-one name="o2objoin" entity-name="O2objoin" cascade="all" foreign-key="parent_o2objoin" lazy="false" insert="true" update="true"/> - <list name="o2mschild" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_o2mschild"> - <column name="`parent_o2mschild_id`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_o2mschild_idx`"/> - <one-to-many entity-name="O2mschild"/> - </list> - <list name="o2msjoin" table="`o2msjoinjointable`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`id`" not-null="false" unique="true"/> - </key> - <list-index column="`parent_o2msjoin_idx`"/> - <many-to-many entity-name="O2msjoin" unique="true" foreign-key="parent_o2msjoin"> - <column name="`idchild`" not-null="false" unique="false"/> - </many-to-many> - </list> - <list name="o2mschildInvis" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_o2mschildinvis"> - <column name="`parent_o2mschildinvis_id`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_o2mschildinvis_idx`"/> - <one-to-many entity-name="O2mschildInvis"/> - </list> - <component name="o2mschildEmbed1" class="com.ibm.example.connection.impl.O2mschildEmbedImpl"> - <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`city1`"/> - </property> - <property name="state" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`state1`"/> - </property> - </component> - <component name="o2mschildEmbed2" class="com.ibm.example.connection.impl.O2mschildEmbedImpl"> - <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`city2`"/> - </property> - <property name="state" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`state2`"/> - </property> - </component> - <component name="o2mschildEmbed3" class="com.ibm.example.connection.impl.O2mschildEmbedImpl"> - <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`city3`"/> - </property> - <property name="state" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`state3`"/> - </property> - </component> - <list name="o2mbchild" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_o2mbchild"> - <column name="`parent_o2mbchild_id`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_o2mbchild_idx`"/> - <one-to-many entity-name="O2mbchild"/> - </list> - <list name="o2mbjoin" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_o2mbjoin"> - <column name="`parent_o2mbjoin_id`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_o2mbjoin_idx`"/> - <one-to-many entity-name="O2mbjoin"/> - </list> - <many-to-one name="m2osparent" entity-name="M2osparent" cascade="all" foreign-key="parent_m2osparent" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`m2osp`"/> - </many-to-one> - <many-to-one name="m2osjoin" entity-name="M2osjoin" cascade="all" foreign-key="parent_m2osjoin" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`m2osjoin_m2osjoin_idchild`"/> - </many-to-one> - <bag name="m2mbjoin" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`m2mbjoinjointable`"> - <key update="true"> - <column name="`parent_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="M2mbjoin" unique="false" foreign-key="parent_m2mbjoin"> - <column name="`m2mbjoin_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file |