diff options
author | Martin Taal | 2013-11-12 10:42:58 +0000 |
---|---|---|
committer | Martin Taal | 2013-11-12 10:42:58 +0000 |
commit | 1435b7c6e37b987c644366de5637519c8ed10bb0 (patch) | |
tree | 4bee0e66835280bb16c1ee6a825c2d4795bde241 /tests/org.eclipse.emf.teneo.hibernate.test/hbm | |
parent | d22ce7ee5fa777d9359d9aae85d3ae3d024bb9a8 (diff) | |
download | org.eclipse.emf.teneo-1435b7c6e37b987c644366de5637519c8ed10bb0.tar.gz org.eclipse.emf.teneo-1435b7c6e37b987c644366de5637519c8ed10bb0.tar.xz org.eclipse.emf.teneo-1435b7c6e37b987c644366de5637519c8ed10bb0.zip |
Regenerated all hbm files
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm')
710 files changed, 0 insertions, 71833 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d5dd7e4be..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,99 +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="org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl" entity-name="AnyObject" abstract="false" lazy="false" discriminator-value="AnyObject" table="`anyobject`"> - <meta attribute="eclassName">AnyObject</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="anyobjectdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="globalInt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`globalint`"/> - </property> - <property name="globalString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`globalstring`"/> - </property> - <any id-type="string" meta-type="string" name="anyOne" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`anyone_id`"/> - </any> - <list name="any" table="`anyobject_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anyobject_any_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anyobject_any_idx`"/> - <one-to-many entity-name="AnyObject_any"/> - </list> - <list name="group" table="`anyobject_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anyobject_group_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anyobject_group_idx`"/> - <one-to-many entity-name="AnyObject_group"/> - </list> - </class> - <class entity-name="AnyObject_any" lazy="false" table="`anyobject_any`"> - <meta attribute="featureMap">AnyObject</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="string" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class entity-name="AnyObject_group" lazy="false" table="`anyobject_group`"> - <meta attribute="featureMap">AnyObject</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any1" entity-name="AnyObject_any1" cascade="all" not-null="false"/> - </class> - <class entity-name="AnyObject_any1" lazy="false" table="`anyobject_any1`"> - <meta attribute="featureMap">AnyObject</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any1_fme_any_data" type="java.lang.String"/> - <any id-type="string" meta-type="string" name="any1_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any1_id`"/> - </any> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl" entity-name="GlobalObjectType" abstract="false" lazy="false" discriminator-value="GlobalObjectType" table="`globalobjecttype`"> - <meta attribute="eclassName">GlobalObjectType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="globalobjecttypedtype" length="255" not-null="true"/> - </discriminator> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e61413cc2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,93 +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="org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl" entity-name="AnyObject" abstract="false" lazy="false" table="`anyobject`"> - <meta attribute="eclassName">AnyObject</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="globalInt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`globalint`"/> - </property> - <property name="globalString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`globalstring`"/> - </property> - <any id-type="string" meta-type="string" name="anyOne" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`anyone_id`"/> - </any> - <list name="any" table="`anyobject_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anyobject_any_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anyobject_any_idx`"/> - <one-to-many entity-name="AnyObject_any"/> - </list> - <list name="group" table="`anyobject_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anyobject_group_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anyobject_group_idx`"/> - <one-to-many entity-name="AnyObject_group"/> - </list> - </class> - <class entity-name="AnyObject_any" lazy="false" table="`anyobject_any`"> - <meta attribute="featureMap">AnyObject</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="string" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class entity-name="AnyObject_group" lazy="false" table="`anyobject_group`"> - <meta attribute="featureMap">AnyObject</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any1" entity-name="AnyObject_any1" cascade="all" not-null="false"/> - </class> - <class entity-name="AnyObject_any1" lazy="false" table="`anyobject_any1`"> - <meta attribute="featureMap">AnyObject</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any1_fme_any_data" type="java.lang.String"/> - <any id-type="string" meta-type="string" name="any1_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any1_id`"/> - </any> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl" entity-name="GlobalObjectType" abstract="false" lazy="false" table="`globalobjecttype`"> - <meta attribute="eclassName">GlobalObjectType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index e61413cc2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,93 +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="org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl" entity-name="AnyObject" abstract="false" lazy="false" table="`anyobject`"> - <meta attribute="eclassName">AnyObject</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="globalInt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`globalint`"/> - </property> - <property name="globalString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`globalstring`"/> - </property> - <any id-type="string" meta-type="string" name="anyOne" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`anyone_id`"/> - </any> - <list name="any" table="`anyobject_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anyobject_any_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anyobject_any_idx`"/> - <one-to-many entity-name="AnyObject_any"/> - </list> - <list name="group" table="`anyobject_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anyobject_group_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anyobject_group_idx`"/> - <one-to-many entity-name="AnyObject_group"/> - </list> - </class> - <class entity-name="AnyObject_any" lazy="false" table="`anyobject_any`"> - <meta attribute="featureMap">AnyObject</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="string" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class entity-name="AnyObject_group" lazy="false" table="`anyobject_group`"> - <meta attribute="featureMap">AnyObject</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any1" entity-name="AnyObject_any1" cascade="all" not-null="false"/> - </class> - <class entity-name="AnyObject_any1" lazy="false" table="`anyobject_any1`"> - <meta attribute="featureMap">AnyObject</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any1_fme_any_data" type="java.lang.String"/> - <any id-type="string" meta-type="string" name="any1_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any1_id`"/> - </any> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl" entity-name="GlobalObjectType" abstract="false" lazy="false" table="`globalobjecttype`"> - <meta attribute="eclassName">GlobalObjectType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290696Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290696Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index da27fe427..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290696Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,57 +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="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarImpl" entity-name="BarEntity" abstract="false" lazy="false" discriminator-value="BarEntity" table="`barentity`"> - <meta attribute="eclassName">Bar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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 type="string"> - <column name="dtype" index="barentitydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="barKeys" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="barentity_barkeys"> - <column name="`barentity_barkeys_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`barentity_barkeys_idx`"/> - <one-to-many entity-name="BarKeyEntity"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarKeyImpl" entity-name="BarKeyEntity" abstract="false" lazy="false" discriminator-value="BarKeyEntity" table="`barkeyentity`"> - <meta attribute="eclassName">BarKey</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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 type="string"> - <column name="dtype" index="barkeyentitydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.FooImpl" entity-name="FooEntity" abstract="false" lazy="false" discriminator-value="FooEntity" table="`fooentity`"> - <meta attribute="eclassName">Foo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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 type="string"> - <column name="dtype" index="fooentitydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="barKey" entity-name="BarKeyEntity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fooentity_barkey" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`barkeyentity_barkey_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290696Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290696Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 04f078575..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290696Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,48 +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="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarImpl" entity-name="BarEntity" abstract="false" lazy="false" table="`barentity`"> - <meta attribute="eclassName">Bar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="barKeys" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="barentity_barkeys"> - <column name="`barentity_barkeys_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`barentity_barkeys_idx`"/> - <one-to-many entity-name="BarKeyEntity"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarKeyImpl" entity-name="BarKeyEntity" abstract="false" lazy="false" table="`barkeyentity`"> - <meta attribute="eclassName">BarKey</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.FooImpl" entity-name="FooEntity" abstract="false" lazy="false" table="`fooentity`"> - <meta attribute="eclassName">Foo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="barKey" entity-name="BarKeyEntity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fooentity_barkey" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`barkeyentity_barkey_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290696Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290696Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 04f078575..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290696Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,48 +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="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarImpl" entity-name="BarEntity" abstract="false" lazy="false" table="`barentity`"> - <meta attribute="eclassName">Bar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="barKeys" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="barentity_barkeys"> - <column name="`barentity_barkeys_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`barentity_barkeys_idx`"/> - <one-to-many entity-name="BarKeyEntity"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarKeyImpl" entity-name="BarKeyEntity" abstract="false" lazy="false" table="`barkeyentity`"> - <meta attribute="eclassName">BarKey</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.FooImpl" entity-name="FooEntity" abstract="false" lazy="false" table="`fooentity`"> - <meta attribute="eclassName">Foo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="barKey" entity-name="BarKeyEntity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fooentity_barkey" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`barkeyentity_barkey_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290969Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290969Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index da27fe427..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290969Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,57 +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="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarImpl" entity-name="BarEntity" abstract="false" lazy="false" discriminator-value="BarEntity" table="`barentity`"> - <meta attribute="eclassName">Bar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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 type="string"> - <column name="dtype" index="barentitydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="barKeys" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="barentity_barkeys"> - <column name="`barentity_barkeys_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`barentity_barkeys_idx`"/> - <one-to-many entity-name="BarKeyEntity"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarKeyImpl" entity-name="BarKeyEntity" abstract="false" lazy="false" discriminator-value="BarKeyEntity" table="`barkeyentity`"> - <meta attribute="eclassName">BarKey</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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 type="string"> - <column name="dtype" index="barkeyentitydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.FooImpl" entity-name="FooEntity" abstract="false" lazy="false" discriminator-value="FooEntity" table="`fooentity`"> - <meta attribute="eclassName">Foo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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 type="string"> - <column name="dtype" index="fooentitydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="barKey" entity-name="BarKeyEntity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fooentity_barkey" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`barkeyentity_barkey_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290969Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290969Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 04f078575..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290969Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,48 +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="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarImpl" entity-name="BarEntity" abstract="false" lazy="false" table="`barentity`"> - <meta attribute="eclassName">Bar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="barKeys" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="barentity_barkeys"> - <column name="`barentity_barkeys_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`barentity_barkeys_idx`"/> - <one-to-many entity-name="BarKeyEntity"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarKeyImpl" entity-name="BarKeyEntity" abstract="false" lazy="false" table="`barkeyentity`"> - <meta attribute="eclassName">BarKey</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.FooImpl" entity-name="FooEntity" abstract="false" lazy="false" table="`fooentity`"> - <meta attribute="eclassName">Foo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="barKey" entity-name="BarKeyEntity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fooentity_barkey" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`barkeyentity_barkey_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290969Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290969Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 04f078575..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/BZ290969Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,48 +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="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarImpl" entity-name="BarEntity" abstract="false" lazy="false" table="`barentity`"> - <meta attribute="eclassName">Bar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="barKeys" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="barentity_barkeys"> - <column name="`barentity_barkeys_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`barentity_barkeys_idx`"/> - <one-to-many entity-name="BarKeyEntity"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.BarKeyImpl" entity-name="BarKeyEntity" abstract="false" lazy="false" table="`barkeyentity`"> - <meta attribute="eclassName">BarKey</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz290969.impl.FooImpl" entity-name="FooEntity" abstract="false" lazy="false" table="`fooentity`"> - <meta attribute="eclassName">Foo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz290969</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="barKey" entity-name="BarKeyEntity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fooentity_barkey" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`barkeyentity_barkey_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVCascadeDeleteAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVCascadeDeleteAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 61793b852..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVCascadeDeleteAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,107 +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"> - <typedef name="eavlibrary.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.CityImpl" entity-name="City" abstract="false" lazy="false" discriminator-value="City" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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 type="string"> - <column name="dtype" index="citydtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" table="`library_writer`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.PenImpl" entity-name="Pen" abstract="false" lazy="false" discriminator-value="Pen" table="`pen`"> - <meta attribute="eclassName">Pen</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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 type="string"> - <column name="dtype" index="pendtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVCascadeDeleteAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVCascadeDeleteAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 9a01984c6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVCascadeDeleteAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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"> - <typedef name="eavlibrary.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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> - <list name="writers" fetch="subselect" table="`library_writer`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.PenImpl" entity-name="Pen" abstract="false" lazy="false" table="`pen`"> - <meta attribute="eclassName">Pen</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVCascadeDeleteAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVCascadeDeleteAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 9a01984c6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVCascadeDeleteAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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"> - <typedef name="eavlibrary.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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> - <list name="writers" fetch="subselect" table="`library_writer`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.PenImpl" entity-name="Pen" abstract="false" lazy="false" table="`pen`"> - <meta attribute="eclassName">Pen</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVExtraLazyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVExtraLazyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 5d314cc5e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVExtraLazyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 61793b852..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,107 +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"> - <typedef name="eavlibrary.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.CityImpl" entity-name="City" abstract="false" lazy="false" discriminator-value="City" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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 type="string"> - <column name="dtype" index="citydtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" table="`library_writer`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.PenImpl" entity-name="Pen" abstract="false" lazy="false" discriminator-value="Pen" table="`pen`"> - <meta attribute="eclassName">Pen</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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 type="string"> - <column name="dtype" index="pendtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 9a01984c6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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"> - <typedef name="eavlibrary.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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> - <list name="writers" fetch="subselect" table="`library_writer`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.PenImpl" entity-name="Pen" abstract="false" lazy="false" table="`pen`"> - <meta attribute="eclassName">Pen</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 9a01984c6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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"> - <typedef name="eavlibrary.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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> - <list name="writers" fetch="subselect" table="`library_writer`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.PenImpl" entity-name="Pen" abstract="false" lazy="false" table="`pen`"> - <meta attribute="eclassName">Pen</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</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> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAllAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAllAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 747576f75..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAllAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,43 +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"> - <typedef name="eavlibrary.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" discriminator-value="Book" table="`book`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Book"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.CityImpl" entity-name="City" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="City" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.City"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.PenImpl" entity-name="Pen" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Pen" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Pen"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAllAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAllAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f28544817..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAllAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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"> - <typedef name="eavlibrary.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" table="`book`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Book"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.CityImpl" entity-name="City" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="City" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.City"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.PenImpl" entity-name="Pen" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Pen" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Pen"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAllAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAllAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f28544817..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EAVMappingAllAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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"> - <typedef name="eavlibrary.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" table="`book`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Book"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/eavlibrary</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.CityImpl" entity-name="City" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="City" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.City"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.impl.PenImpl" entity-name="Pen" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Pen" proxy="org.eclipse.emf.teneo.samples.emf.annotations.eavlibrary.Pen"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EMapEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EMapEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 01c3ab64c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EMapEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EMapEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EMapEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 01c3ab64c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EMapEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EMapEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EMapEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 01c3ab64c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/EMapEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/ExtraLazyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/ExtraLazyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 7fb153918..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/ExtraLazyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,47 +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="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="authors" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="book_authors"> - <column name="`book_authors_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_authors_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="subTitles" table="`book_subtitles`" lazy="extra" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_subtitles_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`book_subtitles_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/ExtraLazySetAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/ExtraLazySetAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 768af3149..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/ExtraLazySetAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" table="`TESTSET_CONTAINEDITEM`"> - <meta attribute="eclassName">ContainedItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" table="`TESTSET_ITEM`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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="itemList" entity-name="testSet.ItemList" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TESTSET_ITEM_ITEMLIST" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ITEM_ITEMLIST_E_ID`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" table="`TESTSET_ITEMLIST`"> - <meta attribute="eclassName">ItemList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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> - <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="TESTSET_ITEMLIST_CONTAINEDITEM"> - <column name="`ITEMLIST_CONTAINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.ContainedItem"/> - </bag> - <bag name="item" order-by="`NAME` desc" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ITEM_ITEMLIST_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - <bag name="joinedItem" order-by="`NAME` desc" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="TESTSET_ITEMLIST_JOINEDITEM"> - <column name="`ITEMLIST_JOINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbIdAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbIdAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f312b44cc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbIdAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,50 +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="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`"> - <meta attribute="eclassName">IdentityID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="identity"/> - </id> - <discriminator type="string"> - <column name="dtype" index="identityiddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" discriminator-value="SimpleID" table="`simpleid`"> - <meta attribute="eclassName">SimpleID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autod`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="simpleiddtype" length="255" not-null="true"/> - </discriminator> - <version name="generated" type="long"> - <column not-null="true" unique="false" name="`generated`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" discriminator-value="TableID" table="`tableid`"> - <meta attribute="eclassName">TableID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">hilo_table</param> - <param name="column">the_hilo_column</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="tableiddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbIdAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbIdAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index d6cb4d17c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbIdAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,41 +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="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`"> - <meta attribute="eclassName">IdentityID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="identity"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" table="`simpleid`"> - <meta attribute="eclassName">SimpleID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autod`"/> - <generator class="native"/> - </id> - <version name="generated" type="long"> - <column not-null="true" unique="false" name="`generated`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" table="`tableid`"> - <meta attribute="eclassName">TableID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">hilo_table</param> - <param name="column">the_hilo_column</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbIdAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbIdAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d6cb4d17c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbIdAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,41 +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="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`"> - <meta attribute="eclassName">IdentityID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="identity"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" table="`simpleid`"> - <meta attribute="eclassName">SimpleID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autod`"/> - <generator class="native"/> - </id> - <version name="generated" type="long"> - <column not-null="true" unique="false" name="`generated`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" table="`tableid`"> - <meta attribute="eclassName">TableID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">hilo_table</param> - <param name="column">the_hilo_column</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbMapKeysExtraLazyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbMapKeysExtraLazyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 389f79140..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbMapKeysExtraLazyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <map name="writersByName" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writersbyname"> - <column name="`join_column_writer`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"> - <column not-null="false" unique="false" name="`thenameofthewriter`"/> - </map-key> - <one-to-many entity-name="Writer"/> - </map> - <map name="cityByWriter" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_citybywriter"> - <column name="`join_column_city`" not-null="false" unique="false"/> - </key> - <map-key-many-to-many entity-name="Writer"> - <column not-null="true" unique="false" name="`the_citywriter_id`"/> - </map-key-many-to-many> - <one-to-many entity-name="City"/> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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> - <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="cityWriter" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="city_citywriter" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`the_citywriter_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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> - <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="`thenameofthewriter`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbSequenceIdAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbSequenceIdAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f312b44cc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbSequenceIdAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,50 +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="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`"> - <meta attribute="eclassName">IdentityID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="identity"/> - </id> - <discriminator type="string"> - <column name="dtype" index="identityiddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" discriminator-value="SimpleID" table="`simpleid`"> - <meta attribute="eclassName">SimpleID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autod`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="simpleiddtype" length="255" not-null="true"/> - </discriminator> - <version name="generated" type="long"> - <column not-null="true" unique="false" name="`generated`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" discriminator-value="TableID" table="`tableid`"> - <meta attribute="eclassName">TableID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">hilo_table</param> - <param name="column">the_hilo_column</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="tableiddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbSequenceIdAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbSequenceIdAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index d6cb4d17c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbSequenceIdAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,41 +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="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`"> - <meta attribute="eclassName">IdentityID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="identity"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" table="`simpleid`"> - <meta attribute="eclassName">SimpleID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autod`"/> - <generator class="native"/> - </id> - <version name="generated" type="long"> - <column not-null="true" unique="false" name="`generated`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" table="`tableid`"> - <meta attribute="eclassName">TableID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">hilo_table</param> - <param name="column">the_hilo_column</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbSequenceIdAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbSequenceIdAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d6cb4d17c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HbSequenceIdAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,41 +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="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`"> - <meta attribute="eclassName">IdentityID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="identity"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" table="`simpleid`"> - <meta attribute="eclassName">SimpleID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autod`"/> - <generator class="native"/> - </id> - <version name="generated" type="long"> - <column not-null="true" unique="false" name="`generated`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" table="`tableid`"> - <meta attribute="eclassName">TableID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">hilo_table</param> - <param name="column">the_hilo_column</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HibernateAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HibernateAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 5c76e483c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HibernateAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,76 +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="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.CityImpl" entity-name="Stad" abstract="false" lazy="true" discriminator-value="Stad" table="`stad`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.City"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="staddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="streets" inverse="true" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`city_fk`" not-null="true" unique="false"/> - </key> - <one-to-many entity-name="Street" not-found="ignore"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.StreetImpl" entity-name="Street" abstract="false" lazy="true" discriminator-value="Street" table="`street`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.Street"> - <meta attribute="eclassName">Street</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</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 type="string"> - <column name="dtype" index="streetdtype" length="255" not-null="true"/> - </discriminator> - <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="city" entity-name="Stad" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="street_city" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`city_fk`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.StateImpl" entity-name="State" abstract="false" lazy="true" discriminator-value="State" table="`state`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.State"> - <meta attribute="eclassName">State</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</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 type="string"> - <column name="dtype" index="statedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <one-to-one name="stateDetail" entity-name="StateDetail" fetch="join" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" property-ref="state"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.StateDetailImpl" entity-name="StateDetail" abstract="false" lazy="true" discriminator-value="StateDetail" table="`statedetail`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.StateDetail"> - <meta attribute="eclassName">StateDetail</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</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 type="string"> - <column name="dtype" index="statedetaildtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="state" entity-name="State" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="false" insert="true" update="true"> - <column not-null="false" unique="false" name="`state_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HibernateAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HibernateAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 56d759813..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HibernateAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,64 +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="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.CityImpl" entity-name="Stad" abstract="false" lazy="true" table="`stad`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.City"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="streets" inverse="true" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`city_fk`" not-null="true" unique="false"/> - </key> - <one-to-many entity-name="Street" not-found="ignore"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.StreetImpl" entity-name="Street" abstract="false" lazy="true" table="`street`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.Street"> - <meta attribute="eclassName">Street</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</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> - <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="city" entity-name="Stad" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="street_city" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`city_fk`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.StateImpl" entity-name="State" abstract="false" lazy="true" table="`state`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.State"> - <meta attribute="eclassName">State</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <one-to-one name="stateDetail" entity-name="StateDetail" fetch="join" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" property-ref="state"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.StateDetailImpl" entity-name="StateDetail" abstract="false" lazy="true" table="`statedetail`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.StateDetail"> - <meta attribute="eclassName">StateDetail</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="state" entity-name="State" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="false" insert="true" update="true"> - <column not-null="false" unique="false" name="`state_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HibernateAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HibernateAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 56d759813..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/HibernateAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,64 +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="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.CityImpl" entity-name="Stad" abstract="false" lazy="true" table="`stad`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.City"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="streets" inverse="true" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`city_fk`" not-null="true" unique="false"/> - </key> - <one-to-many entity-name="Street" not-found="ignore"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.StreetImpl" entity-name="Street" abstract="false" lazy="true" table="`street`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.Street"> - <meta attribute="eclassName">Street</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</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> - <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="city" entity-name="Stad" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="street_city" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`city_fk`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.StateImpl" entity-name="State" abstract="false" lazy="true" table="`state`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.State"> - <meta attribute="eclassName">State</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <one-to-one name="stateDetail" entity-name="StateDetail" fetch="join" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" property-ref="state"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.impl.StateDetailImpl" entity-name="StateDetail" abstract="false" lazy="true" table="`statedetail`" proxy="org.eclipse.emf.teneo.samples.emf.annotations.hibernate.StateDetail"> - <meta attribute="eclassName">StateDetail</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="state" entity-name="State" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="false" insert="true" update="true"> - <column not-null="false" unique="false" name="`state_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/IdTypeTestOneAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/IdTypeTestOneAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e85eb5305..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/IdTypeTestOneAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,26 +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="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <discriminator type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/IdTypeTestOneAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/IdTypeTestOneAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 22828e5f4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/IdTypeTestOneAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,23 +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="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/IdTypeTestOneAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/IdTypeTestOneAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 22828e5f4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/IdTypeTestOneAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,23 +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="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 09169953d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> - <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <discriminator type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="myversion" column="myversion" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="friends" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`person_person`"> - <key update="true"> - <column name="`person_friends_firstname`" not-null="true" unique="false"/> - <column name="`person_friends_lastname`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Person" unique="false" foreign-key="person_friends"> - <column name="`person_oppositefriends_firstname`" not-null="true" unique="false"/> - <column name="`person_oppositefriends_lastname`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="oppositeFriends" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`person_person`"> - <key update="true"> - <column name="`person_oppositefriends_firstname`" not-null="true" unique="false"/> - <column name="`person_oppositefriends_lastname`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Person" unique="false" foreign-key="person_oppositefriends"> - <column name="`person_friends_firstname`" not-null="true" unique="false"/> - <column name="`person_friends_lastname`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" extends="Person" discriminator-value="Parent"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> - <list name="children" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_children"> - <column name="`myparentfirstname`" not-null="false" unique="false"/> - <column name="`myparentlastname`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Person" discriminator-value="Child"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.HouseImpl" entity-name="House" abstract="false" lazy="false" discriminator-value="House" table="`house`"> - <meta attribute="eclassName">House</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</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 type="string"> - <column name="dtype" index="housedtype" length="255" not-null="true"/> - </discriminator> - <version name="myversion" column="myversion" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="owner" entity-name="Parent" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="house_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`parent_owner_firstname`"/> - <column not-null="false" unique="false" name="`parent_owner_lastname`"/> - </many-to-one> - <list name="visitors" table="`house_person`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`rightcolumn`" not-null="false" unique="false"/> - </key> - <list-index column="`house_visitors_idx`"/> - <many-to-many entity-name="Person" unique="true" foreign-key="house_visitors"> - <column name="`person_firstname`" not-null="true" unique="false"/> - <column name="`person_lastname`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index fe0b0c182..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,89 +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="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> - <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <version name="myversion" column="myversion" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="friends" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`person_person`"> - <key update="true"> - <column name="`person_friends_firstname`" not-null="true" unique="false"/> - <column name="`person_friends_lastname`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Person" unique="false" foreign-key="person_friends"> - <column name="`person_oppositefriends_firstname`" not-null="true" unique="false"/> - <column name="`person_oppositefriends_lastname`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="oppositeFriends" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`person_person`"> - <key update="true"> - <column name="`person_oppositefriends_firstname`" not-null="true" unique="false"/> - <column name="`person_oppositefriends_lastname`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Person" unique="false" foreign-key="person_oppositefriends"> - <column name="`person_friends_firstname`" not-null="true" unique="false"/> - <column name="`person_friends_lastname`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" extends="Person" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> - <key> - <column name="`person_firstname`"/> - <column name="`person_lastname`"/> - </key> - <list name="children" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_children"> - <column name="`myparentfirstname`" not-null="false" unique="false"/> - <column name="`myparentlastname`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Person" table="`child`"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> - <key> - <column name="`person_firstname`"/> - <column name="`person_lastname`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.HouseImpl" entity-name="House" abstract="false" lazy="false" table="`house`"> - <meta attribute="eclassName">House</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</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> - <version name="myversion" column="myversion" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="owner" entity-name="Parent" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="house_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`parent_owner_firstname`"/> - <column not-null="false" unique="false" name="`parent_owner_lastname`"/> - </many-to-one> - <list name="visitors" table="`house_person`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`rightcolumn`" not-null="false" unique="false"/> - </key> - <list-index column="`house_visitors_idx`"/> - <many-to-many entity-name="Person" unique="true" foreign-key="house_visitors"> - <column name="`person_firstname`" not-null="true" unique="false"/> - <column name="`person_lastname`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index fe0b0c182..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,89 +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="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> - <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <version name="myversion" column="myversion" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="friends" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`person_person`"> - <key update="true"> - <column name="`person_friends_firstname`" not-null="true" unique="false"/> - <column name="`person_friends_lastname`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Person" unique="false" foreign-key="person_friends"> - <column name="`person_oppositefriends_firstname`" not-null="true" unique="false"/> - <column name="`person_oppositefriends_lastname`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="oppositeFriends" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`person_person`"> - <key update="true"> - <column name="`person_oppositefriends_firstname`" not-null="true" unique="false"/> - <column name="`person_oppositefriends_lastname`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Person" unique="false" foreign-key="person_oppositefriends"> - <column name="`person_friends_firstname`" not-null="true" unique="false"/> - <column name="`person_friends_lastname`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" extends="Person" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> - <key> - <column name="`person_firstname`"/> - <column name="`person_lastname`"/> - </key> - <list name="children" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_children"> - <column name="`myparentfirstname`" not-null="false" unique="false"/> - <column name="`myparentlastname`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Person" table="`child`"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> - <key> - <column name="`person_firstname`"/> - <column name="`person_lastname`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.HouseImpl" entity-name="House" abstract="false" lazy="false" table="`house`"> - <meta attribute="eclassName">House</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</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> - <version name="myversion" column="myversion" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="owner" entity-name="Parent" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="house_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`parent_owner_firstname`"/> - <column not-null="false" unique="false" name="`parent_owner_lastname`"/> - </many-to-one> - <list name="visitors" table="`house_person`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`rightcolumn`" not-null="false" unique="false"/> - </key> - <list-index column="`house_visitors_idx`"/> - <many-to-many entity-name="Person" unique="true" foreign-key="house_visitors"> - <column name="`person_firstname`" not-null="true" unique="false"/> - <column name="`person_lastname`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/MapKeyEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/MapKeyEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 01c3ab64c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/MapKeyEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/MapKeyEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/MapKeyEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 01c3ab64c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/MapKeyEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/MapKeyEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/MapKeyEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 01c3ab64c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/MapKeyEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 7cc3e6809..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" table="`TESTSET_CONTAINEDITEM`"> - <meta attribute="eclassName">ContainedItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" table="`TESTSET_ITEM`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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="itemList" entity-name="testSet.ItemList" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TESTSET_ITEM_ITEMLIST" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ITEM_ITEMLIST_E_ID`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" table="`TESTSET_ITEMLIST`"> - <meta attribute="eclassName">ItemList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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> - <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="TESTSET_ITEMLIST_CONTAINEDITEM"> - <column name="`ITEMLIST_CONTAINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.ContainedItem"/> - </bag> - <bag name="item" order-by="`NAME` desc" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ITEM_ITEMLIST_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - <bag name="joinedItem" order-by="`NAME` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="TESTSET_ITEMLIST_JOINEDITEM"> - <column name="`ITEMLIST_JOINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a554fabf4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,105 +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"> - <typedef name="nameType" class="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.NameType"/> - <typedef name="usertype.PhoneNumber" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - <param name="edatatype">PhoneNumber</param> - </typedef> - <typedef name="intArrayType" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - <param name="edatatype">IntArray</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" polymorphism="explicit" optimistic-lock="version" dynamic-insert="true" dynamic-update="true" select-before-update="true" persister="org.hibernate.persister.entity.SingleTableEntityPersister" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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="nameType"> - <column not-null="false" unique="false" name="`first_name`"/> - <column not-null="false" unique="false" name="`last_name`"/> - </property> - <property name="numbers" lazy="false" insert="true" update="true" not-null="true" unique="false" type="intArrayType"> - <column not-null="true" unique="false" name="`numbers`"/> - </property> - <list name="phoneNumbers" table="`person_phonenumbers`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_phonenumbers_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`person_phonenumbers_idx`"/> - <element type="usertype.PhoneNumber"/> - </list> - <property name="emergencyContact" lazy="false" insert="true" update="true" not-null="false" unique="false" type="usertype.PhoneNumber"> - <column not-null="false" unique="false" name="`emergencycontact`"/> - </property> - <bag name="addresses" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`address_person_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Address"/> - </bag> - <property name="birthPlace" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`birthplace`"/> - </property> - <property name="double" lazy="false" insert="true" update="true" not-null="true" unique="false"> - <column not-null="true" unique="false" name="`double`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - <param name="edatatype">myDoubleType</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</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 type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="addressInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`addressinfo`"/> - </property> - <many-to-one name="person" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_person" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_person_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.CityImpl" entity-name="City" abstract="false" lazy="false" discriminator-value="City" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="assigned"/> - </id> - <discriminator type="string"> - <column name="dtype" index="citydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CitySize</param> - <param name="eclassifier">CitySize</param> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - </type> - </property> - </class> - <query name="getPersonByBirthPlace2"><![CDATA[select p from Person p where p.birthPlace=?]]></query> - <query name="getPersonByBirthPlace"><![CDATA[select p from Person p where p.birthPlace=?]]></query> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index bc9798973..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,96 +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"> - <typedef name="nameType" class="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.NameType"/> - <typedef name="usertype.PhoneNumber" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - <param name="edatatype">PhoneNumber</param> - </typedef> - <typedef name="intArrayType" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - <param name="edatatype">IntArray</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" polymorphism="explicit" optimistic-lock="version" dynamic-insert="true" dynamic-update="true" select-before-update="true" persister="org.hibernate.persister.entity.SingleTableEntityPersister" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</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> - <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="nameType"> - <column not-null="false" unique="false" name="`first_name`"/> - <column not-null="false" unique="false" name="`last_name`"/> - </property> - <property name="numbers" lazy="false" insert="true" update="true" not-null="true" unique="false" type="intArrayType"> - <column not-null="true" unique="false" name="`numbers`"/> - </property> - <list name="phoneNumbers" table="`person_phonenumbers`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_phonenumbers_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`person_phonenumbers_idx`"/> - <element type="usertype.PhoneNumber"/> - </list> - <property name="emergencyContact" lazy="false" insert="true" update="true" not-null="false" unique="false" type="usertype.PhoneNumber"> - <column not-null="false" unique="false" name="`emergencycontact`"/> - </property> - <bag name="addresses" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`address_person_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Address"/> - </bag> - <property name="birthPlace" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`birthplace`"/> - </property> - <property name="double" lazy="false" insert="true" update="true" not-null="true" unique="false"> - <column not-null="true" unique="false" name="`double`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - <param name="edatatype">myDoubleType</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="addressInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`addressinfo`"/> - </property> - <many-to-one name="person" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_person" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_person_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="assigned"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CitySize</param> - <param name="eclassifier">CitySize</param> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - </type> - </property> - </class> - <query name="getPersonByBirthPlace2"><![CDATA[select p from Person p where p.birthPlace=?]]></query> - <query name="getPersonByBirthPlace"><![CDATA[select p from Person p where p.birthPlace=?]]></query> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index bc9798973..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,96 +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"> - <typedef name="nameType" class="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.NameType"/> - <typedef name="usertype.PhoneNumber" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - <param name="edatatype">PhoneNumber</param> - </typedef> - <typedef name="intArrayType" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - <param name="edatatype">IntArray</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" polymorphism="explicit" optimistic-lock="version" dynamic-insert="true" dynamic-update="true" select-before-update="true" persister="org.hibernate.persister.entity.SingleTableEntityPersister" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</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> - <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="nameType"> - <column not-null="false" unique="false" name="`first_name`"/> - <column not-null="false" unique="false" name="`last_name`"/> - </property> - <property name="numbers" lazy="false" insert="true" update="true" not-null="true" unique="false" type="intArrayType"> - <column not-null="true" unique="false" name="`numbers`"/> - </property> - <list name="phoneNumbers" table="`person_phonenumbers`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_phonenumbers_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`person_phonenumbers_idx`"/> - <element type="usertype.PhoneNumber"/> - </list> - <property name="emergencyContact" lazy="false" insert="true" update="true" not-null="false" unique="false" type="usertype.PhoneNumber"> - <column not-null="false" unique="false" name="`emergencycontact`"/> - </property> - <bag name="addresses" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`address_person_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Address"/> - </bag> - <property name="birthPlace" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`birthplace`"/> - </property> - <property name="double" lazy="false" insert="true" update="true" not-null="true" unique="false"> - <column not-null="true" unique="false" name="`double`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - <param name="edatatype">myDoubleType</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="addressInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`addressinfo`"/> - </property> - <many-to-one name="person" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_person" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_person_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="assigned"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CitySize</param> - <param name="eclassifier">CitySize</param> - <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param> - </type> - </property> - </class> - <query name="getPersonByBirthPlace2"><![CDATA[select p from Person p where p.birthPlace=?]]></query> - <query name="getPersonByBirthPlace"><![CDATA[select p from Person p where p.birthPlace=?]]></query> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/Bz402727Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/Bz402727Action_hsqldb_e_o_hibernate.hbm.xml deleted file mode 100644 index 580707ee0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/Bz402727Action_hsqldb_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,493 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`BOOK`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`TITLE`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`PAGES`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BOOK_AUTHOR" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`BOOK_AUTHOR_E_ID`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TEST`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`LIBRARY`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key foreign-key="SCHRIJVERS_KEY" update="true"> - <column name="`LIBRARY_WRITERS_E_ID`" unique="false"/> - </key> - <list-index column="`TEST_INDEX`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key foreign-key="LIBRARY_BOOKS_KEY" update="true"> - <column name="`LIBRARY_BOOKS_E_ID`" unique="false"/> - </key> - <list-index column="`LIBRARY_BOOKS_IDX`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`WRITER`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`BOOK_AUTHOR_E_ID`" unique="false"/> - </key> - <list-index column="`WRITER_BOOKS_IDX`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" table="`TENEOAUDITCOMMITINFO`"> - <meta attribute="eclassName" inherit="false">TeneoAuditCommitInfo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/hibernate/auditing</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - <generator class="native"/> - </id> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`VERSION`"/> - </version> - <property name="user" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`USER`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`COMMENT`" length="2000"/> - </property> - <property name="commitTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`COMMITTIME`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BookAuditing" abstract="false" lazy="false" table="`BOOKAUDITING`"> - <meta attribute="eclassName" inherit="false">BookAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/LibraryAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BOOKAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TITLE`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`PAGES`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUTHOR`"/> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TEST`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="LibraryAuditing" abstract="false" lazy="false" table="`LIBRARYAUDITING`"> - <meta attribute="eclassName" inherit="false">LibraryAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/LibraryAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LIBRARYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <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="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all"> - <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true"> - <column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all"> - <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true"> - <column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WriterAuditing" abstract="false" lazy="false" table="`WRITERAUDITING`"> - <meta attribute="eclassName" inherit="false">WriterAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/LibraryAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="WRITERAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <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="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all"> - <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true"> - <column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`WRITERAUDITING_BOOKS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="audit_Book" abstract="false" lazy="false" table="`AUDIT_BOOK`"> - <meta attribute="eclassName" inherit="false">audit_Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/LibraryAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="AUDIT_BOOK_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TITLE`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`PAGES`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUTHOR`"/> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TEST`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="audit_Library" abstract="false" lazy="false" table="`AUDIT_LIBRARY`"> - <meta attribute="eclassName" inherit="false">audit_Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/LibraryAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="AUDIT_LIBRARY_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <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="writers" table="`AUDIT_LIBRARY_WRITERSAUDITING`" lazy="true" cascade="all"> - <key foreign-key="AUDIT_LIBRARY_WRITERS_KEY" update="true"> - <column name="`AUDIT_LIBRARY_WRITERS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`AUDIT_LIBRARY_WRITERS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="books" table="`AUDIT_LIBRARY_BOOKSAUDITING`" lazy="true" cascade="all"> - <key foreign-key="AUDIT_LIBRARY_BOOKS_KEY" update="true"> - <column name="`AUDIT_LIBRARY_BOOKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`AUDIT_LIBRARY_BOOKS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="audit_Writer" abstract="false" lazy="false" table="`AUDIT_WRITER`"> - <meta attribute="eclassName" inherit="false">audit_Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/LibraryAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="AUDIT_WRITER_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <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="books" table="`AUDIT_WRITER_BOOKSAUDITING`" lazy="true" cascade="all"> - <key foreign-key="AUDIT_WRITER_BOOKS_KEY" update="true"> - <column name="`AUDIT_WRITER_BOOKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`AUDIT_WRITER_BOOKS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/Bz402727Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/Bz402727Action_hsqldb_h_o_hibernate.hbm.xml deleted file mode 100644 index a3f4e5606..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/Bz402727Action_hsqldb_h_o_hibernate.hbm.xml +++ /dev/null @@ -1,320 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`BOOK`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`TITLE`"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="BOOKDTYPE" length="255" not-null="true"/> - </discriminator> - <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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`PAGES`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BOOK_AUTHOR" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`BOOK_AUTHOR_E_ID`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TEST`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`LIBRARY`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <discriminator type="string"> - <column name="`DTYPE`" index="LIBRARYDTYPE" length="255" not-null="true"/> - </discriminator> - <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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key foreign-key="SCHRIJVERS_KEY" update="true"> - <column name="`LIBRARY_WRITERS_E_ID`" unique="false"/> - </key> - <list-index column="`TEST_INDEX`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key foreign-key="LIBRARY_BOOKS_KEY" update="true"> - <column name="`LIBRARY_BOOKS_E_ID`" unique="false"/> - </key> - <list-index column="`LIBRARY_BOOKS_IDX`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`WRITER`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <discriminator type="string"> - <column name="`DTYPE`" index="WRITERDTYPE" length="255" not-null="true"/> - </discriminator> - <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="books" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`BOOK_AUTHOR_E_ID`" unique="false"/> - </key> - <list-index column="`WRITER_BOOKS_IDX`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" discriminator-value="TeneoAuditCommitInfo" table="`TENEOAUDITCOMMITINFO`"> - <meta attribute="eclassName" inherit="false">TeneoAuditCommitInfo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/hibernate/auditing</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="TENEOAUDITCOMMITINFODTYPE" length="255" not-null="true"/> - </discriminator> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`VERSION`"/> - </version> - <property name="user" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`USER`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`COMMENT`" length="2000"/> - </property> - <property name="commitTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`COMMITTIME`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BookAuditing" abstract="false" lazy="false" discriminator-value="BookAuditing" table="`BOOKAUDITING`"> - <meta attribute="eclassName" inherit="false">BookAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/LibraryAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="BOOKAUDITINGDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BOOKAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TITLE`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`PAGES`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUTHOR`"/> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TEST`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="LibraryAuditing" abstract="false" lazy="false" discriminator-value="LibraryAuditing" table="`LIBRARYAUDITING`"> - <meta attribute="eclassName" inherit="false">LibraryAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/LibraryAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="LIBRARYAUDITINGDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LIBRARYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <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="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all"> - <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true"> - <column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all"> - <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true"> - <column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WriterAuditing" abstract="false" lazy="false" discriminator-value="WriterAuditing" table="`WRITERAUDITING`"> - <meta attribute="eclassName" inherit="false">WriterAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/LibraryAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="WRITERAUDITINGDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="WRITERAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <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="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all"> - <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true"> - <column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`WRITERAUDITING_BOOKS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/EmployeeAuditingAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/EmployeeAuditingAction_hsqldb_e_o_hibernate.hbm.xml deleted file mode 100644 index 0bdc59248..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/EmployeeAuditingAction_hsqldb_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,63 +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="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.DepartmentImpl" entity-name="Department" abstract="false" lazy="false" table="`DEPARTMENT`"> - <meta attribute="eclassName" inherit="false">Department</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <bag name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="DEPARTMENT_EMPLOYEES"> - <column name="`DEPARTMENT_EMPLOYEES_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Employee"/> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`EMPLOYEE`"> - <meta attribute="eclassName" inherit="false">Employee</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <property name="salary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`SALARY`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`AGE`"/> - </property> - <property name="hireDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`HIREDATE`"/> - </property> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - <filter name="hireDate" condition="hireDate > :date"/> - </class> - <filter-def name="hireDate"> - <filter-param name="date" type="date"/> - </filter-def> - <filter-def name="ageRange"> - <filter-param name="fromAge" type="integer"/> - <filter-param name="toAge" type="integer"/> - </filter-def> - <filter-def name="salaryHigherThan"> - <filter-param name="salary" type="integer"/> - </filter-def> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/EmployeeAuditingAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/EmployeeAuditingAction_hsqldb_h_o_hibernate.hbm.xml deleted file mode 100644 index db7ff8858..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.auditing/EmployeeAuditingAction_hsqldb_h_o_hibernate.hbm.xml +++ /dev/null @@ -1,69 +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="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.DepartmentImpl" entity-name="Department" abstract="false" lazy="false" discriminator-value="Department" table="`DEPARTMENT`"> - <meta attribute="eclassName" inherit="false">Department</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <discriminator type="string"> - <column name="`DTYPE`" index="DEPARTMENTDTYPE" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="DEPARTMENT_EMPLOYEES"> - <column name="`DEPARTMENT_EMPLOYEES_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Employee"/> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`EMPLOYEE`"> - <meta attribute="eclassName" inherit="false">Employee</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <discriminator type="string"> - <column name="`DTYPE`" index="EMPLOYEEDTYPE" length="255" not-null="true"/> - </discriminator> - <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> - <property name="salary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`SALARY`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`AGE`"/> - </property> - <property name="hireDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`HIREDATE`"/> - </property> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - <filter name="hireDate" condition="hireDate > :date"/> - </class> - <filter-def name="hireDate"> - <filter-param name="date" type="date"/> - </filter-def> - <filter-def name="ageRange"> - <filter-param name="fromAge" type="integer"/> - <filter-param name="toAge" type="integer"/> - </filter-def> - <filter-def name="salaryHigherThan"> - <filter-param name="salary" type="integer"/> - </filter-def> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_hsqldb_e_o_hibernate.hbm.xml deleted file mode 100644 index e69de29bb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_hsqldb_e_o_hibernate.hbm.xml +++ /dev/null diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_hsqldb_h_o_hibernate.hbm.xml deleted file mode 100644 index e69de29bb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_hsqldb_h_o_hibernate.hbm.xml +++ /dev/null diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 1b7b1b1b8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,76 +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="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.ContactsImpl" entity-name="Contacts" abstract="false" lazy="false" discriminator-value="Contacts" table="`contacts`"> - <meta attribute="eclassName">Contacts</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/detach/detachfeaturemap</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 type="string"> - <column name="dtype" index="contactsdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="persons" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="contacts_persons"> - <column name="`contacts_persons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`contacts_persons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/detach/detachfeaturemap</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="phones" table="`person_phones`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_phones_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_phones_idx`"/> - <one-to-many entity-name="Person_phones"/> - </list> - </class> - <class entity-name="Person_phones" lazy="false" table="`person_phones`"> - <meta attribute="featureMap">Person</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="office" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_office`"/> - </property> - <property name="mobile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_mobile`"/> - </property> - <property name="fax" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_fax`"/> - </property> - <property name="home" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_home`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.SpecialPersonImpl" entity-name="SpecialPerson" abstract="false" lazy="false" extends="Person" discriminator-value="SpecialPerson"> - <meta attribute="eclassName">SpecialPerson</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/detach/detachfeaturemap</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f37f9b79e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,73 +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="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.ContactsImpl" entity-name="Contacts" abstract="false" lazy="false" table="`contacts`"> - <meta attribute="eclassName">Contacts</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/detach/detachfeaturemap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="persons" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="contacts_persons"> - <column name="`contacts_persons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`contacts_persons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/detach/detachfeaturemap</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> - <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> - <list name="phones" table="`person_phones`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_phones_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_phones_idx`"/> - <one-to-many entity-name="Person_phones"/> - </list> - </class> - <class entity-name="Person_phones" lazy="false" table="`person_phones`"> - <meta attribute="featureMap">Person</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="office" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_office`"/> - </property> - <property name="mobile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_mobile`"/> - </property> - <property name="fax" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_fax`"/> - </property> - <property name="home" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_home`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.SpecialPersonImpl" entity-name="SpecialPerson" abstract="false" lazy="false" extends="Person" table="`specialperson`"> - <meta attribute="eclassName">SpecialPerson</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/detach/detachfeaturemap</meta> - <key> - <column name="`person_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f37f9b79e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachFeatureMapTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,73 +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="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.ContactsImpl" entity-name="Contacts" abstract="false" lazy="false" table="`contacts`"> - <meta attribute="eclassName">Contacts</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/detach/detachfeaturemap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="persons" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="contacts_persons"> - <column name="`contacts_persons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`contacts_persons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/detach/detachfeaturemap</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> - <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> - <list name="phones" table="`person_phones`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_phones_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_phones_idx`"/> - <one-to-many entity-name="Person_phones"/> - </list> - </class> - <class entity-name="Person_phones" lazy="false" table="`person_phones`"> - <meta attribute="featureMap">Person</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="office" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_office`"/> - </property> - <property name="mobile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_mobile`"/> - </property> - <property name="fax" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_fax`"/> - </property> - <property name="home" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phones_home`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.SpecialPersonImpl" entity-name="SpecialPerson" abstract="false" lazy="false" extends="Person" table="`specialperson`"> - <meta attribute="eclassName">SpecialPerson</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/detach/detachfeaturemap</meta> - <key> - <column name="`person_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index b37071b51..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,69 +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="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestAImpl" entity-name="TestA" abstract="false" lazy="false" discriminator-value="TestA" table="`testa`"> - <meta attribute="eclassName">TestA</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachtest</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 type="string"> - <column name="dtype" index="testadtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - <many-to-one name="testB" entity-name="TestB" lazy="false" cascade="all" foreign-key="testa_testb" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`testb_testb_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestBImpl" entity-name="TestB" abstract="false" lazy="false" discriminator-value="TestB" table="`testb`"> - <meta attribute="eclassName">TestB</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachtest</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 type="string"> - <column name="dtype" index="testbdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestCImpl" entity-name="TestC" abstract="false" lazy="false" discriminator-value="TestC" table="`testc`"> - <meta attribute="eclassName">TestC</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachtest</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 type="string"> - <column name="dtype" index="testcdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - <property name="myDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`mydate`"/> - </property> - <list name="testB" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="testc_testb"> - <column name="`testc_testb_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`testc_testb_idx`"/> - <one-to-many entity-name="TestB"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 8df7d36ed..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,60 +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="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestAImpl" entity-name="TestA" abstract="false" lazy="false" table="`testa`"> - <meta attribute="eclassName">TestA</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachtest</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - <many-to-one name="testB" entity-name="TestB" lazy="false" cascade="all" foreign-key="testa_testb" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`testb_testb_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestBImpl" entity-name="TestB" abstract="false" lazy="false" table="`testb`"> - <meta attribute="eclassName">TestB</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachtest</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestCImpl" entity-name="TestC" abstract="false" lazy="false" table="`testc`"> - <meta attribute="eclassName">TestC</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachtest</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - <property name="myDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`mydate`"/> - </property> - <list name="testB" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="testc_testb"> - <column name="`testc_testb_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`testc_testb_idx`"/> - <one-to-many entity-name="TestB"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 8df7d36ed..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.detach/DetachTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,60 +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="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestAImpl" entity-name="TestA" abstract="false" lazy="false" table="`testa`"> - <meta attribute="eclassName">TestA</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachtest</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - <many-to-one name="testB" entity-name="TestB" lazy="false" cascade="all" foreign-key="testa_testb" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`testb_testb_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestBImpl" entity-name="TestB" abstract="false" lazy="false" table="`testb`"> - <meta attribute="eclassName">TestB</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachtest</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestCImpl" entity-name="TestC" abstract="false" lazy="false" table="`testc`"> - <meta attribute="eclassName">TestC</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachtest</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - <property name="myDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`mydate`"/> - </property> - <list name="testB" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="testc_testb"> - <column name="`testc_testb_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`testc_testb_idx`"/> - <one-to-many entity-name="TestB"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 0060516f4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,127 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" table="`pricebyquantitytype`"> - <meta attribute="eclassName">PriceByQuantityType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`producttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group_idx`"/> - <one-to-many entity-name="ProductType_group"/> - </list> - <property name="productClassification" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`productclassification`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param> - <param name="eclassifier">ProductClassification</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - </type> - </property> - <list name="group1" table="`producttype_group1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group1_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group1_idx`"/> - <one-to-many entity-name="ProductType_group1"/> - </list> - </class> - <class entity-name="ProductType_group" lazy="false" table="`producttype_group`"> - <meta attribute="featureMap">ProductType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_description`"/> - </property> - <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_translateddescription" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_translateddescriptiontype_translateddescription_e_id`"/> - </many-to-one> - </class> - <class entity-name="ProductType_group1" lazy="false" table="`producttype_group1`"> - <meta attribute="featureMap">ProductType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="priceByQuantity" entity-name="PriceByQuantityType" lazy="false" cascade="all" foreign-key="producttype_pricebyquantity" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_pricebyquantitytype_pricebyquantity_e_id`"/> - </many-to-one> - <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_pricefromsupplier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_supplierpricetype_pricefromsupplier_e_id`"/> - </many-to-one> - <property name="simplePrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`group1_simpleprice`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" table="`supplierpricetype`"> - <meta attribute="eclassName">SupplierPriceType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <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> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" table="`translateddescriptiontype`"> - <meta attribute="eclassName">TranslatedDescriptionType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="language" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`language`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ea8557f3b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,129 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" discriminator-value="PriceByQuantityType" table="`pricebyquantitytype`"> - <meta attribute="eclassName">PriceByQuantityType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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 type="string"> - <column name="dtype" index="pricebyquantitytypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="producttypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`producttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group_idx`"/> - <composite-element class="org.eclipse.emf.teneo.hibernate.mapping.elist.HibernateFeatureMapEntry"> - <meta attribute="featureMap">ProductType</meta> - <tuplizer entity-mode="pojo" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <property name="fme_feature" type="java.lang.String"/> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_description`"/> - </property> - <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_translateddescription" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_translateddescriptiontype_translateddescription_e_id`"/> - </many-to-one> - </composite-element> - </list> - <property name="productClassification" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`productclassification`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param> - <param name="eclassifier">ProductClassification</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - </type> - </property> - <list name="group1" table="`producttype_group1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group1_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group1_idx`"/> - <composite-element class="org.eclipse.emf.teneo.hibernate.mapping.elist.HibernateFeatureMapEntry"> - <meta attribute="featureMap">ProductType</meta> - <tuplizer entity-mode="pojo" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="priceByQuantity" entity-name="PriceByQuantityType" lazy="false" cascade="all" foreign-key="producttype_pricebyquantity" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_pricebyquantitytype_pricebyquantity_e_id`"/> - </many-to-one> - <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_pricefromsupplier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_supplierpricetype_pricefromsupplier_e_id`"/> - </many-to-one> - <property name="simplePrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`group1_simpleprice`"/> - </property> - </composite-element> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" discriminator-value="SupplierPriceType" table="`supplierpricetype`"> - <meta attribute="eclassName">SupplierPriceType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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 type="string"> - <column name="dtype" index="supplierpricetypedtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" discriminator-value="TranslatedDescriptionType" table="`translateddescriptiontype`"> - <meta attribute="eclassName">TranslatedDescriptionType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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 type="string"> - <column name="dtype" index="translateddescriptiontypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="language" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`language`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index eb1b44083..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,117 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" table="`pricebyquantitytype`"> - <meta attribute="eclassName">PriceByQuantityType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`producttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group_idx`"/> - <composite-element class="org.eclipse.emf.teneo.hibernate.mapping.elist.HibernateFeatureMapEntry"> - <meta attribute="featureMap">ProductType</meta> - <tuplizer entity-mode="pojo" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <property name="fme_feature" type="java.lang.String"/> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_description`"/> - </property> - <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_translateddescription" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_translateddescriptiontype_translateddescription_e_id`"/> - </many-to-one> - </composite-element> - </list> - <property name="productClassification" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`productclassification`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param> - <param name="eclassifier">ProductClassification</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - </type> - </property> - <list name="group1" table="`producttype_group1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group1_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group1_idx`"/> - <composite-element class="org.eclipse.emf.teneo.hibernate.mapping.elist.HibernateFeatureMapEntry"> - <meta attribute="featureMap">ProductType</meta> - <tuplizer entity-mode="pojo" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="priceByQuantity" entity-name="PriceByQuantityType" lazy="false" cascade="all" foreign-key="producttype_pricebyquantity" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_pricebyquantitytype_pricebyquantity_e_id`"/> - </many-to-one> - <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_pricefromsupplier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_supplierpricetype_pricefromsupplier_e_id`"/> - </many-to-one> - <property name="simplePrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`group1_simpleprice`"/> - </property> - </composite-element> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" table="`supplierpricetype`"> - <meta attribute="eclassName">SupplierPriceType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <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> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" table="`translateddescriptiontype`"> - <meta attribute="eclassName">TranslatedDescriptionType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="language" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`language`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index eb1b44083..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapComponentAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,117 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" table="`pricebyquantitytype`"> - <meta attribute="eclassName">PriceByQuantityType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`producttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group_idx`"/> - <composite-element class="org.eclipse.emf.teneo.hibernate.mapping.elist.HibernateFeatureMapEntry"> - <meta attribute="featureMap">ProductType</meta> - <tuplizer entity-mode="pojo" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <property name="fme_feature" type="java.lang.String"/> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_description`"/> - </property> - <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_translateddescription" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_translateddescriptiontype_translateddescription_e_id`"/> - </many-to-one> - </composite-element> - </list> - <property name="productClassification" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`productclassification`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param> - <param name="eclassifier">ProductClassification</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - </type> - </property> - <list name="group1" table="`producttype_group1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group1_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group1_idx`"/> - <composite-element class="org.eclipse.emf.teneo.hibernate.mapping.elist.HibernateFeatureMapEntry"> - <meta attribute="featureMap">ProductType</meta> - <tuplizer entity-mode="pojo" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.teneo.hibernate.mapping.elist.FeatureMapEntryComponentTuplizer"/> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="priceByQuantity" entity-name="PriceByQuantityType" lazy="false" cascade="all" foreign-key="producttype_pricebyquantity" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_pricebyquantitytype_pricebyquantity_e_id`"/> - </many-to-one> - <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_pricefromsupplier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_supplierpricetype_pricefromsupplier_e_id`"/> - </many-to-one> - <property name="simplePrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`group1_simpleprice`"/> - </property> - </composite-element> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" table="`supplierpricetype`"> - <meta attribute="eclassName">SupplierPriceType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <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> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" table="`translateddescriptiontype`"> - <meta attribute="eclassName">TranslatedDescriptionType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="language" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`language`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 5af952a97..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,13 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="PriceByQuantityType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ProductType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SupplierPriceType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TranslatedDescriptionType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 5af952a97..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,13 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="PriceByQuantityType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ProductType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SupplierPriceType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TranslatedDescriptionType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 5af952a97..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.elist/FeatureMapEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,13 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="PriceByQuantityType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ProductType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SupplierPriceType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TranslatedDescriptionType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml deleted file mode 100644 index 4dc6c1c76..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.jpa2.associationoverride.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`ADDRESS`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverride</meta> - <id type="long" name="myid" column="myid" 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="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`STREET`"/> - </property> - <property name="postalCode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`POSTALCODE`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.jpa2.associationoverride.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`EMPLOYEE`"> - <meta attribute="eclassName" inherit="false">Employee</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </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="address" table="`ABC`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EMPLOYEE_ADDR_ID`" unique="false"/> - </key> - <list-index column="`PERSON_ADDRESS_IDX`"/> - <many-to-many entity-name="Address" unique="true" foreign-key="EMPLOYEE_ADDRESS"/> - </list> - <property name="department" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`DEPARTMENT`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.jpa2.associationoverride.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" table="`STUDENT`"> - <meta attribute="eclassName" inherit="false">Student</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </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="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STUDENT_ADDRESS"> - <column name="`STUDENT_ADDRESS_ID`" unique="false"/> - </key> - <list-index column="`STUDENT_ADDRESS_IDX`"/> - <one-to-many entity-name="Address"/> - </list> - <property name="faculty" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`FACULTY`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml deleted file mode 100644 index 78b413484..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml +++ /dev/null @@ -1,77 +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="org.eclipse.emf.teneo.samples.emf.jpa2.associationoverride.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`ADDRESS`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverride</meta> - <id type="long" name="myid" column="myid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="ADDRESSDTYPE" length="255" not-null="true"/> - </discriminator> - <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="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`STREET`"/> - </property> - <property name="postalCode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`POSTALCODE`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.jpa2.associationoverride.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`EMPLOYEE`"> - <meta attribute="eclassName" inherit="false">Employee</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="EMPLOYEEDTYPE" length="255" not-null="true"/> - </discriminator> - <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="address" table="`ABC`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EMPLOYEE_ADDR_ID`" unique="false"/> - </key> - <list-index column="`PERSON_ADDRESS_IDX`"/> - <many-to-many entity-name="Address" unique="true" foreign-key="EMPLOYEE_ADDRESS"/> - </list> - <property name="department" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`DEPARTMENT`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.jpa2.associationoverride.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" discriminator-value="Student" table="`STUDENT`"> - <meta attribute="eclassName" inherit="false">Student</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="STUDENTDTYPE" length="255" not-null="true"/> - </discriminator> - <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="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STUDENT_ADDRESS"> - <column name="`STUDENT_ADDRESS_ID`" unique="false"/> - </key> - <list-index column="`STUDENT_ADDRESS_IDX`"/> - <one-to-many entity-name="Address"/> - </list> - <property name="faculty" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`FACULTY`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 78e1ae74b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,246 +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="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountImpl" entity-name="Account" abstract="true" lazy="false" discriminator-value="Account" table="`account`"> - <meta attribute="eclassName">Account</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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 type="string"> - <column name="dtype" index="accountdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountGroupImpl" entity-name="AccountGroup" abstract="false" lazy="false" discriminator-value="AccountGroup" table="`accountgroup`"> - <meta attribute="eclassName">AccountGroup</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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 type="string"> - <column name="dtype" index="accountgroupdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="account" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accountgroup_account"> - <column name="`accountgroup_account_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accountgroup_account_idx`"/> - <one-to-many entity-name="Account"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountingImpl" entity-name="Accounting" abstract="false" lazy="false" discriminator-value="Accounting" table="`accounting`"> - <meta attribute="eclassName">Accounting</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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 type="string"> - <column name="dtype" index="accountingdtype" length="255" not-null="true"/> - </discriminator> - <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="accountGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accounting_accountgroup"> - <column name="`accounting_accountgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accounting_accountgroup_idx`"/> - <one-to-many entity-name="AccountGroup"/> - </list> - <list name="vat" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accounting_vat"> - <column name="`accounting_vat_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accounting_vat_idx`"/> - <one-to-many entity-name="Vat"/> - </list> - <many-to-one name="vatAccount" entity-name="BalanceAccount" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="accounting_vataccount" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`balanceaccount_vataccount_e_id`"/> - </many-to-one> - <many-to-one name="report" entity-name="Report" lazy="false" cascade="all" foreign-key="accounting_report" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`report_report_e_id`"/> - </many-to-one> - <list name="journalGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accounting_journalgroup"> - <column name="`accounting_journalgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accounting_journalgroup_idx`"/> - <one-to-many entity-name="JournalGroup"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.BalanceAccountImpl" entity-name="BalanceAccount" abstract="false" lazy="false" extends="Account" discriminator-value="BalanceAccount"> - <meta attribute="eclassName">BalanceAccount</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</meta> - <list name="report" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`balanceaccount_reportgroup`"> - <key update="true"> - <column name="`balanceaccount_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`balanceaccount_report_idx`"/> - <many-to-many entity-name="ReportGroup" unique="false" foreign-key="balanceaccount_report"> - <column name="`reportgroup_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.JournalGroupImpl" entity-name="JournalGroup" abstract="false" lazy="false" discriminator-value="JournalGroup" table="`journalgroup`"> - <meta attribute="eclassName">JournalGroup</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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 type="string"> - <column name="dtype" index="journalgroupdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="journalGroups" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="journalgroup_journalgroups"> - <column name="`journalgroup_journalgroups_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`journalgroup_journalgroups_idx`"/> - <one-to-many entity-name="JournalGroup"/> - </list> - <list name="journalStatements" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="journalgroup_journalstatements"> - <column name="`journalgroup_journalstatements_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`journalgroup_journalstatements_idx`"/> - <one-to-many entity-name="JournalStatement"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.JournalStatementImpl" entity-name="JournalStatement" abstract="false" lazy="false" discriminator-value="JournalStatement" table="`journalstatement`"> - <meta attribute="eclassName">JournalStatement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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 type="string"> - <column name="dtype" index="journalstatementdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="date" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`date`"/> - </property> - <property name="amount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`amount`"/> - </property> - <many-to-one name="debitAccount" entity-name="Account" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="journalstatement_debitaccount" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`account_debitaccount_e_id`"/> - </many-to-one> - <many-to-one name="creditAccount" entity-name="Account" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="journalstatement_creditaccount" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`account_creditaccount_e_id`"/> - </many-to-one> - <many-to-one name="vat" entity-name="Vat" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="journalstatement_vat" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vat_vat_e_id`"/> - </many-to-one> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.PLAccountImpl" entity-name="PLAccount" abstract="false" lazy="false" extends="Account" discriminator-value="PLAccount"> - <meta attribute="eclassName">PLAccount</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</meta> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.ReportImpl" entity-name="Report" abstract="false" lazy="false" discriminator-value="Report" table="`report`"> - <meta attribute="eclassName">Report</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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 type="string"> - <column name="dtype" index="reportdtype" length="255" not-null="true"/> - </discriminator> - <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="debitReportGroup" entity-name="ReportGroup" lazy="false" cascade="all" foreign-key="report_debitreportgroup" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`reportgroup_debitreportgroup_e_id`"/> - </many-to-one> - <many-to-one name="creditReportGroup" entity-name="ReportGroup" lazy="false" cascade="all" foreign-key="report_creditreportgroup" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`reportgroup_creditreportgroup_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.ReportGroupImpl" entity-name="ReportGroup" abstract="false" lazy="false" discriminator-value="ReportGroup" table="`reportgroup`"> - <meta attribute="eclassName">ReportGroup</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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 type="string"> - <column name="dtype" index="reportgroupdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="reportGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="reportgroup_reportgroup"> - <column name="`reportgroup_reportgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`reportgroup_reportgroup_idx`"/> - <one-to-many entity-name="ReportGroup"/> - </list> - <list name="account" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`reportgroup_balanceaccount`"> - <key update="true"> - <column name="`reportgroup_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`reportgroup_account_idx`"/> - <many-to-many entity-name="BalanceAccount" unique="false" foreign-key="reportgroup_account"> - <column name="`balanceaccount_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.VatImpl" entity-name="Vat" abstract="false" lazy="false" discriminator-value="Vat" table="`vat`"> - <meta attribute="eclassName">Vat</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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 type="string"> - <column name="dtype" index="vatdtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="rate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`rate`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 55744b4d5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,228 +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="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountImpl" entity-name="Account" abstract="true" lazy="false" table="`account`"> - <meta attribute="eclassName" inherit="false">Account</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountGroupImpl" entity-name="AccountGroup" abstract="false" lazy="false" table="`accountgroup`"> - <meta attribute="eclassName" inherit="false">AccountGroup</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="account" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accountgroup_account"> - <column name="`accountgroup_account_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accountgroup_account_idx`"/> - <one-to-many entity-name="Account"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountingImpl" entity-name="Accounting" abstract="false" lazy="false" table="`accounting`"> - <meta attribute="eclassName" inherit="false">Accounting</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="accountGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accounting_accountgroup"> - <column name="`accounting_accountgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accounting_accountgroup_idx`"/> - <one-to-many entity-name="AccountGroup"/> - </list> - <list name="vat" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accounting_vat"> - <column name="`accounting_vat_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accounting_vat_idx`"/> - <one-to-many entity-name="Vat"/> - </list> - <many-to-one name="vatAccount" entity-name="BalanceAccount" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="accounting_vataccount" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`balanceaccount_vataccount_e_id`"/> - </many-to-one> - <many-to-one name="report" entity-name="Report" lazy="false" cascade="all" foreign-key="accounting_report" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`report_report_e_id`"/> - </many-to-one> - <list name="journalGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accounting_journalgroup"> - <column name="`accounting_journalgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accounting_journalgroup_idx`"/> - <one-to-many entity-name="JournalGroup"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.BalanceAccountImpl" entity-name="BalanceAccount" abstract="false" lazy="false" extends="Account" table="`balanceaccount`"> - <meta attribute="eclassName" inherit="false">BalanceAccount</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</meta> - <key> - <column name="`account_e_id`"/> - </key> - <list name="report" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`balanceaccount_reportgroup`"> - <key update="true"> - <column name="`balanceaccount_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`balanceaccount_report_idx`"/> - <many-to-many entity-name="ReportGroup" unique="false" foreign-key="balanceaccount_report"> - <column name="`reportgroup_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.JournalGroupImpl" entity-name="JournalGroup" abstract="false" lazy="false" table="`journalgroup`"> - <meta attribute="eclassName" inherit="false">JournalGroup</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="journalGroups" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="journalgroup_journalgroups"> - <column name="`journalgroup_journalgroups_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`journalgroup_journalgroups_idx`"/> - <one-to-many entity-name="JournalGroup"/> - </list> - <list name="journalStatements" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="journalgroup_journalstatements"> - <column name="`journalgroup_journalstatements_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`journalgroup_journalstatements_idx`"/> - <one-to-many entity-name="JournalStatement"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.JournalStatementImpl" entity-name="JournalStatement" abstract="false" lazy="false" table="`journalstatement`"> - <meta attribute="eclassName" inherit="false">JournalStatement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="date" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`date`"/> - </property> - <property name="amount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`amount`"/> - </property> - <many-to-one name="debitAccount" entity-name="Account" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="journalstatement_debitaccount" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`account_debitaccount_e_id`"/> - </many-to-one> - <many-to-one name="creditAccount" entity-name="Account" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="journalstatement_creditaccount" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`account_creditaccount_e_id`"/> - </many-to-one> - <many-to-one name="vat" entity-name="Vat" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="journalstatement_vat" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vat_vat_e_id`"/> - </many-to-one> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.PLAccountImpl" entity-name="PLAccount" abstract="false" lazy="false" extends="Account" table="`placcount`"> - <meta attribute="eclassName" inherit="false">PLAccount</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</meta> - <key> - <column name="`account_e_id`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.ReportImpl" entity-name="Report" abstract="false" lazy="false" table="`report`"> - <meta attribute="eclassName" inherit="false">Report</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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> - <many-to-one name="debitReportGroup" entity-name="ReportGroup" lazy="false" cascade="all" foreign-key="report_debitreportgroup" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`reportgroup_debitreportgroup_e_id`"/> - </many-to-one> - <many-to-one name="creditReportGroup" entity-name="ReportGroup" lazy="false" cascade="all" foreign-key="report_creditreportgroup" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`reportgroup_creditreportgroup_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.ReportGroupImpl" entity-name="ReportGroup" abstract="false" lazy="false" table="`reportgroup`"> - <meta attribute="eclassName" inherit="false">ReportGroup</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="reportGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="reportgroup_reportgroup"> - <column name="`reportgroup_reportgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`reportgroup_reportgroup_idx`"/> - <one-to-many entity-name="ReportGroup"/> - </list> - <list name="account" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`reportgroup_balanceaccount`"> - <key update="true"> - <column name="`reportgroup_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`reportgroup_account_idx`"/> - <many-to-many entity-name="BalanceAccount" unique="false" foreign-key="reportgroup_account"> - <column name="`balanceaccount_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.VatImpl" entity-name="Vat" abstract="false" lazy="false" table="`vat`"> - <meta attribute="eclassName" inherit="false">Vat</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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> - <property name="rate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`rate`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 55744b4d5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,228 +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="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountImpl" entity-name="Account" abstract="true" lazy="false" table="`account`"> - <meta attribute="eclassName" inherit="false">Account</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountGroupImpl" entity-name="AccountGroup" abstract="false" lazy="false" table="`accountgroup`"> - <meta attribute="eclassName" inherit="false">AccountGroup</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="account" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accountgroup_account"> - <column name="`accountgroup_account_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accountgroup_account_idx`"/> - <one-to-many entity-name="Account"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountingImpl" entity-name="Accounting" abstract="false" lazy="false" table="`accounting`"> - <meta attribute="eclassName" inherit="false">Accounting</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="accountGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accounting_accountgroup"> - <column name="`accounting_accountgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accounting_accountgroup_idx`"/> - <one-to-many entity-name="AccountGroup"/> - </list> - <list name="vat" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accounting_vat"> - <column name="`accounting_vat_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accounting_vat_idx`"/> - <one-to-many entity-name="Vat"/> - </list> - <many-to-one name="vatAccount" entity-name="BalanceAccount" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="accounting_vataccount" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`balanceaccount_vataccount_e_id`"/> - </many-to-one> - <many-to-one name="report" entity-name="Report" lazy="false" cascade="all" foreign-key="accounting_report" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`report_report_e_id`"/> - </many-to-one> - <list name="journalGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="accounting_journalgroup"> - <column name="`accounting_journalgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accounting_journalgroup_idx`"/> - <one-to-many entity-name="JournalGroup"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.BalanceAccountImpl" entity-name="BalanceAccount" abstract="false" lazy="false" extends="Account" table="`balanceaccount`"> - <meta attribute="eclassName" inherit="false">BalanceAccount</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</meta> - <key> - <column name="`account_e_id`"/> - </key> - <list name="report" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`balanceaccount_reportgroup`"> - <key update="true"> - <column name="`balanceaccount_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`balanceaccount_report_idx`"/> - <many-to-many entity-name="ReportGroup" unique="false" foreign-key="balanceaccount_report"> - <column name="`reportgroup_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.JournalGroupImpl" entity-name="JournalGroup" abstract="false" lazy="false" table="`journalgroup`"> - <meta attribute="eclassName" inherit="false">JournalGroup</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="journalGroups" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="journalgroup_journalgroups"> - <column name="`journalgroup_journalgroups_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`journalgroup_journalgroups_idx`"/> - <one-to-many entity-name="JournalGroup"/> - </list> - <list name="journalStatements" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="journalgroup_journalstatements"> - <column name="`journalgroup_journalstatements_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`journalgroup_journalstatements_idx`"/> - <one-to-many entity-name="JournalStatement"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.JournalStatementImpl" entity-name="JournalStatement" abstract="false" lazy="false" table="`journalstatement`"> - <meta attribute="eclassName" inherit="false">JournalStatement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="date" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`date`"/> - </property> - <property name="amount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`amount`"/> - </property> - <many-to-one name="debitAccount" entity-name="Account" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="journalstatement_debitaccount" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`account_debitaccount_e_id`"/> - </many-to-one> - <many-to-one name="creditAccount" entity-name="Account" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="journalstatement_creditaccount" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`account_creditaccount_e_id`"/> - </many-to-one> - <many-to-one name="vat" entity-name="Vat" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="journalstatement_vat" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vat_vat_e_id`"/> - </many-to-one> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.PLAccountImpl" entity-name="PLAccount" abstract="false" lazy="false" extends="Account" table="`placcount`"> - <meta attribute="eclassName" inherit="false">PLAccount</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</meta> - <key> - <column name="`account_e_id`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.ReportImpl" entity-name="Report" abstract="false" lazy="false" table="`report`"> - <meta attribute="eclassName" inherit="false">Report</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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> - <many-to-one name="debitReportGroup" entity-name="ReportGroup" lazy="false" cascade="all" foreign-key="report_debitreportgroup" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`reportgroup_debitreportgroup_e_id`"/> - </many-to-one> - <many-to-one name="creditReportGroup" entity-name="ReportGroup" lazy="false" cascade="all" foreign-key="report_creditreportgroup" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`reportgroup_creditreportgroup_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.ReportGroupImpl" entity-name="ReportGroup" abstract="false" lazy="false" table="`reportgroup`"> - <meta attribute="eclassName" inherit="false">ReportGroup</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="reportGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="reportgroup_reportgroup"> - <column name="`reportgroup_reportgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`reportgroup_reportgroup_idx`"/> - <one-to-many entity-name="ReportGroup"/> - </list> - <list name="account" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`reportgroup_balanceaccount`"> - <key update="true"> - <column name="`reportgroup_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`reportgroup_account_idx`"/> - <many-to-many entity-name="BalanceAccount" unique="false" foreign-key="reportgroup_account"> - <column name="`balanceaccount_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.VatImpl" entity-name="Vat" abstract="false" lazy="false" table="`vat`"> - <meta attribute="eclassName" inherit="false">Vat</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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> - <property name="rate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`rate`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/Bz292973$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/Bz292973$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ee32b44a2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/Bz292973$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,100 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`" length="50"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/Bz292973$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/Bz292973$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 5107ea0dc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/Bz292973$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,93 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`" length="50"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/Bz292973$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/Bz292973$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ed75fabbe..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/Bz292973$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,91 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`" length="50"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CapaTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CapaTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d3c9bf020..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CapaTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,186 +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="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.CapacityEntryImpl" entity-name="CapacityEntry" abstract="false" lazy="false" discriminator-value="CapacityEntry" table="`capacityentry`"> - <meta attribute="eclassName">CapacityEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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 type="string"> - <column name="dtype" index="capacityentrydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="capacityEntryId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`capacityentryid`"/> - </property> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.MachineImpl" entity-name="Machine" abstract="false" lazy="false" discriminator-value="Machine" table="`machine`"> - <meta attribute="eclassName">Machine</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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 type="string"> - <column name="dtype" index="machinedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="workWeek" entity-name="WorkWeek" lazy="false" cascade="all" foreign-key="machine_workweek" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`workweek_workweek_e_id`"/> - </many-to-one> - <property name="machineId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`machineid`"/> - </property> - <property name="machineSearchString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`machinesearchstring`"/> - </property> - <property name="multiplicity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`multiplicity`"/> - </property> - <property name="taskSearchString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`tasksearchstring`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.MachineListImpl" entity-name="MachineList" abstract="false" lazy="false" discriminator-value="MachineList" table="`machinelist`"> - <meta attribute="eclassName">MachineList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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 type="string"> - <column name="dtype" index="machinelistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="machines" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="machinelist_machines"> - <column name="`machinelist_machines_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`machinelist_machines_idx`"/> - <one-to-many entity-name="Machine"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.ProductionImpl" entity-name="Production" abstract="false" lazy="false" discriminator-value="Production" table="`production`"> - <meta attribute="eclassName">Production</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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 type="string"> - <column name="dtype" index="productiondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="article" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`article`"/> - </property> - <property name="dueTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`duetime`"/> - </property> - <property name="missingAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`missingamount`"/> - </property> - <property name="productionId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`productionid`"/> - </property> - <property name="startTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`starttime`"/> - </property> - <property name="totalAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`totalamount`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.TaskImpl" entity-name="Task" abstract="false" lazy="false" discriminator-value="Task" table="`task`"> - <meta attribute="eclassName">Task</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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 type="string"> - <column name="dtype" index="taskdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="capacityEntry" entity-name="CapacityEntry" lazy="false" cascade="all" foreign-key="task_capacityentry" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`capacityentry_capacityentry_e_id`"/> - </many-to-one> - <many-to-one name="production" entity-name="Production" lazy="false" cascade="all" foreign-key="task_production" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`production_production_e_id`"/> - </many-to-one> - <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> - <property name="taskId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`taskid`"/> - </property> - <property name="timePerPice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`timeperpice`"/> - </property> - <property name="timePerPreperation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`timeperpreperation`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.WorkDayImpl" entity-name="WorkDay" abstract="false" lazy="false" discriminator-value="WorkDay" table="`workday`"> - <meta attribute="eclassName">WorkDay</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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 type="string"> - <column name="dtype" index="workdaydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="dayOfWeek" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`dayofweek`"/> - </property> - <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`duration`"/> - </property> - <property name="startTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`starttime`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.WorkWeekImpl" entity-name="WorkWeek" abstract="false" lazy="false" discriminator-value="WorkWeek" table="`workweek`"> - <meta attribute="eclassName">WorkWeek</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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 type="string"> - <column name="dtype" index="workweekdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="days" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="workweek_days"> - <column name="`workweek_days_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workweek_days_idx`"/> - <one-to-many entity-name="WorkDay"/> - </list> - <property name="workWeekId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`workweekid`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CapaTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CapaTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 409c238e6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CapaTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,165 +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="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.CapacityEntryImpl" entity-name="CapacityEntry" abstract="false" lazy="false" table="`capacityentry`"> - <meta attribute="eclassName" inherit="false">CapacityEntry</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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="capacityEntryId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`capacityentryid`"/> - </property> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.MachineImpl" entity-name="Machine" abstract="false" lazy="false" table="`machine`"> - <meta attribute="eclassName" inherit="false">Machine</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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> - <many-to-one name="workWeek" entity-name="WorkWeek" lazy="false" cascade="all" foreign-key="machine_workweek" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`workweek_workweek_e_id`"/> - </many-to-one> - <property name="machineId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`machineid`"/> - </property> - <property name="machineSearchString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`machinesearchstring`"/> - </property> - <property name="multiplicity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`multiplicity`"/> - </property> - <property name="taskSearchString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`tasksearchstring`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.MachineListImpl" entity-name="MachineList" abstract="false" lazy="false" table="`machinelist`"> - <meta attribute="eclassName" inherit="false">MachineList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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> - <list name="machines" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="machinelist_machines"> - <column name="`machinelist_machines_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`machinelist_machines_idx`"/> - <one-to-many entity-name="Machine"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.ProductionImpl" entity-name="Production" abstract="false" lazy="false" table="`production`"> - <meta attribute="eclassName" inherit="false">Production</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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="article" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`article`"/> - </property> - <property name="dueTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`duetime`"/> - </property> - <property name="missingAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`missingamount`"/> - </property> - <property name="productionId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`productionid`"/> - </property> - <property name="startTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`starttime`"/> - </property> - <property name="totalAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`totalamount`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.TaskImpl" entity-name="Task" abstract="false" lazy="false" table="`task`"> - <meta attribute="eclassName" inherit="false">Task</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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> - <many-to-one name="capacityEntry" entity-name="CapacityEntry" lazy="false" cascade="all" foreign-key="task_capacityentry" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`capacityentry_capacityentry_e_id`"/> - </many-to-one> - <many-to-one name="production" entity-name="Production" lazy="false" cascade="all" foreign-key="task_production" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`production_production_e_id`"/> - </many-to-one> - <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> - <property name="taskId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`taskid`"/> - </property> - <property name="timePerPice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`timeperpice`"/> - </property> - <property name="timePerPreperation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`timeperpreperation`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.WorkDayImpl" entity-name="WorkDay" abstract="false" lazy="false" table="`workday`"> - <meta attribute="eclassName" inherit="false">WorkDay</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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="dayOfWeek" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`dayofweek`"/> - </property> - <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`duration`"/> - </property> - <property name="startTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`starttime`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.WorkWeekImpl" entity-name="WorkWeek" abstract="false" lazy="false" table="`workweek`"> - <meta attribute="eclassName" inherit="false">WorkWeek</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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> - <list name="days" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="workweek_days"> - <column name="`workweek_days_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workweek_days_idx`"/> - <one-to-many entity-name="WorkDay"/> - </list> - <property name="workWeekId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`workweekid`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CapaTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CapaTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 409c238e6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CapaTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,165 +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="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.CapacityEntryImpl" entity-name="CapacityEntry" abstract="false" lazy="false" table="`capacityentry`"> - <meta attribute="eclassName" inherit="false">CapacityEntry</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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="capacityEntryId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`capacityentryid`"/> - </property> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.MachineImpl" entity-name="Machine" abstract="false" lazy="false" table="`machine`"> - <meta attribute="eclassName" inherit="false">Machine</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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> - <many-to-one name="workWeek" entity-name="WorkWeek" lazy="false" cascade="all" foreign-key="machine_workweek" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`workweek_workweek_e_id`"/> - </many-to-one> - <property name="machineId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`machineid`"/> - </property> - <property name="machineSearchString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`machinesearchstring`"/> - </property> - <property name="multiplicity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`multiplicity`"/> - </property> - <property name="taskSearchString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`tasksearchstring`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.MachineListImpl" entity-name="MachineList" abstract="false" lazy="false" table="`machinelist`"> - <meta attribute="eclassName" inherit="false">MachineList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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> - <list name="machines" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="machinelist_machines"> - <column name="`machinelist_machines_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`machinelist_machines_idx`"/> - <one-to-many entity-name="Machine"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.ProductionImpl" entity-name="Production" abstract="false" lazy="false" table="`production`"> - <meta attribute="eclassName" inherit="false">Production</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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="article" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`article`"/> - </property> - <property name="dueTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`duetime`"/> - </property> - <property name="missingAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`missingamount`"/> - </property> - <property name="productionId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`productionid`"/> - </property> - <property name="startTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`starttime`"/> - </property> - <property name="totalAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`totalamount`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.TaskImpl" entity-name="Task" abstract="false" lazy="false" table="`task`"> - <meta attribute="eclassName" inherit="false">Task</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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> - <many-to-one name="capacityEntry" entity-name="CapacityEntry" lazy="false" cascade="all" foreign-key="task_capacityentry" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`capacityentry_capacityentry_e_id`"/> - </many-to-one> - <many-to-one name="production" entity-name="Production" lazy="false" cascade="all" foreign-key="task_production" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`production_production_e_id`"/> - </many-to-one> - <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> - <property name="taskId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`taskid`"/> - </property> - <property name="timePerPice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`timeperpice`"/> - </property> - <property name="timePerPreperation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`timeperpreperation`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.WorkDayImpl" entity-name="WorkDay" abstract="false" lazy="false" table="`workday`"> - <meta attribute="eclassName" inherit="false">WorkDay</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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="dayOfWeek" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`dayofweek`"/> - </property> - <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`duration`"/> - </property> - <property name="startTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`starttime`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.capa.impl.WorkWeekImpl" entity-name="WorkWeek" abstract="false" lazy="false" table="`workweek`"> - <meta attribute="eclassName" inherit="false">WorkWeek</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/capa</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> - <list name="days" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="workweek_days"> - <column name="`workweek_days_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workweek_days_idx`"/> - <one-to-many entity-name="WorkDay"/> - </list> - <property name="workWeekId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`workweekid`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CatalogTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CatalogTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ad1e6f49f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CatalogTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,126 +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="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.CatalogTypeImpl" entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`"> - <meta attribute="eclassName">CatalogType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="catalogtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_subcatalog"> - <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/> - </key> - <list-index column="`catalogtype_subcatalog_idx`"/> - <one-to-many entity-name="CatalogType"/> - </list> - <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_product"> - <column name="`catalogtype_product_name`" not-null="false" unique="false"> - <comment>My product</comment> - </column> - </key> - <list-index column="`catalogtype_product_idx`"/> - <one-to-many entity-name="ProductType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.PriceTypeImpl" entity-name="PriceType" abstract="false" lazy="false" discriminator-value="PriceType" table="`pricetype`"> - <meta attribute="eclassName">PriceType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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 type="string"> - <column name="dtype" index="pricetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantityTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantityto`"/> - </property> - <many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="pricetype_supplier" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <comment>My product</comment> - <id name="code" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="producttypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"> - <comment>My descrip</comment> - </column> - </property> - <list name="remark" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="producttype_remark"> - <column name="`producttype_remark_code`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_remark_idx`"/> - <one-to-many entity-name="StringType"/> - </list> - <many-to-one name="price" entity-name="PriceType" lazy="false" cascade="all" foreign-key="producttype_price" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`pricetype_price_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.StringTypeImpl" entity-name="StringType" abstract="false" lazy="false" discriminator-value="StringType" table="`stringtype`"> - <meta attribute="eclassName">StringType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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 type="string"> - <column name="dtype" index="stringtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" discriminator-value="SupplierType" table="`suppliertype`"> - <meta attribute="eclassName">SupplierType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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 type="string"> - <column name="dtype" index="suppliertypedtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`noofemployees`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CatalogTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CatalogTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 130954d68..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CatalogTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,111 +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="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.CatalogTypeImpl" entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`"> - <meta attribute="eclassName" inherit="false">CatalogType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_subcatalog"> - <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/> - </key> - <list-index column="`catalogtype_subcatalog_idx`"/> - <one-to-many entity-name="CatalogType"/> - </list> - <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_product"> - <column name="`catalogtype_product_name`" not-null="false" unique="false"> - <comment>My product</comment> - </column> - </key> - <list-index column="`catalogtype_product_idx`"/> - <one-to-many entity-name="ProductType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.PriceTypeImpl" entity-name="PriceType" abstract="false" lazy="false" table="`pricetype`"> - <meta attribute="eclassName" inherit="false">PriceType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantityTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantityto`"/> - </property> - <many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="pricetype_supplier" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName" inherit="false">ProductType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <comment>My product</comment> - <id name="code" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </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="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"> - <comment>My descrip</comment> - </column> - </property> - <list name="remark" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="producttype_remark"> - <column name="`producttype_remark_code`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_remark_idx`"/> - <one-to-many entity-name="StringType"/> - </list> - <many-to-one name="price" entity-name="PriceType" lazy="false" cascade="all" foreign-key="producttype_price" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`pricetype_price_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.StringTypeImpl" entity-name="StringType" abstract="false" lazy="false" table="`stringtype`"> - <meta attribute="eclassName" inherit="false">StringType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`"> - <meta attribute="eclassName" inherit="false">SupplierType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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> - <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`noofemployees`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CatalogTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CatalogTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 130954d68..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/CatalogTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,111 +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="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.CatalogTypeImpl" entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`"> - <meta attribute="eclassName" inherit="false">CatalogType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_subcatalog"> - <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/> - </key> - <list-index column="`catalogtype_subcatalog_idx`"/> - <one-to-many entity-name="CatalogType"/> - </list> - <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_product"> - <column name="`catalogtype_product_name`" not-null="false" unique="false"> - <comment>My product</comment> - </column> - </key> - <list-index column="`catalogtype_product_idx`"/> - <one-to-many entity-name="ProductType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.PriceTypeImpl" entity-name="PriceType" abstract="false" lazy="false" table="`pricetype`"> - <meta attribute="eclassName" inherit="false">PriceType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantityTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantityto`"/> - </property> - <many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="pricetype_supplier" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName" inherit="false">ProductType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <comment>My product</comment> - <id name="code" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </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="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"> - <comment>My descrip</comment> - </column> - </property> - <list name="remark" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="producttype_remark"> - <column name="`producttype_remark_code`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_remark_idx`"/> - <one-to-many entity-name="StringType"/> - </list> - <many-to-one name="price" entity-name="PriceType" lazy="false" cascade="all" foreign-key="producttype_price" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`pricetype_price_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.StringTypeImpl" entity-name="StringType" abstract="false" lazy="false" table="`stringtype`"> - <meta attribute="eclassName" inherit="false">StringType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`"> - <meta attribute="eclassName" inherit="false">SupplierType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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> - <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`noofemployees`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DetachFromSessionAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DetachFromSessionAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DetachFromSessionAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DetachFromSessionAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DetachFromSessionAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DetachFromSessionAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DetachFromSessionAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DetachFromSessionAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DetachFromSessionAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 79d1efdfb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,45 +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="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="Person" abstract="false" lazy="true" discriminator-value="Person" table="`person`" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.Person"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/dynamic</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="group" table="`person_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_group_idx`"/> - <one-to-many entity-name="Person_group"/> - </list> - </class> - <class entity-name="Person_group" lazy="false" table="`person_group`"> - <meta attribute="featureMap">Person</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`group_age`"/> - </property> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`group_length`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 32cc84e56..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,42 +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="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="Person" abstract="false" lazy="true" table="`person`" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.Person"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/dynamic</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="group" table="`person_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_group_idx`"/> - <one-to-many entity-name="Person_group"/> - </list> - </class> - <class entity-name="Person_group" lazy="false" table="`person_group`"> - <meta attribute="featureMap" inherit="false">Person</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`group_age`"/> - </property> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`group_length`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 32cc84e56..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,42 +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="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="Person" abstract="false" lazy="true" table="`person`" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.Person"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/dynamic</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="group" table="`person_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_group_idx`"/> - <one-to-many entity-name="Person_group"/> - </list> - </class> - <class entity-name="Person_group" lazy="false" table="`person_group`"> - <meta attribute="featureMap" inherit="false">Person</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`group_age`"/> - </property> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`group_length`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a4d1c780d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="Person" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Person" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.Person"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a4d1c780d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="Person" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Person" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.Person"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a4d1c780d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="Person" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Person" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.Person"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVNoDBSchemaAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVNoDBSchemaAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a4d1c780d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVNoDBSchemaAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="Person" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Person" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.Person"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEmbeddedIdAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEmbeddedIdAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 5dce66485..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEmbeddedIdAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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 entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.ecore.impl.DynamicEObjectImpl" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/org.eclipse.emf.teneo.hibernate.test.emf.sample.DynamicEmbeddedIdAction</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.hibernate.mapping.SerializableDynamicEObjectImpl" access="org.eclipse.emf.teneo.hibernate.mapping.property.EReferencePropertyHandler"> - <meta attribute="eclassName" inherit="false">Name</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/org.eclipse.emf.teneo.hibernate.test.emf.sample.DynamicEmbeddedIdAction</meta> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEmbeddedIdAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEmbeddedIdAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 5dce66485..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEmbeddedIdAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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 entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.ecore.impl.DynamicEObjectImpl" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/org.eclipse.emf.teneo.hibernate.test.emf.sample.DynamicEmbeddedIdAction</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.hibernate.mapping.SerializableDynamicEObjectImpl" access="org.eclipse.emf.teneo.hibernate.mapping.property.EReferencePropertyHandler"> - <meta attribute="eclassName" inherit="false">Name</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/org.eclipse.emf.teneo.hibernate.test.emf.sample.DynamicEmbeddedIdAction</meta> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ab81108c8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,127 +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="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="Person" abstract="false" lazy="true" table="`person`" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.Person"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/dynamic</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="group" table="`person_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_group_idx`"/> - <one-to-many entity-name="Person_group"/> - </list> - </class> - <class entity-name="Person_group" lazy="false" table="`person_group`"> - <meta attribute="featureMap" inherit="false">Person</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`group_age`"/> - </property> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`group_length`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="Employee" abstract="false" lazy="true" extends="Person" table="`employee`" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl"> - <meta attribute="eclassName" inherit="false">Employee</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTest</meta> - <key> - <column name="`person_e_id`"/> - </key> - <property name="manager" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`manager`"/> - </property> - <many-to-one name="department" entity-name="Department" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="employee_department" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`department_department_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl" entity-name="SpecialEmployee" abstract="false" lazy="true" extends="Employee" table="`specialemployee`" proxy="org.eclipse.emf.teneo.samples.emf.sample.dynamic.impl.PersonImpl"> - <meta attribute="eclassName" inherit="false">SpecialEmployee</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTest</meta> - <key> - <column name="`employee_e_id`"/> - </key> - <list name="offices" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="specialemployee_offices"> - <column name="`specialemployee_offices_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`specialemployee_offices_idx`"/> - <one-to-many entity-name="Office"/> - </list> - </joined-subclass> - <class entity-name="Department" abstract="false" lazy="true" table="`department`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">Department</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTest</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="manager" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="department_manager"> - <column name="`department_manager_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`department_manager_idx`"/> - <one-to-many entity-name="Employee"/> - </list> - <many-to-one name="office" entity-name="Office" lazy="proxy" cascade="all" foreign-key="department_office" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`office_office_name`"/> - </many-to-one> - <property name="departmentType" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`departmenttype`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.DynamicENumUserType"> - <param name="eclassifier">DepartmentType</param> - <param name="epackage">http:///www.elver.org/DynamicTest</param> - </type> - </property> - </class> - <class entity-name="Office" abstract="false" lazy="true" table="`office`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">Office</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTest</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <many-to-one name="address" entity-name="Address" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="office_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - </class> - <class entity-name="Address" abstract="false" lazy="true" table="`address`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTest</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EcoreEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EcoreEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 203b9e321..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EcoreEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,112 +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"> - <typedef name="ecore.EDiagnosticChain" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EDiagnosticChain</param> - </typedef> - <typedef name="ecore.EEList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEList</param> - </typedef> - <typedef name="ecore.EEnumerator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEnumerator</param> - </typedef> - <typedef name="ecore.EFeatureMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMap</param> - </typedef> - <typedef name="ecore.EFeatureMapEntry" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMapEntry</param> - </typedef> - <typedef name="ecore.EJavaClass" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EJavaClass</param> - </typedef> - <typedef name="ecore.EMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EMap</param> - </typedef> - <typedef name="ecore.EResource" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResource</param> - </typedef> - <typedef name="ecore.EResourceSet" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResourceSet</param> - </typedef> - <typedef name="ecore.ETreeIterator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">ETreeIterator</param> - </typedef> - <typedef name="type.Duration" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">Duration</param> - </typedef> - <typedef name="type.ENTITIES" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIES</param> - </typedef> - <typedef name="type.ENTITIESBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIESBase</param> - </typedef> - <typedef name="type.IDREFS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFS</param> - </typedef> - <typedef name="type.IDREFSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFSBase</param> - </typedef> - <typedef name="type.NMTOKENS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENS</param> - </typedef> - <typedef name="type.NMTOKENSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENSBase</param> - </typedef> - <typedef name="type.NOTATION" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NOTATION</param> - </typedef> - <typedef name="type.QName" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">QName</param> - </typedef> - <typedef name="type.ShortObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ShortObject</param> - </typedef> - <typedef name="type.UnsignedByteObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">UnsignedByteObject</param> - </typedef> - <subclass name="org.eclipse.emf.ecore.impl.BasicEObjectImpl" entity-name="ecore_EObject" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ecore_EObject"/> - <subclass name="org.eclipse.emf.ecore.impl.EModelElementImpl" entity-name="EModelElement" abstract="true" lazy="false" extends="ecore_EObject" discriminator-value="EModelElement"/> - <subclass name="org.eclipse.emf.ecore.impl.ENamedElementImpl" entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" discriminator-value="ENamedElement"/> - <subclass name="org.eclipse.emf.ecore.impl.ETypedElementImpl" entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="ETypedElement"/> - <subclass name="org.eclipse.emf.ecore.impl.EStructuralFeatureImpl" entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" discriminator-value="EStructuralFeature"/> - <subclass name="org.eclipse.emf.ecore.impl.EAttributeImpl" entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EAttribute"/> - <subclass name="org.eclipse.emf.ecore.impl.EAnnotationImpl" entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EAnnotation"/> - <subclass name="org.eclipse.emf.ecore.impl.EClassifierImpl" entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="EClassifier"/> - <subclass name="org.eclipse.emf.ecore.impl.EClassImpl" entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EClass"/> - <subclass name="org.eclipse.emf.ecore.impl.EDataTypeImpl" entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EDataType"/> - <subclass name="org.eclipse.emf.ecore.impl.EEnumImpl" entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" discriminator-value="EEnum"/> - <subclass name="org.eclipse.emf.ecore.impl.EEnumLiteralImpl" entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EEnumLiteral"/> - <subclass name="org.eclipse.emf.ecore.impl.EFactoryImpl" entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EFactory"/> - <subclass name="org.eclipse.emf.ecore.impl.EOperationImpl" entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EOperation"/> - <subclass name="org.eclipse.emf.ecore.impl.EPackageImpl" entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EPackage"/> - <subclass name="org.eclipse.emf.ecore.impl.EParameterImpl" entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EParameter"/> - <subclass name="org.eclipse.emf.ecore.impl.EReferenceImpl" entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EReference"/> - <subclass name="org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl" entity-name="EStringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="EStringToStringMapEntry"/> - <subclass name="org.eclipse.emf.ecore.impl.EGenericTypeImpl" entity-name="EGenericType" abstract="false" lazy="false" extends="ecore_EObject" discriminator-value="EGenericType"/> - <subclass name="org.eclipse.emf.ecore.impl.ETypeParameterImpl" entity-name="ETypeParameter" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="ETypeParameter"/> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl" entity-name="AnyType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AnyType"/> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.ProcessingInstructionImpl" entity-name="ProcessingInstruction" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ProcessingInstruction"/> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.SimpleAnyTypeImpl" entity-name="SimpleAnyType" abstract="false" lazy="false" extends="AnyType" discriminator-value="SimpleAnyType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EcoreEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EcoreEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 518d0e3bc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EcoreEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,116 +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"> - <typedef name="ecore.EDiagnosticChain" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EDiagnosticChain</param> - </typedef> - <typedef name="ecore.EEList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEList</param> - </typedef> - <typedef name="ecore.EEnumerator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEnumerator</param> - </typedef> - <typedef name="ecore.EFeatureMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMap</param> - </typedef> - <typedef name="ecore.EFeatureMapEntry" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMapEntry</param> - </typedef> - <typedef name="ecore.EJavaClass" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EJavaClass</param> - </typedef> - <typedef name="ecore.EMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EMap</param> - </typedef> - <typedef name="ecore.EResource" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResource</param> - </typedef> - <typedef name="ecore.EResourceSet" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResourceSet</param> - </typedef> - <typedef name="ecore.ETreeIterator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">ETreeIterator</param> - </typedef> - <typedef name="ecore.EInvocationTargetException" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EInvocationTargetException</param> - </typedef> - <typedef name="type.Duration" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">Duration</param> - </typedef> - <typedef name="type.ENTITIES" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIES</param> - </typedef> - <typedef name="type.ENTITIESBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIESBase</param> - </typedef> - <typedef name="type.IDREFS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFS</param> - </typedef> - <typedef name="type.IDREFSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFSBase</param> - </typedef> - <typedef name="type.NMTOKENS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENS</param> - </typedef> - <typedef name="type.NMTOKENSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENSBase</param> - </typedef> - <typedef name="type.NOTATION" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NOTATION</param> - </typedef> - <typedef name="type.QName" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">QName</param> - </typedef> - <typedef name="type.ShortObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ShortObject</param> - </typedef> - <typedef name="type.UnsignedByteObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">UnsignedByteObject</param> - </typedef> - <subclass name="org.eclipse.emf.ecore.impl.EModelElementImpl" entity-name="EModelElement" abstract="true" lazy="false" extends="EAV_EObject" discriminator-value="EModelElement"/> - <subclass name="org.eclipse.emf.ecore.impl.ENamedElementImpl" entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" discriminator-value="ENamedElement"/> - <subclass name="org.eclipse.emf.ecore.impl.ETypedElementImpl" entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="ETypedElement"/> - <subclass name="org.eclipse.emf.ecore.impl.EStructuralFeatureImpl" entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" discriminator-value="EStructuralFeature"/> - <subclass name="org.eclipse.emf.ecore.impl.EAttributeImpl" entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EAttribute"/> - <subclass name="org.eclipse.emf.ecore.impl.EAnnotationImpl" entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EAnnotation"/> - <subclass name="org.eclipse.emf.ecore.impl.EClassifierImpl" entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="EClassifier"/> - <subclass name="org.eclipse.emf.ecore.impl.EClassImpl" entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EClass"/> - <subclass name="org.eclipse.emf.ecore.impl.EDataTypeImpl" entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EDataType"/> - <subclass name="org.eclipse.emf.ecore.impl.EEnumImpl" entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" discriminator-value="EEnum"/> - <subclass name="org.eclipse.emf.ecore.impl.EEnumLiteralImpl" entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EEnumLiteral"/> - <subclass name="org.eclipse.emf.ecore.impl.EFactoryImpl" entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EFactory"/> - <subclass name="org.eclipse.emf.ecore.impl.BasicEObjectImpl" entity-name="ecore_EObject" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ecore_EObject"/> - <subclass name="org.eclipse.emf.ecore.impl.EOperationImpl" entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EOperation"/> - <subclass name="org.eclipse.emf.ecore.impl.EPackageImpl" entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EPackage"/> - <subclass name="org.eclipse.emf.ecore.impl.EParameterImpl" entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EParameter"/> - <subclass name="org.eclipse.emf.ecore.impl.EReferenceImpl" entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EReference"/> - <subclass name="org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl" entity-name="EStringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="EStringToStringMapEntry"/> - <subclass name="org.eclipse.emf.ecore.impl.EGenericTypeImpl" entity-name="EGenericType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="EGenericType"/> - <subclass name="org.eclipse.emf.ecore.impl.ETypeParameterImpl" entity-name="ETypeParameter" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="ETypeParameter"/> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl" entity-name="AnyType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AnyType"/> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.ProcessingInstructionImpl" entity-name="ProcessingInstruction" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ProcessingInstruction"/> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.SimpleAnyTypeImpl" entity-name="SimpleAnyType" abstract="false" lazy="false" extends="AnyType" discriminator-value="SimpleAnyType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EcoreEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EcoreEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 518d0e3bc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EcoreEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,116 +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"> - <typedef name="ecore.EDiagnosticChain" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EDiagnosticChain</param> - </typedef> - <typedef name="ecore.EEList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEList</param> - </typedef> - <typedef name="ecore.EEnumerator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEnumerator</param> - </typedef> - <typedef name="ecore.EFeatureMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMap</param> - </typedef> - <typedef name="ecore.EFeatureMapEntry" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMapEntry</param> - </typedef> - <typedef name="ecore.EJavaClass" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EJavaClass</param> - </typedef> - <typedef name="ecore.EMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EMap</param> - </typedef> - <typedef name="ecore.EResource" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResource</param> - </typedef> - <typedef name="ecore.EResourceSet" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResourceSet</param> - </typedef> - <typedef name="ecore.ETreeIterator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">ETreeIterator</param> - </typedef> - <typedef name="ecore.EInvocationTargetException" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EInvocationTargetException</param> - </typedef> - <typedef name="type.Duration" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">Duration</param> - </typedef> - <typedef name="type.ENTITIES" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIES</param> - </typedef> - <typedef name="type.ENTITIESBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIESBase</param> - </typedef> - <typedef name="type.IDREFS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFS</param> - </typedef> - <typedef name="type.IDREFSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFSBase</param> - </typedef> - <typedef name="type.NMTOKENS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENS</param> - </typedef> - <typedef name="type.NMTOKENSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENSBase</param> - </typedef> - <typedef name="type.NOTATION" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NOTATION</param> - </typedef> - <typedef name="type.QName" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">QName</param> - </typedef> - <typedef name="type.ShortObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ShortObject</param> - </typedef> - <typedef name="type.UnsignedByteObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">UnsignedByteObject</param> - </typedef> - <subclass name="org.eclipse.emf.ecore.impl.EModelElementImpl" entity-name="EModelElement" abstract="true" lazy="false" extends="EAV_EObject" discriminator-value="EModelElement"/> - <subclass name="org.eclipse.emf.ecore.impl.ENamedElementImpl" entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" discriminator-value="ENamedElement"/> - <subclass name="org.eclipse.emf.ecore.impl.ETypedElementImpl" entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="ETypedElement"/> - <subclass name="org.eclipse.emf.ecore.impl.EStructuralFeatureImpl" entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" discriminator-value="EStructuralFeature"/> - <subclass name="org.eclipse.emf.ecore.impl.EAttributeImpl" entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EAttribute"/> - <subclass name="org.eclipse.emf.ecore.impl.EAnnotationImpl" entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EAnnotation"/> - <subclass name="org.eclipse.emf.ecore.impl.EClassifierImpl" entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="EClassifier"/> - <subclass name="org.eclipse.emf.ecore.impl.EClassImpl" entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EClass"/> - <subclass name="org.eclipse.emf.ecore.impl.EDataTypeImpl" entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EDataType"/> - <subclass name="org.eclipse.emf.ecore.impl.EEnumImpl" entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" discriminator-value="EEnum"/> - <subclass name="org.eclipse.emf.ecore.impl.EEnumLiteralImpl" entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EEnumLiteral"/> - <subclass name="org.eclipse.emf.ecore.impl.EFactoryImpl" entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EFactory"/> - <subclass name="org.eclipse.emf.ecore.impl.BasicEObjectImpl" entity-name="ecore_EObject" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ecore_EObject"/> - <subclass name="org.eclipse.emf.ecore.impl.EOperationImpl" entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EOperation"/> - <subclass name="org.eclipse.emf.ecore.impl.EPackageImpl" entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EPackage"/> - <subclass name="org.eclipse.emf.ecore.impl.EParameterImpl" entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EParameter"/> - <subclass name="org.eclipse.emf.ecore.impl.EReferenceImpl" entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EReference"/> - <subclass name="org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl" entity-name="EStringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="EStringToStringMapEntry"/> - <subclass name="org.eclipse.emf.ecore.impl.EGenericTypeImpl" entity-name="EGenericType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="EGenericType"/> - <subclass name="org.eclipse.emf.ecore.impl.ETypeParameterImpl" entity-name="ETypeParameter" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="ETypeParameter"/> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl" entity-name="AnyType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AnyType"/> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.ProcessingInstructionImpl" entity-name="ProcessingInstruction" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ProcessingInstruction"/> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.SimpleAnyTypeImpl" entity-name="SimpleAnyType" abstract="false" lazy="false" extends="AnyType" discriminator-value="SimpleAnyType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EmployeeAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EmployeeAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e68fde488..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EmployeeAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,69 +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="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.DepartmentImpl" entity-name="Department" abstract="false" lazy="false" discriminator-value="Department" table="`department`"> - <meta attribute="eclassName">Department</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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 type="string"> - <column name="dtype" index="departmentdtype" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="department_employees"> - <column name="`department_employees_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Employee"/> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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 type="string"> - <column name="dtype" index="employeedtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="salary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`salary`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`age`"/> - </property> - <property name="hireDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`hiredate`"/> - </property> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - <filter name="hireDate" condition="hireDate > :date"/> - </class> - <filter-def name="hireDate"> - <filter-param name="date" type="date"/> - </filter-def> - <filter-def name="ageRange"> - <filter-param name="fromAge" type="integer"/> - <filter-param name="toAge" type="integer"/> - </filter-def> - <filter-def name="salaryHigherThan"> - <filter-param name="salary" type="integer"/> - </filter-def> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EmployeeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EmployeeAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 783eb4170..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EmployeeAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,63 +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="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.DepartmentImpl" entity-name="Department" abstract="false" lazy="false" table="`department`"> - <meta attribute="eclassName" inherit="false">Department</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <bag name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="department_employees"> - <column name="`department_employees_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Employee"/> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`employee`"> - <meta attribute="eclassName" inherit="false">Employee</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <property name="salary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`salary`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`age`"/> - </property> - <property name="hireDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`hiredate`"/> - </property> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - <filter name="hireDate" condition="hireDate > :date"/> - </class> - <filter-def name="hireDate"> - <filter-param name="date" type="date"/> - </filter-def> - <filter-def name="ageRange"> - <filter-param name="fromAge" type="integer"/> - <filter-param name="toAge" type="integer"/> - </filter-def> - <filter-def name="salaryHigherThan"> - <filter-param name="salary" type="integer"/> - </filter-def> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EmployeeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EmployeeAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 783eb4170..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/EmployeeAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,63 +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="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.DepartmentImpl" entity-name="Department" abstract="false" lazy="false" table="`department`"> - <meta attribute="eclassName" inherit="false">Department</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <bag name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="department_employees"> - <column name="`department_employees_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Employee"/> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`employee`"> - <meta attribute="eclassName" inherit="false">Employee</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <property name="salary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`salary`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`age`"/> - </property> - <property name="hireDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`hiredate`"/> - </property> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - <filter name="hireDate" condition="hireDate > :date"/> - </class> - <filter-def name="hireDate"> - <filter-param name="date" type="date"/> - </filter-def> - <filter-def name="ageRange"> - <filter-param name="fromAge" type="integer"/> - <filter-param name="toAge" type="integer"/> - </filter-def> - <filter-def name="salaryHigherThan"> - <filter-param name="salary" type="integer"/> - </filter-def> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 6665e7fc8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,209 +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="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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 type="string"> - <column name="dtype" index="itemdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="order" entity-name="PurchaseOrder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_order" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`item_order_e_id`"/> - </many-to-one> - <property name="productName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`productname`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - <property name="USPrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`usprice`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`shipdate`"/> - </property> - <property name="partNum" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`partnum`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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 type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`street`"/> - </property> - <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="`city`"/> - </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="`state`"/> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`"> - <meta attribute="eclassName">PurchaseOrder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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 type="string"> - <column name="dtype" index="purchaseorderdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="items" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="purchaseorder_items"> - <column name="`item_order_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`purchaseorder_items_idx`"/> - <one-to-many entity-name="Item"/> - </list> - <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="purchaseorder_billto" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`address_billto_e_id`"/> - </many-to-one> - <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="purchaseorder_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_shipto_e_id`"/> - </many-to-one> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="orderDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`orderdate`"/> - </property> - <property name="status" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`status`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.epo2.OrderStatus</param> - <param name="eclassifier">OrderStatus</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</param> - </type> - </property> - <many-to-one name="customer" entity-name="Customer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_customer" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`purchaseorder_customer_e_id`"/> - </many-to-one> - <many-to-one name="previousOrder" entity-name="PurchaseOrder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_previousorder" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`purchaseorder_previousorder_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" discriminator-value="Supplier" table="`supplier`"> - <meta attribute="eclassName">Supplier</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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 type="string"> - <column name="dtype" index="supplierdtype" length="255" not-null="true"/> - </discriminator> - <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="customers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="supplier_customers"> - <column name="`supplier_customers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`supplier_customers_idx`"/> - <one-to-many entity-name="Customer"/> - </list> - <list name="orders" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="supplier_orders"> - <column name="`supplier_orders_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`supplier_orders_idx`"/> - <one-to-many entity-name="PurchaseOrder"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" discriminator-value="Customer" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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 type="string"> - <column name="dtype" index="customerdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="customerID" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`customerid`"/> - </property> - <list name="orders" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`purchaseorder_customer_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`customer_orders_idx`"/> - <one-to-many entity-name="PurchaseOrder"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalAddressImpl" entity-name="GlobalAddress" abstract="false" lazy="false" extends="Address" discriminator-value="GlobalAddress"> - <meta attribute="eclassName">GlobalAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta> - <property name="countryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`countrycode`"/> - </property> - <list name="location" table="`globaladdress_location`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`globaladdress_location_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`globaladdress_location_idx`"/> - <element type="java.lang.String"/> - </list> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalLocationImpl" entity-name="GlobalLocation" abstract="false" lazy="false" discriminator-value="GlobalLocation" table="`globallocation`"> - <meta attribute="eclassName">GlobalLocation</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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 type="string"> - <column name="dtype" index="globallocationdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="countryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`countrycode`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f3757ad06..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,197 +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="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName" inherit="false">Item</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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> - <many-to-one name="order" entity-name="PurchaseOrder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_order" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`item_order_e_id`"/> - </many-to-one> - <property name="productName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`productname`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - <property name="USPrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`usprice`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`shipdate`"/> - </property> - <property name="partNum" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`partnum`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`street`"/> - </property> - <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="`city`"/> - </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="`state`"/> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`"> - <meta attribute="eclassName" inherit="false">PurchaseOrder</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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> - <list name="items" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="purchaseorder_items"> - <column name="`item_order_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`purchaseorder_items_idx`"/> - <one-to-many entity-name="Item"/> - </list> - <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="purchaseorder_billto" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`address_billto_e_id`"/> - </many-to-one> - <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="purchaseorder_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_shipto_e_id`"/> - </many-to-one> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="orderDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`orderdate`"/> - </property> - <property name="status" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`status`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.epo2.OrderStatus</param> - <param name="eclassifier">OrderStatus</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</param> - </type> - </property> - <many-to-one name="customer" entity-name="Customer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_customer" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`purchaseorder_customer_e_id`"/> - </many-to-one> - <many-to-one name="previousOrder" entity-name="PurchaseOrder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_previousorder" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`purchaseorder_previousorder_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" table="`supplier`"> - <meta attribute="eclassName" inherit="false">Supplier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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="customers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="supplier_customers"> - <column name="`supplier_customers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`supplier_customers_idx`"/> - <one-to-many entity-name="Customer"/> - </list> - <list name="orders" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="supplier_orders"> - <column name="`supplier_orders_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`supplier_orders_idx`"/> - <one-to-many entity-name="PurchaseOrder"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName" inherit="false">Customer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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="customerID" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`customerid`"/> - </property> - <list name="orders" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`purchaseorder_customer_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`customer_orders_idx`"/> - <one-to-many entity-name="PurchaseOrder"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalAddressImpl" entity-name="GlobalAddress" abstract="false" lazy="false" extends="Address" table="`globaladdress`"> - <meta attribute="eclassName" inherit="false">GlobalAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="countryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`countrycode`"/> - </property> - <list name="location" table="`globaladdress_location`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`globaladdress_location_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`globaladdress_location_idx`"/> - <element type="java.lang.String"/> - </list> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalLocationImpl" entity-name="GlobalLocation" abstract="false" lazy="false" table="`globallocation`"> - <meta attribute="eclassName" inherit="false">GlobalLocation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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="countryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`countrycode`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f3757ad06..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,197 +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="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName" inherit="false">Item</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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> - <many-to-one name="order" entity-name="PurchaseOrder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_order" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`item_order_e_id`"/> - </many-to-one> - <property name="productName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`productname`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - <property name="USPrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`usprice`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`shipdate`"/> - </property> - <property name="partNum" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`partnum`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`street`"/> - </property> - <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="`city`"/> - </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="`state`"/> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`"> - <meta attribute="eclassName" inherit="false">PurchaseOrder</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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> - <list name="items" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="purchaseorder_items"> - <column name="`item_order_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`purchaseorder_items_idx`"/> - <one-to-many entity-name="Item"/> - </list> - <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="purchaseorder_billto" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`address_billto_e_id`"/> - </many-to-one> - <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="purchaseorder_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_shipto_e_id`"/> - </many-to-one> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="orderDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`orderdate`"/> - </property> - <property name="status" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`status`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.epo2.OrderStatus</param> - <param name="eclassifier">OrderStatus</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</param> - </type> - </property> - <many-to-one name="customer" entity-name="Customer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_customer" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`purchaseorder_customer_e_id`"/> - </many-to-one> - <many-to-one name="previousOrder" entity-name="PurchaseOrder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_previousorder" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`purchaseorder_previousorder_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" table="`supplier`"> - <meta attribute="eclassName" inherit="false">Supplier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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="customers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="supplier_customers"> - <column name="`supplier_customers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`supplier_customers_idx`"/> - <one-to-many entity-name="Customer"/> - </list> - <list name="orders" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="supplier_orders"> - <column name="`supplier_orders_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`supplier_orders_idx`"/> - <one-to-many entity-name="PurchaseOrder"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName" inherit="false">Customer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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="customerID" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`customerid`"/> - </property> - <list name="orders" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`purchaseorder_customer_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`customer_orders_idx`"/> - <one-to-many entity-name="PurchaseOrder"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalAddressImpl" entity-name="GlobalAddress" abstract="false" lazy="false" extends="Address" table="`globaladdress`"> - <meta attribute="eclassName" inherit="false">GlobalAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="countryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`countrycode`"/> - </property> - <list name="location" table="`globaladdress_location`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`globaladdress_location_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`globaladdress_location_idx`"/> - <element type="java.lang.String"/> - </list> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalLocationImpl" entity-name="GlobalLocation" abstract="false" lazy="false" table="`globallocation`"> - <meta attribute="eclassName" inherit="false">GlobalLocation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</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="countryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`countrycode`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 33f9abfc3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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"> - <subclass entity-name="Vehicle" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Vehicle"/> - <subclass entity-name="Temporal" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Temporal"/> - <subclass entity-name="Person" abstract="false" lazy="false" extends="Temporal" discriminator-value="Person"/> - <subclass entity-name="Address" abstract="false" lazy="false" extends="Temporal" discriminator-value="Address"/> - <subclass entity-name="VehicleInfo" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="VehicleInfo"/> - <subclass entity-name="ManufacturingPlant" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ManufacturingPlant"/> - <subclass entity-name="Fleet" abstract="false" lazy="false" extends="Temporal" discriminator-value="Fleet"/> - <subclass entity-name="Garage" abstract="false" lazy="false" extends="Temporal" discriminator-value="Garage"/> - <subclass entity-name="Tire" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Tire"/> - <subclass entity-name="Car" abstract="false" lazy="false" extends="Vehicle" discriminator-value="Car"/> - <subclass entity-name="Hybrid" abstract="false" lazy="false" extends="Car" discriminator-value="Hybrid"/> - <subclass name="fleet.PassengerVehicle" entity-name="PassengerVehicle" abstract="true" lazy="false" extends="EAV_EObject" discriminator-value="PassengerVehicle"/> - <subclass entity-name="EngineFactory" abstract="false" lazy="false" extends="ManufacturingPlant" discriminator-value="EngineFactory"/> - <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"/> - <subclass entity-name="Vin" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Vin"/> - <subclass entity-name="TransportationDevice" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TransportationDevice"/> - <subclass entity-name="VersionHolder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="VersionHolder"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 33f9abfc3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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"> - <subclass entity-name="Vehicle" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Vehicle"/> - <subclass entity-name="Temporal" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Temporal"/> - <subclass entity-name="Person" abstract="false" lazy="false" extends="Temporal" discriminator-value="Person"/> - <subclass entity-name="Address" abstract="false" lazy="false" extends="Temporal" discriminator-value="Address"/> - <subclass entity-name="VehicleInfo" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="VehicleInfo"/> - <subclass entity-name="ManufacturingPlant" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ManufacturingPlant"/> - <subclass entity-name="Fleet" abstract="false" lazy="false" extends="Temporal" discriminator-value="Fleet"/> - <subclass entity-name="Garage" abstract="false" lazy="false" extends="Temporal" discriminator-value="Garage"/> - <subclass entity-name="Tire" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Tire"/> - <subclass entity-name="Car" abstract="false" lazy="false" extends="Vehicle" discriminator-value="Car"/> - <subclass entity-name="Hybrid" abstract="false" lazy="false" extends="Car" discriminator-value="Hybrid"/> - <subclass name="fleet.PassengerVehicle" entity-name="PassengerVehicle" abstract="true" lazy="false" extends="EAV_EObject" discriminator-value="PassengerVehicle"/> - <subclass entity-name="EngineFactory" abstract="false" lazy="false" extends="ManufacturingPlant" discriminator-value="EngineFactory"/> - <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"/> - <subclass entity-name="Vin" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Vin"/> - <subclass entity-name="TransportationDevice" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TransportationDevice"/> - <subclass entity-name="VersionHolder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="VersionHolder"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 33f9abfc3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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"> - <subclass entity-name="Vehicle" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Vehicle"/> - <subclass entity-name="Temporal" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Temporal"/> - <subclass entity-name="Person" abstract="false" lazy="false" extends="Temporal" discriminator-value="Person"/> - <subclass entity-name="Address" abstract="false" lazy="false" extends="Temporal" discriminator-value="Address"/> - <subclass entity-name="VehicleInfo" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="VehicleInfo"/> - <subclass entity-name="ManufacturingPlant" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ManufacturingPlant"/> - <subclass entity-name="Fleet" abstract="false" lazy="false" extends="Temporal" discriminator-value="Fleet"/> - <subclass entity-name="Garage" abstract="false" lazy="false" extends="Temporal" discriminator-value="Garage"/> - <subclass entity-name="Tire" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Tire"/> - <subclass entity-name="Car" abstract="false" lazy="false" extends="Vehicle" discriminator-value="Car"/> - <subclass entity-name="Hybrid" abstract="false" lazy="false" extends="Car" discriminator-value="Hybrid"/> - <subclass name="fleet.PassengerVehicle" entity-name="PassengerVehicle" abstract="true" lazy="false" extends="EAV_EObject" discriminator-value="PassengerVehicle"/> - <subclass entity-name="EngineFactory" abstract="false" lazy="false" extends="ManufacturingPlant" discriminator-value="EngineFactory"/> - <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"/> - <subclass entity-name="Vin" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Vin"/> - <subclass entity-name="TransportationDevice" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TransportationDevice"/> - <subclass entity-name="VersionHolder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="VersionHolder"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 9fd4372a1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 9fd4372a1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVExtraLazyAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVExtraLazyAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a7d28fa50..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVExtraLazyAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Book" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVExtraLazyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVExtraLazyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a7d28fa50..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVExtraLazyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Book" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVHbResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVHbResourceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a7d28fa50..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVHbResourceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Book" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVHbResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVHbResourceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a7d28fa50..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVHbResourceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Book" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVHbResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVHbResourceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a7d28fa50..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVHbResourceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Book" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVResourceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a7d28fa50..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVResourceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Book" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVResourceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a7d28fa50..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVResourceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Book" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVResourceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a7d28fa50..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryEAVResourceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,12 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Book" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Library" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Library"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" extends="EAV_EObject" discriminator-value="Writer" proxy="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 3214df280..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index b1c27f81a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyJoinMoreAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyJoinMoreAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 8f53374fc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyJoinMoreAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - <join table="`writer_book`" inverse="false" optional="true"> - <key update="true"> - <column name="`book_title`" not-null="true" unique="false"/> - </key> - <many-to-one name="author" entity-name="Writer" lazy="false" insert="true" update="true" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author"> - <column not-null="false" unique="false" name="`writer_e_id`"/> - </many-to-one> - </join> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" inverse="true" table="`writer_book`" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <many-to-many entity-name="Book" unique="true"> - <column name="`book_title`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyJoinMoreAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyJoinMoreAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 8f53374fc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyJoinMoreAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - <join table="`writer_book`" inverse="false" optional="true"> - <key update="true"> - <column name="`book_title`" not-null="true" unique="false"/> - </key> - <many-to-one name="author" entity-name="Writer" lazy="false" insert="true" update="true" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author"> - <column not-null="false" unique="false" name="`writer_e_id`"/> - </many-to-one> - </join> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" inverse="true" table="`writer_book`" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <many-to-many entity-name="Book" unique="true"> - <column name="`book_title`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyMoreAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyMoreAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 3214df280..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyMoreAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyMoreAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyMoreAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index b1c27f81a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryExtraLazyMoreAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryHbResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryHbResourceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 77d7ec7e0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryHbResourceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryHbResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryHbResourceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f6d6ebece..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryHbResourceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryHbResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryHbResourceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f6d6ebece..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryHbResourceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryInterfaceQueryTest_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryInterfaceQueryTest_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index b7fe585fb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryInterfaceQueryTest_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,98 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Book" abstract="false" lazy="false" discriminator-value="org.eclipse.emf.teneo.samples.emf.sample.library.Book" table="`org_eclipse_emf_teneo_samples_emf_sample_library_book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="org_eclipse_emf_teneo_samples_emf_sample_library_bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="org_eclipse_emf_teneo_samples_emf_sample_library_book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Library" abstract="false" lazy="false" discriminator-value="org.eclipse.emf.teneo.samples.emf.sample.library.Library" table="`org_eclipse_emf_teneo_samples_emf_sample_library_library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="org_eclipse_emf_teneo_samples_emf_sample_library_librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="org_eclipse_emf_teneo_samples_emf_sample_library_library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer" abstract="false" lazy="false" discriminator-value="org.eclipse.emf.teneo.samples.emf.sample.library.Writer" table="`org_eclipse_emf_teneo_samples_emf_sample_library_writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="org_eclipse_emf_teneo_samples_emf_sample_library_writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryInterfaceQueryTest_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryInterfaceQueryTest_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index bb1857bd8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryInterfaceQueryTest_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,91 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Book" abstract="false" lazy="false" table="`org_eclipse_emf_teneo_samples_emf_sample_library_book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="org_eclipse_emf_teneo_samples_emf_sample_library_book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Library" abstract="false" lazy="false" table="`org_eclipse_emf_teneo_samples_emf_sample_library_library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="org_eclipse_emf_teneo_samples_emf_sample_library_library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer" abstract="false" lazy="false" table="`org_eclipse_emf_teneo_samples_emf_sample_library_writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryInterfaceQueryTest_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryInterfaceQueryTest_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 4673066c5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryInterfaceQueryTest_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,89 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Book" abstract="false" lazy="false" table="`org_eclipse_emf_teneo_samples_emf_sample_library_book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="org_eclipse_emf_teneo_samples_emf_sample_library_book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Library" abstract="false" lazy="false" table="`org_eclipse_emf_teneo_samples_emf_sample_library_library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="org_eclipse_emf_teneo_samples_emf_sample_library_library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer" abstract="false" lazy="false" table="`org_eclipse_emf_teneo_samples_emf_sample_library_writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAddContentAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAddContentAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAddContentAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAddContentAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAddContentAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAddContentAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAddContentAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAddContentAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibrarySessionControllerAddContentAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e882940e4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,100 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`tab_book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`col_title`" length="50"/> - </id> - <discriminator type="string"> - <column name="COL_dtype" index="TAB_bookCOL_dtype" length="255" not-null="true"/> - </discriminator> - <version name="COL_e_version" column="COL_e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`col_pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`col_category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="FKPRE_book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`col_book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`col_test`"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`tab_library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id type="long" name="COL_e_id" column="COL_e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="COL_dtype" index="TAB_libraryCOL_dtype" length="255" not-null="true"/> - </discriminator> - <version name="COL_e_version" column="COL_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="`col_name`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`col_library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="FKPRE_library_books"> - <column name="`col_library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`col_library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`tab_writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id type="long" name="COL_e_id" column="COL_e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="COL_dtype" index="TAB_writerCOL_dtype" length="255" not-null="true"/> - </discriminator> - <version name="COL_e_version" column="COL_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="`col_name`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`col_book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`col_writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 0b8b5156c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <import class="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" rename="Book"/> - <import class="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" rename="Library"/> - <import class="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" rename="Writer"/> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" abstract="false" lazy="false" table="`tab_book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`col_title`" length="50"/> - </id> - <version name="COL_e_version" column="COL_e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`col_pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`col_category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" class="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="FKPRE_book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`col_book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`col_test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" abstract="false" lazy="false" table="`tab_library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id type="long" name="COL_e_id" column="COL_e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <version name="COL_e_version" column="COL_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="`col_name`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`col_library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many class="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="FKPRE_library_books"> - <column name="`col_library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`col_library_books_idx`"/> - <one-to-many class="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" abstract="false" lazy="false" table="`tab_writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id type="long" name="COL_e_id" column="COL_e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <version name="COL_e_version" column="COL_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="`col_name`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`col_book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`col_writer_books_idx`"/> - <one-to-many class="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 73e472a7f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,91 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" table="`tab_book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`col_title`" length="50"/> - </id> - <version name="COL_e_version" column="COL_e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`col_pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`col_category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="FKPRE_book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`col_book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`col_test`"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" table="`tab_library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id type="long" name="COL_e_id" column="COL_e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <version name="COL_e_version" column="COL_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="`col_name`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`col_library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="FKPRE_library_books"> - <column name="`col_library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`col_library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" table="`tab_writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id type="long" name="COL_e_id" column="COL_e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <version name="COL_e_version" column="COL_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="`col_name`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`col_book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`col_writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryValidateResourceTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryValidateResourceTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryValidateResourceTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryValidateResourceTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryValidateResourceTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryValidateResourceTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryValidateResourceTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryValidateResourceTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/LibraryValidateResourceTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ProductEAVTest_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ProductEAVTest_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 8e340cbb0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ProductEAVTest_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ProductType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SupplierType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ClassificationTypeImpl" entity-name="ClassificationType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ClassificationType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ProductEAVTest_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ProductEAVTest_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 8e340cbb0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ProductEAVTest_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ProductType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SupplierType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ClassificationTypeImpl" entity-name="ClassificationType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ClassificationType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ProductEAVTest_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ProductEAVTest_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 8e340cbb0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ProductEAVTest_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ProductType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SupplierType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ClassificationTypeImpl" entity-name="ClassificationType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ClassificationType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d268a8bd2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,129 +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="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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="writers" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.AssetImpl" entity-name="Asset" abstract="false" lazy="false" discriminator-value="Asset" table="`asset`"> - <meta attribute="eclassName">Asset</meta> - <meta attribute="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="assetdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.SchoolBookImpl" entity-name="SchoolBook" abstract="false" lazy="false" extends="Book" discriminator-value="SchoolBook"> - <meta attribute="eclassName">SchoolBook</meta> - <meta attribute="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.SchoolLibraryImpl" entity-name="SchoolLibrary" abstract="false" lazy="false" extends="Library" discriminator-value="SchoolLibrary"> - <meta attribute="eclassName">SchoolLibrary</meta> - <meta attribute="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <property name="location" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`location`"/> - </property> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7c6df17a4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,123 +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="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</meta> - <cache usage="read-write"/> - <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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</meta> - <cache usage="read-write"/> - <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="writers" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</meta> - <cache usage="read-write"/> - <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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.AssetImpl" entity-name="Asset" abstract="false" lazy="false" table="`asset`"> - <meta attribute="eclassName" inherit="false">Asset</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <cache usage="read-write"/> - <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="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.SchoolBookImpl" entity-name="SchoolBook" abstract="false" lazy="false" extends="Book" table="`schoolbook`"> - <meta attribute="eclassName" inherit="false">SchoolBook</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <key> - <column name="`book_e_id`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.SchoolLibraryImpl" entity-name="SchoolLibrary" abstract="false" lazy="false" extends="Library" table="`schoollibrary`"> - <meta attribute="eclassName" inherit="false">SchoolLibrary</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <key> - <column name="`library_e_id`"/> - </key> - <property name="location" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`location`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 7c6df17a4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,123 +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="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</meta> - <cache usage="read-write"/> - <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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</meta> - <cache usage="read-write"/> - <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="writers" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/library.ecore</meta> - <cache usage="read-write"/> - <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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.AssetImpl" entity-name="Asset" abstract="false" lazy="false" table="`asset`"> - <meta attribute="eclassName" inherit="false">Asset</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <cache usage="read-write"/> - <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="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.SchoolBookImpl" entity-name="SchoolBook" abstract="false" lazy="false" extends="Book" table="`schoolbook`"> - <meta attribute="eclassName" inherit="false">SchoolBook</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <key> - <column name="`book_e_id`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.SchoolLibraryImpl" entity-name="SchoolLibrary" abstract="false" lazy="false" extends="Library" table="`schoollibrary`"> - <meta attribute="eclassName" inherit="false">SchoolLibrary</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <key> - <column name="`library_e_id`"/> - </key> - <property name="location" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`location`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestDoubleEAV_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestDoubleEAV_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 951a35fe4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestDoubleEAV_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass entity-name="TestType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TestType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestDoubleEAV_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestDoubleEAV_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 951a35fe4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestDoubleEAV_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass entity-name="TestType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TestType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestDoubleEAV_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestDoubleEAV_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 951a35fe4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestDoubleEAV_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass entity-name="TestType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TestType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestLazyUtilsAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestLazyUtilsAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestLazyUtilsAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestLazyUtilsAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestLazyUtilsAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/TestLazyUtilsAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 991359fcb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.AImpl" entity-name="A" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="A"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.RImpl" entity-name="R" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="R"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 991359fcb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.AImpl" entity-name="A" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="A"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.RImpl" entity-name="R" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="R"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 991359fcb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.AImpl" entity-name="A" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="A"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.RImpl" entity-name="R" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="R"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 91eadcf37..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" entity-name="TestDate" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TestDate"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 91eadcf37..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" entity-name="TestDate" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TestDate"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 91eadcf37..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" entity-name="TestDate" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TestDate"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesTest$1_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 106e473f8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesTest$1_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,53 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.AImpl" entity-name="A" abstract="false" lazy="false" discriminator-value="A" table="`a`"> - <meta attribute="eclassName">A</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/attributes</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="adtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="b" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`b`"/> - </property> - <property name="c" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`c`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="d" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`d`"/> - </property> - <many-to-one name="myR" entity-name="R" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="a_myr" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`r_myr_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.RImpl" entity-name="R" abstract="false" lazy="false" discriminator-value="R" table="`r`"> - <meta attribute="eclassName">R</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/attributes</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 type="string"> - <column name="dtype" index="rdtype" length="255" not-null="true"/> - </discriminator> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesTest$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesTest$1_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 4b66e0363..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesTest$1_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,47 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.AImpl" entity-name="A" abstract="false" lazy="false" table="`a`"> - <meta attribute="eclassName">A</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/attributes</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - <property name="b" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`b`"/> - </property> - <property name="c" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`c`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="d" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`d`"/> - </property> - <many-to-one name="myR" entity-name="R" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="a_myr" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`r_myr_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.RImpl" entity-name="R" abstract="false" lazy="false" table="`r`"> - <meta attribute="eclassName">R</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/attributes</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesTest$1_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesTest$1_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 4b66e0363..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/AttributesTest$1_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,47 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.AImpl" entity-name="A" abstract="false" lazy="false" table="`a`"> - <meta attribute="eclassName">A</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/attributes</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - <property name="b" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`b`"/> - </property> - <property name="c" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`c`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="d" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`d`"/> - </property> - <many-to-one name="myR" entity-name="R" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="a_myr" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`r_myr_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.RImpl" entity-name="R" abstract="false" lazy="false" table="`r`"> - <meta attribute="eclassName">R</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/attributes</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DateTimeEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DateTimeEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 91eadcf37..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DateTimeEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" entity-name="TestDate" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TestDate"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DateTimeEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DateTimeEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 91eadcf37..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DateTimeEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" entity-name="TestDate" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TestDate"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DateTimeEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DateTimeEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 91eadcf37..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DateTimeEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" entity-name="TestDate" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TestDate"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DocumentRootEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DocumentRootEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index bcee22112..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DocumentRootEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.ComplexTypeImpl" entity-name="ComplexType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ComplexType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.DocumentRootImpl" entity-name="documentroot.DocumentRoot" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="documentroot.DocumentRoot"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DocumentRootEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DocumentRootEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index bcee22112..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DocumentRootEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.ComplexTypeImpl" entity-name="ComplexType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ComplexType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.DocumentRootImpl" entity-name="documentroot.DocumentRoot" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="documentroot.DocumentRoot"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DocumentRootEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DocumentRootEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index bcee22112..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/DocumentRootEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.ComplexTypeImpl" entity-name="ComplexType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ComplexType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.DocumentRootImpl" entity-name="documentroot.DocumentRoot" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="documentroot.DocumentRoot"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 70d20ce12..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,71 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <map name="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writers"> - <column name="`book_writers_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <one-to-many entity-name="Writer"/> - </map> - <map name="keyWords" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_keywords_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_citybywriter_e_id`" not-null="false" unique="false"/> - </key> - <map-key-many-to-many entity-name="Writer"/> - <element type="java.lang.String"/> - </map> - <map name="categoryByDate" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_categorybydate_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="timestamp"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param> - <param name="eclassifier">Category</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - </type> - </element> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 267bf7c8b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,138 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writers"> - <column name="`book_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_writers_idx`"/> - <one-to-many entity-name="StringToWriterMapEntry"/> - </list> - <list name="keyWords" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_keywords"> - <column name="`book_keywords_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_keywords_idx`"/> - <one-to-many entity-name="StringToStringMapEntry"/> - </list> - <list name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_citybywriter"> - <column name="`book_citybywriter_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_citybywriter_idx`"/> - <one-to-many entity-name="WriterToStringMapEntry"/> - </list> - <list name="categoryByDate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_categorybydate"> - <column name="`book_categorybydate_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_categorybydate_idx`"/> - <one-to-many entity-name="DateToCategoryMapEntry"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" table="`datetocategorymapentry`"> - <meta attribute="eclassName">DateToCategoryMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`value`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param> - <param name="eclassifier">Category</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" table="`stringtostringmapentry`"> - <meta attribute="eclassName">StringToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" table="`stringtowritermapentry`"> - <meta attribute="eclassName">StringToWriterMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <many-to-one name="value" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="stringtowritermapentry_value" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_value_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <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 name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" table="`writertostringmapentry`"> - <meta attribute="eclassName">WriterToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="key" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="writertostringmapentry_key" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_key_e_id`"/> - </many-to-one> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 99acf4b15..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="DateToCategoryMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToStringMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="WriterToStringMapEntry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 99acf4b15..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="DateToCategoryMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToStringMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="WriterToStringMapEntry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 99acf4b15..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="DateToCategoryMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToStringMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="WriterToStringMapEntry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListExtraLazyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListExtraLazyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 30465629d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListExtraLazyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,138 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="writers" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writers"> - <column name="`book_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_writers_idx`"/> - <one-to-many entity-name="StringToWriterMapEntry"/> - </list> - <list name="keyWords" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_keywords"> - <column name="`book_keywords_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_keywords_idx`"/> - <one-to-many entity-name="StringToStringMapEntry"/> - </list> - <list name="cityByWriter" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_citybywriter"> - <column name="`book_citybywriter_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_citybywriter_idx`"/> - <one-to-many entity-name="WriterToStringMapEntry"/> - </list> - <list name="categoryByDate" inverse="true" lazy="extra" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_categorybydate"> - <column name="`book_categorybydate_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_categorybydate_idx`"/> - <one-to-many entity-name="DateToCategoryMapEntry"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" table="`datetocategorymapentry`"> - <meta attribute="eclassName">DateToCategoryMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`value`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param> - <param name="eclassifier">Category</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" table="`stringtostringmapentry`"> - <meta attribute="eclassName">StringToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" table="`stringtowritermapentry`"> - <meta attribute="eclassName">StringToWriterMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <many-to-one name="value" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="stringtowritermapentry_value" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_value_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <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 name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" table="`writertostringmapentry`"> - <meta attribute="eclassName">WriterToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="key" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="writertostringmapentry_key" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_key_e_id`"/> - </many-to-one> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListExtraLazyEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListExtraLazyEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 99acf4b15..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapAsListExtraLazyEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="DateToCategoryMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToStringMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="WriterToStringMapEntry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 99acf4b15..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="DateToCategoryMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToStringMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="WriterToStringMapEntry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 99acf4b15..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="DateToCategoryMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToStringMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="WriterToStringMapEntry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 99acf4b15..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EMapEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Book"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="DateToCategoryMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToStringMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="StringToWriterMapEntry"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Writer"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="WriterToStringMapEntry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EcoreAttrsEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EcoreAttrsEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f6a64e7f1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EcoreAttrsEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,9 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Element"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.FeatureImpl" entity-name="Feature" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Feature"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.MixedImpl" entity-name="Mixed" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Mixed"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.NameListImpl" entity-name="NameList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="NameList"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EcoreAttrsEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EcoreAttrsEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f6a64e7f1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EcoreAttrsEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,9 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Element"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.FeatureImpl" entity-name="Feature" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Feature"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.MixedImpl" entity-name="Mixed" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Mixed"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.NameListImpl" entity-name="NameList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="NameList"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EcoreAttrsEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EcoreAttrsEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f6a64e7f1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/EcoreAttrsEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,9 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Element"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.FeatureImpl" entity-name="Feature" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Feature"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.MixedImpl" entity-name="Mixed" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Mixed"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.NameListImpl" entity-name="NameList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="NameList"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 033d3d2a5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,16 +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"> - <typedef name="extension.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</param> - <param name="edatatype">USStateObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" extends="EAV_EObject" discriminator-value="Address"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AddressList"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" discriminator-value="UKAddress"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" discriminator-value="DistrictUKAddress"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.FirstAddressHolderImpl" entity-name="FirstAddressHolder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="FirstAddressHolder"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="InternationalPrice"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 033d3d2a5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,16 +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"> - <typedef name="extension.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</param> - <param name="edatatype">USStateObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" extends="EAV_EObject" discriminator-value="Address"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AddressList"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" discriminator-value="UKAddress"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" discriminator-value="DistrictUKAddress"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.FirstAddressHolderImpl" entity-name="FirstAddressHolder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="FirstAddressHolder"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="InternationalPrice"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 033d3d2a5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,16 +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"> - <typedef name="extension.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</param> - <param name="edatatype">USStateObject</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" extends="EAV_EObject" discriminator-value="Address"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AddressList"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" discriminator-value="UKAddress"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" discriminator-value="DistrictUKAddress"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.FirstAddressHolderImpl" entity-name="FirstAddressHolder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="FirstAddressHolder"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="InternationalPrice"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/GroupEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/GroupEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ffb08e2d4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/GroupEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,10 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Address"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressGroupImpl" entity-name="AddressGroup" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AddressGroup"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AddressList"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllMapTypeImpl" entity-name="SimpleAllMapType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleAllMapType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllTypeImpl" entity-name="SimpleAllType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleAllType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/GroupEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/GroupEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index ffb08e2d4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/GroupEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,10 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Address"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressGroupImpl" entity-name="AddressGroup" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AddressGroup"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AddressList"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllMapTypeImpl" entity-name="SimpleAllMapType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleAllMapType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllTypeImpl" entity-name="SimpleAllType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleAllType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/GroupEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/GroupEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ffb08e2d4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/GroupEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,10 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Address"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressGroupImpl" entity-name="AddressGroup" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AddressGroup"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="AddressList"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllMapTypeImpl" entity-name="SimpleAllMapType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleAllMapType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllTypeImpl" entity-name="SimpleAllType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleAllType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ListEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ListEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 68381f100..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ListEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,18 +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"> - <typedef name="list.SixStatesList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">SixStatesList</param> - </typedef> - <typedef name="list.StateList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StateList</param> - </typedef> - <typedef name="list.StringList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StringList</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.impl.statesByCountryImpl" entity-name="statesByCountry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="statesByCountry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ListEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ListEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 68381f100..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ListEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,18 +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"> - <typedef name="list.SixStatesList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">SixStatesList</param> - </typedef> - <typedef name="list.StateList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StateList</param> - </typedef> - <typedef name="list.StringList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StringList</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.impl.statesByCountryImpl" entity-name="statesByCountry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="statesByCountry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ListEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ListEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 68381f100..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ListEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,18 +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"> - <typedef name="list.SixStatesList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">SixStatesList</param> - </typedef> - <typedef name="list.StateList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StateList</param> - </typedef> - <typedef name="list.StringList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StringList</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.impl.statesByCountryImpl" entity-name="statesByCountry" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="statesByCountry"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/MixedEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/MixedEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 1dd1f763a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/MixedEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.LetterBodyTypeImpl" entity-name="LetterBodyType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="LetterBodyType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.SalutationTypeImpl" entity-name="SalutationType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SalutationType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/MixedEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/MixedEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 1dd1f763a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/MixedEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.LetterBodyTypeImpl" entity-name="LetterBodyType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="LetterBodyType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.SalutationTypeImpl" entity-name="SalutationType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SalutationType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/MixedEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/MixedEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 1dd1f763a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/MixedEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.LetterBodyTypeImpl" entity-name="LetterBodyType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="LetterBodyType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.SalutationTypeImpl" entity-name="SalutationType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SalutationType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/NestedGroupEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/NestedGroupEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 9a8137f75..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/NestedGroupEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.AImpl" entity-name="A" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="A"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.CTypeImpl" entity-name="CType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="CType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Element"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/NestedGroupEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/NestedGroupEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 9a8137f75..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/NestedGroupEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.AImpl" entity-name="A" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="A"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.CTypeImpl" entity-name="CType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="CType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Element"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/NestedGroupEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/NestedGroupEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 9a8137f75..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/NestedGroupEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,8 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.AImpl" entity-name="A" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="A"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.CTypeImpl" entity-name="CType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="CType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Element"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/QNameEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/QNameEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index de98216db..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/QNameEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.qname.impl.MytestImpl" entity-name="Mytest" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Mytest"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/QNameEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/QNameEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index de98216db..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/QNameEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.qname.impl.MytestImpl" entity-name="Mytest" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Mytest"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/QNameEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/QNameEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index de98216db..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/QNameEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,6 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.qname.impl.MytestImpl" entity-name="Mytest" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Mytest"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimpleTypeEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimpleTypeEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 6b7d9fc36..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimpleTypeEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,16 +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"> - <typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">SimpleEnumObject</param> - </typedef> - <typedef name="simpletypes.StringArray" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">StringArray</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleListImpl" entity-name="SimpleList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleList"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeImpl" entity-name="SimpleType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeObjectImpl" entity-name="SimpleTypeObject" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleTypeObject"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimpleTypeEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimpleTypeEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 6b7d9fc36..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimpleTypeEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,16 +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"> - <typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">SimpleEnumObject</param> - </typedef> - <typedef name="simpletypes.StringArray" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">StringArray</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleListImpl" entity-name="SimpleList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleList"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeImpl" entity-name="SimpleType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeObjectImpl" entity-name="SimpleTypeObject" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleTypeObject"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimpleTypeEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimpleTypeEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 6b7d9fc36..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimpleTypeEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,16 +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"> - <typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">SimpleEnumObject</param> - </typedef> - <typedef name="simpletypes.StringArray" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">StringArray</param> - </typedef> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleListImpl" entity-name="SimpleList" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleList"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeImpl" entity-name="SimpleType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeObjectImpl" entity-name="SimpleTypeObject" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="SimpleTypeObject"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimplefeaturemapEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimplefeaturemapEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index b43e8e3f7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimplefeaturemapEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="PurchaseOrder"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Supplier"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimplefeaturemapEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimplefeaturemapEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index b43e8e3f7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimplefeaturemapEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="PurchaseOrder"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Supplier"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimplefeaturemapEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimplefeaturemapEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index b43e8e3f7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SimplefeaturemapEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,7 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="PurchaseOrder"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Supplier"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 04fb35396..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,10 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.ComplexNumberImpl" entity-name="ComplexNumber" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ComplexNumber"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.EvenComplexNumberTypeImpl" entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="EvenComplexNumberType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.MultiNumberTypeImpl" entity-name="MultiNumberType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="MultiNumberType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.NumberTypeImpl" entity-name="NumberType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="NumberType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.OddComplexNumberTypeImpl" entity-name="OddComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="OddComplexNumberType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 04fb35396..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,10 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.ComplexNumberImpl" entity-name="ComplexNumber" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ComplexNumber"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.EvenComplexNumberTypeImpl" entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="EvenComplexNumberType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.MultiNumberTypeImpl" entity-name="MultiNumberType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="MultiNumberType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.NumberTypeImpl" entity-name="NumberType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="NumberType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.OddComplexNumberTypeImpl" entity-name="OddComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="OddComplexNumberType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 04fb35396..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,10 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.ComplexNumberImpl" entity-name="ComplexNumber" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ComplexNumber"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.EvenComplexNumberTypeImpl" entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="EvenComplexNumberType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.MultiNumberTypeImpl" entity-name="MultiNumberType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="MultiNumberType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.NumberTypeImpl" entity-name="NumberType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="NumberType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.OddComplexNumberTypeImpl" entity-name="OddComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="OddComplexNumberType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 4b58da838..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,9 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexAAAImpl" entity-name="ComplexAAA" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ComplexAAA"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexEvenTypeImpl" entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexEvenType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexOddTypeImpl" entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexOddType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.RootTypeImpl" entity-name="RootType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="RootType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 4b58da838..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,9 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexAAAImpl" entity-name="ComplexAAA" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ComplexAAA"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexEvenTypeImpl" entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexEvenType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexOddTypeImpl" entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexOddType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.RootTypeImpl" entity-name="RootType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="RootType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 4b58da838..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,9 +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"> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexAAAImpl" entity-name="ComplexAAA" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ComplexAAA"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexEvenTypeImpl" entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexEvenType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexOddTypeImpl" entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexOddType"/> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.RootTypeImpl" entity-name="RootType" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="RootType"/> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 1a2a59500..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,129 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" discriminator-value="Book" table="`book`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Book"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" discriminator-value="Library" table="`library`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Library"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" discriminator-value="Writer" table="`writer`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Writer"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="true" discriminator-value="OneTimeWonder" table="`onetimewonder`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.OneTimeWonder"> - <meta attribute="eclassName">OneTimeWonder</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="onetimewonderdtype" length="255" not-null="true"/> - </discriminator> - <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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="true" discriminator-value="Author" table="`author`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Author"> - <meta attribute="eclassName">Author</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="authordtype" length="255" not-null="true"/> - </discriminator> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="proxy"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f4fce51d3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,114 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" table="`book`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Book"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" table="`library`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Library"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" table="`writer`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Writer"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="true" table="`onetimewonder`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.OneTimeWonder"> - <meta attribute="eclassName" inherit="false">OneTimeWonder</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="true" table="`author`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Author"> - <meta attribute="eclassName" inherit="false">Author</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="proxy"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f4fce51d3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,114 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" table="`book`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Book"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" table="`library`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Library"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" table="`writer`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Writer"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="true" table="`onetimewonder`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.OneTimeWonder"> - <meta attribute="eclassName" inherit="false">OneTimeWonder</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="true" table="`author`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Author"> - <meta attribute="eclassName" inherit="false">Author</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="proxy"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c5f527351..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,74 +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="org.eclipse.emf.test.databinding.emfdb.impl.FamilyImpl" entity-name="Family" abstract="false" lazy="false" discriminator-value="Family" table="`family`"> - <meta attribute="eclassName">Family</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/emfdb/1.0.0</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 type="string"> - <column name="dtype" index="familydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="string" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`string`"/> - </property> - <list name="persons" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="family_persons"> - <column name="`family_persons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`family_persons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.test.databinding.emfdb.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/emfdb/1.0.0</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="notes" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_notes"> - <column name="`person_notes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_notes_idx`"/> - <one-to-many entity-name="Note"/> - </list> - <list name="parents" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="person_parents"> - <column name="`person_parents_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_parents_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.test.databinding.emfdb.impl.NoteImpl" entity-name="Note" abstract="false" lazy="false" discriminator-value="Note" table="`note`"> - <meta attribute="eclassName">Note</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/emfdb/1.0.0</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 type="string"> - <column name="dtype" index="notedtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index fa5029d43..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,65 +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="org.eclipse.emf.test.databinding.emfdb.impl.FamilyImpl" entity-name="Family" abstract="false" lazy="false" table="`family`"> - <meta attribute="eclassName" inherit="false">Family</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/emfdb/1.0.0</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="string" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`string`"/> - </property> - <list name="persons" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="family_persons"> - <column name="`family_persons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`family_persons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.test.databinding.emfdb.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/emfdb/1.0.0</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> - <list name="notes" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_notes"> - <column name="`person_notes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_notes_idx`"/> - <one-to-many entity-name="Note"/> - </list> - <list name="parents" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="person_parents"> - <column name="`person_parents_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_parents_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.test.databinding.emfdb.impl.NoteImpl" entity-name="Note" abstract="false" lazy="false" table="`note`"> - <meta attribute="eclassName" inherit="false">Note</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/emfdb/1.0.0</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index fa5029d43..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,65 +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="org.eclipse.emf.test.databinding.emfdb.impl.FamilyImpl" entity-name="Family" abstract="false" lazy="false" table="`family`"> - <meta attribute="eclassName" inherit="false">Family</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/emfdb/1.0.0</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="string" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`string`"/> - </property> - <list name="persons" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="family_persons"> - <column name="`family_persons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`family_persons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.test.databinding.emfdb.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/emfdb/1.0.0</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> - <list name="notes" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_notes"> - <column name="`person_notes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_notes_idx`"/> - <one-to-many entity-name="Note"/> - </list> - <list name="parents" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="person_parents"> - <column name="`person_parents_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_parents_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.test.databinding.emfdb.impl.NoteImpl" entity-name="Note" abstract="false" lazy="false" table="`note`"> - <meta attribute="eclassName" inherit="false">Note</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/emfdb/1.0.0</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 1a2a59500..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,129 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" discriminator-value="Book" table="`book`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Book"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" discriminator-value="Library" table="`library`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Library"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" discriminator-value="Writer" table="`writer`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Writer"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="true" discriminator-value="OneTimeWonder" table="`onetimewonder`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.OneTimeWonder"> - <meta attribute="eclassName">OneTimeWonder</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="onetimewonderdtype" length="255" not-null="true"/> - </discriminator> - <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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="true" discriminator-value="Author" table="`author`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Author"> - <meta attribute="eclassName">Author</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="authordtype" length="255" not-null="true"/> - </discriminator> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="proxy"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f4fce51d3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,114 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" table="`book`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Book"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" table="`library`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Library"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" table="`writer`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Writer"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="true" table="`onetimewonder`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.OneTimeWonder"> - <meta attribute="eclassName" inherit="false">OneTimeWonder</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="true" table="`author`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Author"> - <meta attribute="eclassName" inherit="false">Author</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="proxy"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f4fce51d3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,114 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" table="`book`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Book"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" table="`library`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Library"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" table="`writer`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Writer"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="true" table="`onetimewonder`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.OneTimeWonder"> - <meta attribute="eclassName" inherit="false">OneTimeWonder</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="true" table="`author`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Author"> - <meta attribute="eclassName" inherit="false">Author</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="proxy"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 15ecdccba..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,43 +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="org.eclipse.emf.teneo.samples.issues.bz243024.impl.OneImpl" entity-name="One" abstract="false" lazy="false" discriminator-value="One" table="`one`"> - <meta attribute="eclassName">One</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz243024</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 type="string"> - <column name="dtype" index="onedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="manies" lazy="true" cascade="delete-orphan,save-update,replicate,delete,persist"> - <key update="true" foreign-key="one_manies"> - <column name="`one_manies_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`one_manies_idx`"/> - <one-to-many entity-name="Many"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz243024.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" discriminator-value="Many" table="`many`"> - <meta attribute="eclassName">Many</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz243024</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 type="string"> - <column name="dtype" index="manydtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index ec8d7e39b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,37 +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="org.eclipse.emf.teneo.samples.issues.bz243024.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz243024</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> - <list name="manies" lazy="true" cascade="delete-orphan,save-update,replicate,delete,persist"> - <key update="true" foreign-key="one_manies"> - <column name="`one_manies_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`one_manies_idx`"/> - <one-to-many entity-name="Many"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz243024.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz243024</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ec8d7e39b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,37 +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="org.eclipse.emf.teneo.samples.issues.bz243024.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz243024</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> - <list name="manies" lazy="true" cascade="delete-orphan,save-update,replicate,delete,persist"> - <key update="true" foreign-key="one_manies"> - <column name="`one_manies_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`one_manies_idx`"/> - <one-to-many entity-name="Many"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz243024.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz243024</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e54aef865..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,129 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="false" discriminator-value="OneTimeWonder" table="`onetimewonder`"> - <meta attribute="eclassName">OneTimeWonder</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="onetimewonderdtype" length="255" not-null="true"/> - </discriminator> - <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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="false" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="false" discriminator-value="Author" table="`author`"> - <meta attribute="eclassName">Author</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="authordtype" length="255" not-null="true"/> - </discriminator> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="false"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 855ec60ca..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,114 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="false" table="`onetimewonder`"> - <meta attribute="eclassName" inherit="false">OneTimeWonder</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="false" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="false" table="`author`"> - <meta attribute="eclassName" inherit="false">Author</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="false"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 855ec60ca..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,114 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="false" table="`onetimewonder`"> - <meta attribute="eclassName" inherit="false">OneTimeWonder</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="false" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="false" table="`author`"> - <meta attribute="eclassName" inherit="false">Author</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="false"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c4f7d5b87..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,67 +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="org.eclipse.emf.teneo.samples.issues.bz245634.impl.CityImpl" entity-name="City" abstract="false" lazy="true" discriminator-value="City" table="`city`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.City"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="citydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="mayor" entity-name="Mayor" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="proxy" insert="true" update="true"/> - <one-to-one name="policeChief" entity-name="PoliceChief" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" property-ref="city"/> - <many-to-one name="country" entity-name="Country" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="city_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`country_country_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz245634.impl.MayorImpl" entity-name="Mayor" abstract="false" lazy="true" discriminator-value="Mayor" table="`mayor`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.Mayor"> - <meta attribute="eclassName">Mayor</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</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 type="string"> - <column name="dtype" index="mayordtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <one-to-one name="city" entity-name="City" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" property-ref="mayor"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz245634.impl.PoliceChiefImpl" entity-name="PoliceChief" abstract="false" lazy="true" discriminator-value="PoliceChief" table="`policechief`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.PoliceChief"> - <meta attribute="eclassName">PoliceChief</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</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 type="string"> - <column name="dtype" index="policechiefdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="city" entity-name="City" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="proxy" insert="true" update="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz245634.impl.CountryImpl" entity-name="Country" abstract="false" lazy="true" discriminator-value="Country" table="`country`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.Country"> - <meta attribute="eclassName">Country</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</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 type="string"> - <column name="dtype" index="countrydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 568a2bcaa..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,55 +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="org.eclipse.emf.teneo.samples.issues.bz245634.impl.CityImpl" entity-name="City" abstract="false" lazy="true" table="`city`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.City"> - <meta attribute="eclassName" inherit="false">City</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="mayor" entity-name="Mayor" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="proxy" insert="true" update="true"/> - <one-to-one name="policeChief" entity-name="PoliceChief" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" property-ref="city"/> - <many-to-one name="country" entity-name="Country" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="city_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`country_country_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz245634.impl.MayorImpl" entity-name="Mayor" abstract="false" lazy="true" table="`mayor`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.Mayor"> - <meta attribute="eclassName" inherit="false">Mayor</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</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> - <one-to-one name="city" entity-name="City" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" property-ref="mayor"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz245634.impl.PoliceChiefImpl" entity-name="PoliceChief" abstract="false" lazy="true" table="`policechief`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.PoliceChief"> - <meta attribute="eclassName" inherit="false">PoliceChief</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</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> - <many-to-one name="city" entity-name="City" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="proxy" insert="true" update="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz245634.impl.CountryImpl" entity-name="Country" abstract="false" lazy="true" table="`country`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.Country"> - <meta attribute="eclassName" inherit="false">Country</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 568a2bcaa..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,55 +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="org.eclipse.emf.teneo.samples.issues.bz245634.impl.CityImpl" entity-name="City" abstract="false" lazy="true" table="`city`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.City"> - <meta attribute="eclassName" inherit="false">City</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="mayor" entity-name="Mayor" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="proxy" insert="true" update="true"/> - <one-to-one name="policeChief" entity-name="PoliceChief" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" property-ref="city"/> - <many-to-one name="country" entity-name="Country" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="city_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`country_country_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz245634.impl.MayorImpl" entity-name="Mayor" abstract="false" lazy="true" table="`mayor`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.Mayor"> - <meta attribute="eclassName" inherit="false">Mayor</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</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> - <one-to-one name="city" entity-name="City" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" property-ref="mayor"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz245634.impl.PoliceChiefImpl" entity-name="PoliceChief" abstract="false" lazy="true" table="`policechief`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.PoliceChief"> - <meta attribute="eclassName" inherit="false">PoliceChief</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</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> - <many-to-one name="city" entity-name="City" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="proxy" insert="true" update="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz245634.impl.CountryImpl" entity-name="Country" abstract="false" lazy="true" table="`country`" proxy="org.eclipse.emf.teneo.samples.issues.bz245634.Country"> - <meta attribute="eclassName" inherit="false">Country</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz245634</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 09b77863c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.issues.bz280355.impl.LeiterImpl" entity-name="Leiter" abstract="false" lazy="false" discriminator-value="Leiter" table="`leiter`"> - <meta attribute="eclassName">Leiter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz280355</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="leiterdtype" length="255" not-null="true"/> - </discriminator> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`version`"/> - </version> - <many-to-one name="person" entity-name="Person" lazy="false" cascade="all" foreign-key="leiter_person" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`person_person_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz280355.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz280355</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e167e7261..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,30 +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="org.eclipse.emf.teneo.samples.issues.bz280355.impl.LeiterImpl" entity-name="Leiter" abstract="false" lazy="false" table="`leiter`"> - <meta attribute="eclassName" inherit="false">Leiter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz280355</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`version`"/> - </version> - <many-to-one name="person" entity-name="Person" lazy="false" cascade="all" foreign-key="leiter_person" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`person_person_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz280355.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz280355</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index e167e7261..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,30 +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="org.eclipse.emf.teneo.samples.issues.bz280355.impl.LeiterImpl" entity-name="Leiter" abstract="false" lazy="false" table="`leiter`"> - <meta attribute="eclassName" inherit="false">Leiter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz280355</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`version`"/> - </version> - <many-to-one name="person" entity-name="Person" lazy="false" cascade="all" foreign-key="leiter_person" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`person_person_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz280355.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz280355</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 5c075f980..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,1099 +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="org.w3._2000._09.xmldsig.impl.CanonicalizationMethodTypeImpl" entity-name="CanonicalizationMethodType" abstract="false" lazy="false" discriminator-value="CanonicalizationMethodType" table="`canonicalizationmethodtype`"> - <meta attribute="eclassName">CanonicalizationMethodType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="canonicalizationmethodtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`canonicalizationmethodtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`canonicalizationmethodtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`canonicalizationmethodtype_mixed_idx`"/> - <one-to-many entity-name="CanonicalizationMethodType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="CanonicalizationMethodType_mixed" lazy="false" table="`canonicalizationmethodtype_mixed`"> - <meta attribute="featureMap">CanonicalizationMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="any" table="`mixed_canonicalizationmethodtype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_canonicalizationmethodtype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_canonicalizationmethodtype_any_idx`"/> - <one-to-many entity-name="CanonicalizationMethodType_any"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="CanonicalizationMethodType_any" lazy="false" table="`canonicalizationmethodtype_any`"> - <meta attribute="featureMap">CanonicalizationMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.DigestMethodTypeImpl" entity-name="DigestMethodType" abstract="false" lazy="false" discriminator-value="DigestMethodType" table="`digestmethodtype`"> - <meta attribute="eclassName">DigestMethodType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="digestmethodtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`digestmethodtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`digestmethodtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`digestmethodtype_mixed_idx`"/> - <one-to-many entity-name="DigestMethodType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="DigestMethodType_mixed" lazy="false" table="`digestmethodtype_mixed`"> - <meta attribute="featureMap">DigestMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="any" table="`mixed_digestmethodtype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_digestmethodtype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_digestmethodtype_any_idx`"/> - <one-to-many entity-name="DigestMethodType_any"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="DigestMethodType_any" lazy="false" table="`digestmethodtype_any`"> - <meta attribute="featureMap">DigestMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.DSAKeyValueTypeImpl" entity-name="DSAKeyValueType" abstract="false" lazy="false" discriminator-value="DSAKeyValueType" table="`dsakeyvaluetype`"> - <meta attribute="eclassName">DSAKeyValueType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="dsakeyvaluetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <array name="p" table="`dsakeyvaluetype_p`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_p_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_p_idx`"/> - <element type="byte"/> - </array> - <array name="q" table="`dsakeyvaluetype_q`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_q_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_q_idx`"/> - <element type="byte"/> - </array> - <array name="g" table="`dsakeyvaluetype_g`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_g_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_g_idx`"/> - <element type="byte"/> - </array> - <array name="y" table="`dsakeyvaluetype_y`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_y_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_y_idx`"/> - <element type="byte"/> - </array> - <array name="j" table="`dsakeyvaluetype_j`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_j_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_j_idx`"/> - <element type="byte"/> - </array> - <array name="seed" table="`dsakeyvaluetype_seed`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_seed_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_seed_idx`"/> - <element type="byte"/> - </array> - <array name="pgenCounter" table="`dsakeyvaluetype_pgencounter`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_pgencounter_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_pgencounter_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.w3._2000._09.xmldsig.impl.KeyInfoTypeImpl" entity-name="KeyInfoType" abstract="false" lazy="false" discriminator-value="KeyInfoType" table="`keyinfotype`"> - <meta attribute="eclassName">KeyInfoType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="keyinfotypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`keyinfotype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`keyinfotype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`keyinfotype_mixed_idx`"/> - <one-to-many entity-name="KeyInfoType_mixed"/> - </list> - </class> - <class entity-name="KeyInfoType_mixed" lazy="false" table="`keyinfotype_mixed`"> - <meta attribute="featureMap">KeyInfoType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_keyinfotype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_keyinfotype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_keyinfotype_group_idx`"/> - <one-to-many entity-name="KeyInfoType_group"/> - </list> - <property name="keyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_keyname`"/> - </property> - <many-to-one name="keyValue" entity-name="KeyValueType" lazy="false" cascade="all" foreign-key="keyinfotype_keyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_keyvaluetype_keyvalue_e_id`"/> - </many-to-one> - <many-to-one name="retrievalMethod" entity-name="RetrievalMethodType" lazy="false" cascade="all" foreign-key="keyinfotype_retrievalmethod" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_retrievalmethodtype_retrievalmethod_e_id`"/> - </many-to-one> - <many-to-one name="x509Data" entity-name="X509DataType" lazy="false" cascade="all" foreign-key="keyinfotype_x509data" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_x509datatype_x509data_e_id`"/> - </many-to-one> - <many-to-one name="pGPData" entity-name="PGPDataType" lazy="false" cascade="all" foreign-key="keyinfotype_pgpdata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_pgpdatatype_pgpdata_e_id`"/> - </many-to-one> - <many-to-one name="sPKIData" entity-name="SPKIDataType" lazy="false" cascade="all" foreign-key="keyinfotype_spkidata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_spkidatatype_spkidata_e_id`"/> - </many-to-one> - <property name="mgmtData" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_mgmtdata`"/> - </property> - <many-to-one name="any" entity-name="KeyInfoType_any" cascade="all" not-null="false"/> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_id`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="KeyInfoType_group" lazy="false" table="`keyinfotype_group`"> - <meta attribute="featureMap">KeyInfoType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="keyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_keyname`"/> - </property> - <many-to-one name="keyValue" entity-name="KeyValueType" lazy="false" cascade="all" foreign-key="keyinfotype_keyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_keyvaluetype_keyvalue_e_id`"/> - </many-to-one> - <many-to-one name="retrievalMethod" entity-name="RetrievalMethodType" lazy="false" cascade="all" foreign-key="keyinfotype_retrievalmethod" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_retrievalmethodtype_retrievalmethod_e_id`"/> - </many-to-one> - <many-to-one name="x509Data" entity-name="X509DataType" lazy="false" cascade="all" foreign-key="keyinfotype_x509data" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_x509datatype_x509data_e_id`"/> - </many-to-one> - <many-to-one name="pGPData" entity-name="PGPDataType" lazy="false" cascade="all" foreign-key="keyinfotype_pgpdata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_pgpdatatype_pgpdata_e_id`"/> - </many-to-one> - <many-to-one name="sPKIData" entity-name="SPKIDataType" lazy="false" cascade="all" foreign-key="keyinfotype_spkidata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_spkidatatype_spkidata_e_id`"/> - </many-to-one> - <property name="mgmtData" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_mgmtdata`"/> - </property> - <many-to-one name="any" entity-name="KeyInfoType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="KeyInfoType_any" lazy="false" table="`keyinfotype_any`"> - <meta attribute="featureMap">KeyInfoType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.KeyValueTypeImpl" entity-name="KeyValueType" abstract="false" lazy="false" discriminator-value="KeyValueType" table="`keyvaluetype`"> - <meta attribute="eclassName">KeyValueType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="keyvaluetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`keyvaluetype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`keyvaluetype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`keyvaluetype_mixed_idx`"/> - <one-to-many entity-name="KeyValueType_mixed"/> - </list> - </class> - <class entity-name="KeyValueType_mixed" lazy="false" table="`keyvaluetype_mixed`"> - <meta attribute="featureMap">KeyValueType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="dSAKeyValue" entity-name="DSAKeyValueType" lazy="false" cascade="all" foreign-key="keyvaluetype_dsakeyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_dsakeyvaluetype_dsakeyvalue_e_id`"/> - </many-to-one> - <many-to-one name="rSAKeyValue" entity-name="RSAKeyValueType" lazy="false" cascade="all" foreign-key="keyvaluetype_rsakeyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_rsakeyvaluetype_rsakeyvalue_e_id`"/> - </many-to-one> - <list name="any" table="`mixed_keyvaluetype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_keyvaluetype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_keyvaluetype_any_idx`"/> - <one-to-many entity-name="KeyValueType_any"/> - </list> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="KeyValueType_any" lazy="false" table="`keyvaluetype_any`"> - <meta attribute="featureMap">KeyValueType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.ManifestTypeImpl" entity-name="ManifestType" abstract="false" lazy="false" discriminator-value="ManifestType" table="`manifesttype`"> - <meta attribute="eclassName">ManifestType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="manifesttypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="reference" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="manifesttype_reference"> - <column name="`manifesttype_reference_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`manifesttype_reference_idx`"/> - <one-to-many entity-name="ReferenceType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.ObjectTypeImpl" entity-name="ObjectType" abstract="false" lazy="false" discriminator-value="ObjectType" table="`objecttype`"> - <meta attribute="eclassName">ObjectType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="objecttypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`objecttype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`objecttype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`objecttype_mixed_idx`"/> - <one-to-many entity-name="ObjectType_mixed"/> - </list> - <property name="encoding" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`encoding`"/> - </property> - <property name="mimeType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mimetype`"/> - </property> - </class> - <class entity-name="ObjectType_mixed" lazy="false" table="`objecttype_mixed`"> - <meta attribute="featureMap">ObjectType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_objecttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_objecttype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_objecttype_group_idx`"/> - <one-to-many entity-name="ObjectType_group"/> - </list> - <many-to-one name="any" entity-name="ObjectType_any" cascade="all" not-null="false"/> - <property name="encoding" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_encoding`"/> - </property> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_id`"/> - </property> - <property name="mimeType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_mimetype`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="ObjectType_group" lazy="false" table="`objecttype_group`"> - <meta attribute="featureMap">ObjectType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any" entity-name="ObjectType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="ObjectType_any" lazy="false" table="`objecttype_any`"> - <meta attribute="featureMap">ObjectType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.PGPDataTypeImpl" entity-name="PGPDataType" abstract="false" lazy="false" discriminator-value="PGPDataType" table="`pgpdatatype`"> - <meta attribute="eclassName">PGPDataType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="pgpdatatypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <array name="pGPKeyID" table="`pgpdatatype_pgpkeyid`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_pgpkeyid_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`pgpdatatype_pgpkeyid_idx`"/> - <element type="byte"/> - </array> - <array name="pGPKeyPacket" table="`pgpdatatype_pgpkeypacket`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_pgpkeypacket_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`pgpdatatype_pgpkeypacket_idx`"/> - <element type="byte"/> - </array> - <list name="any" table="`pgpdatatype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`pgpdatatype_any_idx`"/> - <one-to-many entity-name="PGPDataType_any"/> - </list> - <array name="pGPKeyPacket1" table="`pgpdatatype_pgpkeypacket1`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_pgpkeypacket1_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`pgpdatatype_pgpkeypacket1_idx`"/> - <element type="byte"/> - </array> - <list name="any1" table="`pgpdatatype_any1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_any1_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`pgpdatatype_any1_idx`"/> - <one-to-many entity-name="PGPDataType_any1"/> - </list> - </class> - <class entity-name="PGPDataType_any" lazy="false" table="`pgpdatatype_any`"> - <meta attribute="featureMap">PGPDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class entity-name="PGPDataType_any1" lazy="false" table="`pgpdatatype_any1`"> - <meta attribute="featureMap">PGPDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any1_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any1_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any1_type`"/> - <column not-null="false" unique="false" name="`any1_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.ReferenceTypeImpl" entity-name="ReferenceType" abstract="false" lazy="false" discriminator-value="ReferenceType" table="`referencetype`"> - <meta attribute="eclassName">ReferenceType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="referencetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="transforms" entity-name="TransformsType" lazy="false" cascade="all" foreign-key="referencetype_transforms" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`transformstype_transforms_e_id`"/> - </many-to-one> - <many-to-one name="digestMethod" entity-name="DigestMethodType" lazy="false" cascade="all" foreign-key="referencetype_digestmethod" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`digestmethodtype_digestmethod_e_id`"/> - </many-to-one> - <array name="digestValue" table="`referencetype_digestvalue`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`referencetype_digestvalue_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`referencetype_digestvalue_idx`"/> - <element type="byte"/> - </array> - <property name="type" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`type`"/> - </property> - <property name="uRI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`uri`"/> - </property> - </class> - <class name="org.w3._2000._09.xmldsig.impl.RetrievalMethodTypeImpl" entity-name="RetrievalMethodType" abstract="false" lazy="false" discriminator-value="RetrievalMethodType" table="`retrievalmethodtype`"> - <meta attribute="eclassName">RetrievalMethodType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="retrievalmethodtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="transforms" entity-name="TransformsType" lazy="false" cascade="all" foreign-key="retrievalmethodtype_transforms" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`transformstype_transforms_e_id`"/> - </many-to-one> - <property name="type" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`type`"/> - </property> - <property name="uRI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`uri`"/> - </property> - </class> - <class name="org.w3._2000._09.xmldsig.impl.RSAKeyValueTypeImpl" entity-name="RSAKeyValueType" abstract="false" lazy="false" discriminator-value="RSAKeyValueType" table="`rsakeyvaluetype`"> - <meta attribute="eclassName">RSAKeyValueType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="rsakeyvaluetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <array name="modulus" table="`rsakeyvaluetype_modulus`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`rsakeyvaluetype_modulus_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`rsakeyvaluetype_modulus_idx`"/> - <element type="byte"/> - </array> - <array name="exponent" table="`rsakeyvaluetype_exponent`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`rsakeyvaluetype_exponent_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`rsakeyvaluetype_exponent_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignatureMethodTypeImpl" entity-name="SignatureMethodType" abstract="false" lazy="false" discriminator-value="SignatureMethodType" table="`signaturemethodtype`"> - <meta attribute="eclassName">SignatureMethodType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="signaturemethodtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`signaturemethodtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`signaturemethodtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturemethodtype_mixed_idx`"/> - <one-to-many entity-name="SignatureMethodType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="SignatureMethodType_mixed" lazy="false" table="`signaturemethodtype_mixed`"> - <meta attribute="featureMap">SignatureMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="hMACOutputLength" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`mixed_hmacoutputlength`"/> - </property> - <list name="any" table="`mixed_signaturemethodtype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_signaturemethodtype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_signaturemethodtype_any_idx`"/> - <one-to-many entity-name="SignatureMethodType_any"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="SignatureMethodType_any" lazy="false" table="`signaturemethodtype_any`"> - <meta attribute="featureMap">SignatureMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignaturePropertiesTypeImpl" entity-name="SignaturePropertiesType" abstract="false" lazy="false" discriminator-value="SignaturePropertiesType" table="`signaturepropertiestype`"> - <meta attribute="eclassName">SignaturePropertiesType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="signaturepropertiestypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="signatureProperty" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="signaturepropertiestype_signatureproperty"> - <column name="`signaturepropertiestype_signatureproperty_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturepropertiestype_signatureproperty_idx`"/> - <one-to-many entity-name="SignaturePropertyType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignaturePropertyTypeImpl" entity-name="SignaturePropertyType" abstract="false" lazy="false" discriminator-value="SignaturePropertyType" table="`signaturepropertytype`"> - <meta attribute="eclassName">SignaturePropertyType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="signaturepropertytypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`signaturepropertytype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`signaturepropertytype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturepropertytype_mixed_idx`"/> - <one-to-many entity-name="SignaturePropertyType_mixed"/> - </list> - <property name="target" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`target`"/> - </property> - </class> - <class entity-name="SignaturePropertyType_mixed" lazy="false" table="`signaturepropertytype_mixed`"> - <meta attribute="featureMap">SignaturePropertyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_signaturepropertytype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_signaturepropertytype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_signaturepropertytype_group_idx`"/> - <one-to-many entity-name="SignaturePropertyType_group"/> - </list> - <many-to-one name="any" entity-name="SignaturePropertyType_any" cascade="all" not-null="false"/> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_id`"/> - </property> - <property name="target" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_target`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="SignaturePropertyType_group" lazy="false" table="`signaturepropertytype_group`"> - <meta attribute="featureMap">SignaturePropertyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any" entity-name="SignaturePropertyType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="SignaturePropertyType_any" lazy="false" table="`signaturepropertytype_any`"> - <meta attribute="featureMap">SignaturePropertyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignatureTypeImpl" entity-name="SignatureType" abstract="false" lazy="false" discriminator-value="SignatureType" table="`signaturetype`"> - <meta attribute="eclassName">SignatureType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="signaturetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="signedInfo" entity-name="SignedInfoType" lazy="false" cascade="all" foreign-key="signaturetype_signedinfo" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`signedinfotype_signedinfo_e_id`"/> - </many-to-one> - <many-to-one name="signatureValue" entity-name="SignatureValueType" lazy="false" cascade="all" foreign-key="signaturetype_signaturevalue" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`signaturevaluetype_signaturevalue_e_id`"/> - </many-to-one> - <many-to-one name="keyInfo" entity-name="KeyInfoType" lazy="false" cascade="all" foreign-key="signaturetype_keyinfo" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`keyinfotype_keyinfo_id`"/> - </many-to-one> - <list name="object" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="signaturetype_object"> - <column name="`signaturetype_object_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturetype_object_idx`"/> - <one-to-many entity-name="ObjectType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignatureValueTypeImpl" entity-name="SignatureValueType" abstract="false" lazy="false" discriminator-value="SignatureValueType" table="`signaturevaluetype`"> - <meta attribute="eclassName">SignatureValueType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="signaturevaluetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <array name="value" table="`signaturevaluetype_value`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`signaturevaluetype_value_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`signaturevaluetype_value_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignedInfoTypeImpl" entity-name="SignedInfoType" abstract="false" lazy="false" discriminator-value="SignedInfoType" table="`signedinfotype`"> - <meta attribute="eclassName">SignedInfoType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="signedinfotypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="canonicalizationMethod" entity-name="CanonicalizationMethodType" lazy="false" cascade="all" foreign-key="signedinfotype_canonicalizationmethod" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`canonicalizationmethodtype_canonicalizationmethod_e_id`"/> - </many-to-one> - <many-to-one name="signatureMethod" entity-name="SignatureMethodType" lazy="false" cascade="all" foreign-key="signedinfotype_signaturemethod" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`signaturemethodtype_signaturemethod_e_id`"/> - </many-to-one> - <list name="reference" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="signedinfotype_reference"> - <column name="`signedinfotype_reference_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signedinfotype_reference_idx`"/> - <one-to-many entity-name="ReferenceType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SPKIDataTypeImpl" entity-name="SPKIDataType" abstract="false" lazy="false" discriminator-value="SPKIDataType" table="`spkidatatype`"> - <meta attribute="eclassName">SPKIDataType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="spkidatatypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`spkidatatype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`spkidatatype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`spkidatatype_group_idx`"/> - <one-to-many entity-name="SPKIDataType_group"/> - </list> - </class> - <class entity-name="SPKIDataType_group" lazy="false" table="`spkidatatype_group`"> - <meta attribute="featureMap">SPKIDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="sPKISexp" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_spkisexp`"/> - </property> - <many-to-one name="any" entity-name="SPKIDataType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="SPKIDataType_any" lazy="false" table="`spkidatatype_any`"> - <meta attribute="featureMap">SPKIDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.TransformsTypeImpl" entity-name="TransformsType" abstract="false" lazy="false" discriminator-value="TransformsType" table="`transformstype`"> - <meta attribute="eclassName">TransformsType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="transformstypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="transform" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="transformstype_transform"> - <column name="`transformstype_transform_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`transformstype_transform_idx`"/> - <one-to-many entity-name="TransformType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.TransformTypeImpl" entity-name="TransformType" abstract="false" lazy="false" discriminator-value="TransformType" table="`transformtype`"> - <meta attribute="eclassName">TransformType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="transformtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`transformtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`transformtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`transformtype_mixed_idx`"/> - <one-to-many entity-name="TransformType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="TransformType_mixed" lazy="false" table="`transformtype_mixed`"> - <meta attribute="featureMap">TransformType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_transformtype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_transformtype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_transformtype_group_idx`"/> - <one-to-many entity-name="TransformType_group"/> - </list> - <many-to-one name="any" entity-name="TransformType_any" cascade="all" not-null="false"/> - <property name="xPath" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_xpath`"/> - </property> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="TransformType_group" lazy="false" table="`transformtype_group`"> - <meta attribute="featureMap">TransformType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any" entity-name="TransformType_any" cascade="all" not-null="false"/> - <property name="xPath" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_xpath`"/> - </property> - </class> - <class entity-name="TransformType_any" lazy="false" table="`transformtype_any`"> - <meta attribute="featureMap">TransformType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.X509DataTypeImpl" entity-name="X509DataType" abstract="false" lazy="false" discriminator-value="X509DataType" table="`x509datatype`"> - <meta attribute="eclassName">X509DataType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="x509datatypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`x509datatype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`x509datatype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`x509datatype_group_idx`"/> - <one-to-many entity-name="X509DataType_group"/> - </list> - </class> - <class entity-name="X509DataType_group" lazy="false" table="`x509datatype_group`"> - <meta attribute="featureMap">X509DataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="x509IssuerSerial" entity-name="X509IssuerSerialType" lazy="false" cascade="all" foreign-key="x509datatype_x509issuerserial" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_x509issuerserialtype_x509issuerserial_e_id`"/> - </many-to-one> - <property name="x509SKI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_x509ski`"/> - </property> - <property name="x509SubjectName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_x509subjectname`"/> - </property> - <property name="x509Certificate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_x509certificate`"/> - </property> - <property name="x509CRL" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_x509crl`"/> - </property> - <many-to-one name="any" entity-name="X509DataType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="X509DataType_any" lazy="false" table="`x509datatype_any`"> - <meta attribute="featureMap">X509DataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.X509IssuerSerialTypeImpl" entity-name="X509IssuerSerialType" abstract="false" lazy="false" discriminator-value="X509IssuerSerialType" table="`x509issuerserialtype`"> - <meta attribute="eclassName">X509IssuerSerialType</meta> - <meta attribute="epackage">http://www.w3.org/2000/09/xmldsig#</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 type="string"> - <column name="dtype" index="x509issuerserialtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="x509IssuerName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`x509issuername`"/> - </property> - <property name="x509SerialNumber" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger"> - <column not-null="true" unique="false" name="`x509serialnumber`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a4dcb1058..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,1033 +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="org.w3._2000._09.xmldsig.impl.CanonicalizationMethodTypeImpl" entity-name="CanonicalizationMethodType" abstract="false" lazy="false" table="`canonicalizationmethodtype`"> - <meta attribute="eclassName" inherit="false">CanonicalizationMethodType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`canonicalizationmethodtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`canonicalizationmethodtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`canonicalizationmethodtype_mixed_idx`"/> - <one-to-many entity-name="CanonicalizationMethodType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="CanonicalizationMethodType_mixed" lazy="false" table="`canonicalizationmethodtype_mixed`"> - <meta attribute="featureMap" inherit="false">CanonicalizationMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="any" table="`mixed_canonicalizationmethodtype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_canonicalizationmethodtype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_canonicalizationmethodtype_any_idx`"/> - <one-to-many entity-name="CanonicalizationMethodType_any"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="CanonicalizationMethodType_any" lazy="false" table="`canonicalizationmethodtype_any`"> - <meta attribute="featureMap" inherit="false">CanonicalizationMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.DigestMethodTypeImpl" entity-name="DigestMethodType" abstract="false" lazy="false" table="`digestmethodtype`"> - <meta attribute="eclassName" inherit="false">DigestMethodType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`digestmethodtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`digestmethodtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`digestmethodtype_mixed_idx`"/> - <one-to-many entity-name="DigestMethodType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="DigestMethodType_mixed" lazy="false" table="`digestmethodtype_mixed`"> - <meta attribute="featureMap" inherit="false">DigestMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="any" table="`mixed_digestmethodtype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_digestmethodtype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_digestmethodtype_any_idx`"/> - <one-to-many entity-name="DigestMethodType_any"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="DigestMethodType_any" lazy="false" table="`digestmethodtype_any`"> - <meta attribute="featureMap" inherit="false">DigestMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.DSAKeyValueTypeImpl" entity-name="DSAKeyValueType" abstract="false" lazy="false" table="`dsakeyvaluetype`"> - <meta attribute="eclassName" inherit="false">DSAKeyValueType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <array name="p" table="`dsakeyvaluetype_p`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_p_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_p_idx`"/> - <element type="byte"/> - </array> - <array name="q" table="`dsakeyvaluetype_q`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_q_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_q_idx`"/> - <element type="byte"/> - </array> - <array name="g" table="`dsakeyvaluetype_g`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_g_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_g_idx`"/> - <element type="byte"/> - </array> - <array name="y" table="`dsakeyvaluetype_y`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_y_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_y_idx`"/> - <element type="byte"/> - </array> - <array name="j" table="`dsakeyvaluetype_j`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_j_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_j_idx`"/> - <element type="byte"/> - </array> - <array name="seed" table="`dsakeyvaluetype_seed`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_seed_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_seed_idx`"/> - <element type="byte"/> - </array> - <array name="pgenCounter" table="`dsakeyvaluetype_pgencounter`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_pgencounter_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_pgencounter_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.w3._2000._09.xmldsig.impl.KeyInfoTypeImpl" entity-name="KeyInfoType" abstract="false" lazy="false" table="`keyinfotype`"> - <meta attribute="eclassName" inherit="false">KeyInfoType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="mixed" table="`keyinfotype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`keyinfotype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`keyinfotype_mixed_idx`"/> - <one-to-many entity-name="KeyInfoType_mixed"/> - </list> - </class> - <class entity-name="KeyInfoType_mixed" lazy="false" table="`keyinfotype_mixed`"> - <meta attribute="featureMap" inherit="false">KeyInfoType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_keyinfotype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_keyinfotype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_keyinfotype_group_idx`"/> - <one-to-many entity-name="KeyInfoType_group"/> - </list> - <property name="keyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_keyname`"/> - </property> - <many-to-one name="keyValue" entity-name="KeyValueType" lazy="false" cascade="all" foreign-key="keyinfotype_keyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_keyvaluetype_keyvalue_e_id`"/> - </many-to-one> - <many-to-one name="retrievalMethod" entity-name="RetrievalMethodType" lazy="false" cascade="all" foreign-key="keyinfotype_retrievalmethod" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_retrievalmethodtype_retrievalmethod_e_id`"/> - </many-to-one> - <many-to-one name="x509Data" entity-name="X509DataType" lazy="false" cascade="all" foreign-key="keyinfotype_x509data" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_x509datatype_x509data_e_id`"/> - </many-to-one> - <many-to-one name="pGPData" entity-name="PGPDataType" lazy="false" cascade="all" foreign-key="keyinfotype_pgpdata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_pgpdatatype_pgpdata_e_id`"/> - </many-to-one> - <many-to-one name="sPKIData" entity-name="SPKIDataType" lazy="false" cascade="all" foreign-key="keyinfotype_spkidata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_spkidatatype_spkidata_e_id`"/> - </many-to-one> - <property name="mgmtData" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_mgmtdata`"/> - </property> - <many-to-one name="any" entity-name="KeyInfoType_any" cascade="all" not-null="false"/> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_id`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="KeyInfoType_group" lazy="false" table="`keyinfotype_group`"> - <meta attribute="featureMap" inherit="false">KeyInfoType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="keyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_keyname`"/> - </property> - <many-to-one name="keyValue" entity-name="KeyValueType" lazy="false" cascade="all" foreign-key="keyinfotype_keyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_keyvaluetype_keyvalue_e_id`"/> - </many-to-one> - <many-to-one name="retrievalMethod" entity-name="RetrievalMethodType" lazy="false" cascade="all" foreign-key="keyinfotype_retrievalmethod" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_retrievalmethodtype_retrievalmethod_e_id`"/> - </many-to-one> - <many-to-one name="x509Data" entity-name="X509DataType" lazy="false" cascade="all" foreign-key="keyinfotype_x509data" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_x509datatype_x509data_e_id`"/> - </many-to-one> - <many-to-one name="pGPData" entity-name="PGPDataType" lazy="false" cascade="all" foreign-key="keyinfotype_pgpdata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_pgpdatatype_pgpdata_e_id`"/> - </many-to-one> - <many-to-one name="sPKIData" entity-name="SPKIDataType" lazy="false" cascade="all" foreign-key="keyinfotype_spkidata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_spkidatatype_spkidata_e_id`"/> - </many-to-one> - <property name="mgmtData" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_mgmtdata`"/> - </property> - <many-to-one name="any" entity-name="KeyInfoType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="KeyInfoType_any" lazy="false" table="`keyinfotype_any`"> - <meta attribute="featureMap" inherit="false">KeyInfoType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.KeyValueTypeImpl" entity-name="KeyValueType" abstract="false" lazy="false" table="`keyvaluetype`"> - <meta attribute="eclassName" inherit="false">KeyValueType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`keyvaluetype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`keyvaluetype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`keyvaluetype_mixed_idx`"/> - <one-to-many entity-name="KeyValueType_mixed"/> - </list> - </class> - <class entity-name="KeyValueType_mixed" lazy="false" table="`keyvaluetype_mixed`"> - <meta attribute="featureMap" inherit="false">KeyValueType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="dSAKeyValue" entity-name="DSAKeyValueType" lazy="false" cascade="all" foreign-key="keyvaluetype_dsakeyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_dsakeyvaluetype_dsakeyvalue_e_id`"/> - </many-to-one> - <many-to-one name="rSAKeyValue" entity-name="RSAKeyValueType" lazy="false" cascade="all" foreign-key="keyvaluetype_rsakeyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_rsakeyvaluetype_rsakeyvalue_e_id`"/> - </many-to-one> - <list name="any" table="`mixed_keyvaluetype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_keyvaluetype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_keyvaluetype_any_idx`"/> - <one-to-many entity-name="KeyValueType_any"/> - </list> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="KeyValueType_any" lazy="false" table="`keyvaluetype_any`"> - <meta attribute="featureMap" inherit="false">KeyValueType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.ManifestTypeImpl" entity-name="ManifestType" abstract="false" lazy="false" table="`manifesttype`"> - <meta attribute="eclassName" inherit="false">ManifestType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="reference" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="manifesttype_reference"> - <column name="`manifesttype_reference_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`manifesttype_reference_idx`"/> - <one-to-many entity-name="ReferenceType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.ObjectTypeImpl" entity-name="ObjectType" abstract="false" lazy="false" table="`objecttype`"> - <meta attribute="eclassName" inherit="false">ObjectType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="mixed" table="`objecttype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`objecttype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`objecttype_mixed_idx`"/> - <one-to-many entity-name="ObjectType_mixed"/> - </list> - <property name="encoding" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`encoding`"/> - </property> - <property name="mimeType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mimetype`"/> - </property> - </class> - <class entity-name="ObjectType_mixed" lazy="false" table="`objecttype_mixed`"> - <meta attribute="featureMap" inherit="false">ObjectType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_objecttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_objecttype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_objecttype_group_idx`"/> - <one-to-many entity-name="ObjectType_group"/> - </list> - <many-to-one name="any" entity-name="ObjectType_any" cascade="all" not-null="false"/> - <property name="encoding" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_encoding`"/> - </property> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_id`"/> - </property> - <property name="mimeType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_mimetype`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="ObjectType_group" lazy="false" table="`objecttype_group`"> - <meta attribute="featureMap" inherit="false">ObjectType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any" entity-name="ObjectType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="ObjectType_any" lazy="false" table="`objecttype_any`"> - <meta attribute="featureMap" inherit="false">ObjectType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.PGPDataTypeImpl" entity-name="PGPDataType" abstract="false" lazy="false" table="`pgpdatatype`"> - <meta attribute="eclassName" inherit="false">PGPDataType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <array name="pGPKeyID" table="`pgpdatatype_pgpkeyid`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_pgpkeyid_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`pgpdatatype_pgpkeyid_idx`"/> - <element type="byte"/> - </array> - <array name="pGPKeyPacket" table="`pgpdatatype_pgpkeypacket`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_pgpkeypacket_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`pgpdatatype_pgpkeypacket_idx`"/> - <element type="byte"/> - </array> - <list name="any" table="`pgpdatatype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`pgpdatatype_any_idx`"/> - <one-to-many entity-name="PGPDataType_any"/> - </list> - <array name="pGPKeyPacket1" table="`pgpdatatype_pgpkeypacket1`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_pgpkeypacket1_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`pgpdatatype_pgpkeypacket1_idx`"/> - <element type="byte"/> - </array> - <list name="any1" table="`pgpdatatype_any1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_any1_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`pgpdatatype_any1_idx`"/> - <one-to-many entity-name="PGPDataType_any1"/> - </list> - </class> - <class entity-name="PGPDataType_any" lazy="false" table="`pgpdatatype_any`"> - <meta attribute="featureMap" inherit="false">PGPDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class entity-name="PGPDataType_any1" lazy="false" table="`pgpdatatype_any1`"> - <meta attribute="featureMap" inherit="false">PGPDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any1_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any1_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any1_type`"/> - <column not-null="false" unique="false" name="`any1_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.ReferenceTypeImpl" entity-name="ReferenceType" abstract="false" lazy="false" table="`referencetype`"> - <meta attribute="eclassName" inherit="false">ReferenceType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="transforms" entity-name="TransformsType" lazy="false" cascade="all" foreign-key="referencetype_transforms" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`transformstype_transforms_e_id`"/> - </many-to-one> - <many-to-one name="digestMethod" entity-name="DigestMethodType" lazy="false" cascade="all" foreign-key="referencetype_digestmethod" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`digestmethodtype_digestmethod_e_id`"/> - </many-to-one> - <array name="digestValue" table="`referencetype_digestvalue`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`referencetype_digestvalue_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`referencetype_digestvalue_idx`"/> - <element type="byte"/> - </array> - <property name="type" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`type`"/> - </property> - <property name="uRI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`uri`"/> - </property> - </class> - <class name="org.w3._2000._09.xmldsig.impl.RetrievalMethodTypeImpl" entity-name="RetrievalMethodType" abstract="false" lazy="false" table="`retrievalmethodtype`"> - <meta attribute="eclassName" inherit="false">RetrievalMethodType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <many-to-one name="transforms" entity-name="TransformsType" lazy="false" cascade="all" foreign-key="retrievalmethodtype_transforms" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`transformstype_transforms_e_id`"/> - </many-to-one> - <property name="type" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`type`"/> - </property> - <property name="uRI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`uri`"/> - </property> - </class> - <class name="org.w3._2000._09.xmldsig.impl.RSAKeyValueTypeImpl" entity-name="RSAKeyValueType" abstract="false" lazy="false" table="`rsakeyvaluetype`"> - <meta attribute="eclassName" inherit="false">RSAKeyValueType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <array name="modulus" table="`rsakeyvaluetype_modulus`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`rsakeyvaluetype_modulus_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`rsakeyvaluetype_modulus_idx`"/> - <element type="byte"/> - </array> - <array name="exponent" table="`rsakeyvaluetype_exponent`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`rsakeyvaluetype_exponent_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`rsakeyvaluetype_exponent_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignatureMethodTypeImpl" entity-name="SignatureMethodType" abstract="false" lazy="false" table="`signaturemethodtype`"> - <meta attribute="eclassName" inherit="false">SignatureMethodType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`signaturemethodtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`signaturemethodtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturemethodtype_mixed_idx`"/> - <one-to-many entity-name="SignatureMethodType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="SignatureMethodType_mixed" lazy="false" table="`signaturemethodtype_mixed`"> - <meta attribute="featureMap" inherit="false">SignatureMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="hMACOutputLength" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`mixed_hmacoutputlength`"/> - </property> - <list name="any" table="`mixed_signaturemethodtype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_signaturemethodtype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_signaturemethodtype_any_idx`"/> - <one-to-many entity-name="SignatureMethodType_any"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="SignatureMethodType_any" lazy="false" table="`signaturemethodtype_any`"> - <meta attribute="featureMap" inherit="false">SignatureMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignaturePropertiesTypeImpl" entity-name="SignaturePropertiesType" abstract="false" lazy="false" table="`signaturepropertiestype`"> - <meta attribute="eclassName" inherit="false">SignaturePropertiesType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="signatureProperty" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="signaturepropertiestype_signatureproperty"> - <column name="`signaturepropertiestype_signatureproperty_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturepropertiestype_signatureproperty_idx`"/> - <one-to-many entity-name="SignaturePropertyType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignaturePropertyTypeImpl" entity-name="SignaturePropertyType" abstract="false" lazy="false" table="`signaturepropertytype`"> - <meta attribute="eclassName" inherit="false">SignaturePropertyType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="mixed" table="`signaturepropertytype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`signaturepropertytype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturepropertytype_mixed_idx`"/> - <one-to-many entity-name="SignaturePropertyType_mixed"/> - </list> - <property name="target" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`target`"/> - </property> - </class> - <class entity-name="SignaturePropertyType_mixed" lazy="false" table="`signaturepropertytype_mixed`"> - <meta attribute="featureMap" inherit="false">SignaturePropertyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_signaturepropertytype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_signaturepropertytype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_signaturepropertytype_group_idx`"/> - <one-to-many entity-name="SignaturePropertyType_group"/> - </list> - <many-to-one name="any" entity-name="SignaturePropertyType_any" cascade="all" not-null="false"/> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_id`"/> - </property> - <property name="target" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_target`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="SignaturePropertyType_group" lazy="false" table="`signaturepropertytype_group`"> - <meta attribute="featureMap" inherit="false">SignaturePropertyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any" entity-name="SignaturePropertyType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="SignaturePropertyType_any" lazy="false" table="`signaturepropertytype_any`"> - <meta attribute="featureMap" inherit="false">SignaturePropertyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignatureTypeImpl" entity-name="SignatureType" abstract="false" lazy="false" table="`signaturetype`"> - <meta attribute="eclassName" inherit="false">SignatureType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="signedInfo" entity-name="SignedInfoType" lazy="false" cascade="all" foreign-key="signaturetype_signedinfo" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`signedinfotype_signedinfo_e_id`"/> - </many-to-one> - <many-to-one name="signatureValue" entity-name="SignatureValueType" lazy="false" cascade="all" foreign-key="signaturetype_signaturevalue" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`signaturevaluetype_signaturevalue_e_id`"/> - </many-to-one> - <many-to-one name="keyInfo" entity-name="KeyInfoType" lazy="false" cascade="all" foreign-key="signaturetype_keyinfo" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`keyinfotype_keyinfo_id`"/> - </many-to-one> - <list name="object" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="signaturetype_object"> - <column name="`signaturetype_object_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturetype_object_idx`"/> - <one-to-many entity-name="ObjectType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignatureValueTypeImpl" entity-name="SignatureValueType" abstract="false" lazy="false" table="`signaturevaluetype`"> - <meta attribute="eclassName" inherit="false">SignatureValueType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <array name="value" table="`signaturevaluetype_value`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`signaturevaluetype_value_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`signaturevaluetype_value_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignedInfoTypeImpl" entity-name="SignedInfoType" abstract="false" lazy="false" table="`signedinfotype`"> - <meta attribute="eclassName" inherit="false">SignedInfoType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="canonicalizationMethod" entity-name="CanonicalizationMethodType" lazy="false" cascade="all" foreign-key="signedinfotype_canonicalizationmethod" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`canonicalizationmethodtype_canonicalizationmethod_e_id`"/> - </many-to-one> - <many-to-one name="signatureMethod" entity-name="SignatureMethodType" lazy="false" cascade="all" foreign-key="signedinfotype_signaturemethod" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`signaturemethodtype_signaturemethod_e_id`"/> - </many-to-one> - <list name="reference" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="signedinfotype_reference"> - <column name="`signedinfotype_reference_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signedinfotype_reference_idx`"/> - <one-to-many entity-name="ReferenceType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SPKIDataTypeImpl" entity-name="SPKIDataType" abstract="false" lazy="false" table="`spkidatatype`"> - <meta attribute="eclassName" inherit="false">SPKIDataType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="group" table="`spkidatatype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`spkidatatype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`spkidatatype_group_idx`"/> - <one-to-many entity-name="SPKIDataType_group"/> - </list> - </class> - <class entity-name="SPKIDataType_group" lazy="false" table="`spkidatatype_group`"> - <meta attribute="featureMap" inherit="false">SPKIDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="sPKISexp" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_spkisexp`"/> - </property> - <many-to-one name="any" entity-name="SPKIDataType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="SPKIDataType_any" lazy="false" table="`spkidatatype_any`"> - <meta attribute="featureMap" inherit="false">SPKIDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.TransformsTypeImpl" entity-name="TransformsType" abstract="false" lazy="false" table="`transformstype`"> - <meta attribute="eclassName" inherit="false">TransformsType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="transform" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="transformstype_transform"> - <column name="`transformstype_transform_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`transformstype_transform_idx`"/> - <one-to-many entity-name="TransformType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.TransformTypeImpl" entity-name="TransformType" abstract="false" lazy="false" table="`transformtype`"> - <meta attribute="eclassName" inherit="false">TransformType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`transformtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`transformtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`transformtype_mixed_idx`"/> - <one-to-many entity-name="TransformType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="TransformType_mixed" lazy="false" table="`transformtype_mixed`"> - <meta attribute="featureMap" inherit="false">TransformType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_transformtype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_transformtype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_transformtype_group_idx`"/> - <one-to-many entity-name="TransformType_group"/> - </list> - <many-to-one name="any" entity-name="TransformType_any" cascade="all" not-null="false"/> - <property name="xPath" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_xpath`"/> - </property> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="TransformType_group" lazy="false" table="`transformtype_group`"> - <meta attribute="featureMap" inherit="false">TransformType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any" entity-name="TransformType_any" cascade="all" not-null="false"/> - <property name="xPath" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_xpath`"/> - </property> - </class> - <class entity-name="TransformType_any" lazy="false" table="`transformtype_any`"> - <meta attribute="featureMap" inherit="false">TransformType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.X509DataTypeImpl" entity-name="X509DataType" abstract="false" lazy="false" table="`x509datatype`"> - <meta attribute="eclassName" inherit="false">X509DataType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="group" table="`x509datatype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`x509datatype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`x509datatype_group_idx`"/> - <one-to-many entity-name="X509DataType_group"/> - </list> - </class> - <class entity-name="X509DataType_group" lazy="false" table="`x509datatype_group`"> - <meta attribute="featureMap" inherit="false">X509DataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="x509IssuerSerial" entity-name="X509IssuerSerialType" lazy="false" cascade="all" foreign-key="x509datatype_x509issuerserial" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_x509issuerserialtype_x509issuerserial_e_id`"/> - </many-to-one> - <property name="x509SKI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_x509ski`"/> - </property> - <property name="x509SubjectName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_x509subjectname`"/> - </property> - <property name="x509Certificate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_x509certificate`"/> - </property> - <property name="x509CRL" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_x509crl`"/> - </property> - <many-to-one name="any" entity-name="X509DataType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="X509DataType_any" lazy="false" table="`x509datatype_any`"> - <meta attribute="featureMap" inherit="false">X509DataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.X509IssuerSerialTypeImpl" entity-name="X509IssuerSerialType" abstract="false" lazy="false" table="`x509issuerserialtype`"> - <meta attribute="eclassName" inherit="false">X509IssuerSerialType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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="x509IssuerName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`x509issuername`"/> - </property> - <property name="x509SerialNumber" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger"> - <column not-null="true" unique="false" name="`x509serialnumber`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a4dcb1058..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,1033 +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="org.w3._2000._09.xmldsig.impl.CanonicalizationMethodTypeImpl" entity-name="CanonicalizationMethodType" abstract="false" lazy="false" table="`canonicalizationmethodtype`"> - <meta attribute="eclassName" inherit="false">CanonicalizationMethodType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`canonicalizationmethodtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`canonicalizationmethodtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`canonicalizationmethodtype_mixed_idx`"/> - <one-to-many entity-name="CanonicalizationMethodType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="CanonicalizationMethodType_mixed" lazy="false" table="`canonicalizationmethodtype_mixed`"> - <meta attribute="featureMap" inherit="false">CanonicalizationMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="any" table="`mixed_canonicalizationmethodtype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_canonicalizationmethodtype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_canonicalizationmethodtype_any_idx`"/> - <one-to-many entity-name="CanonicalizationMethodType_any"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="CanonicalizationMethodType_any" lazy="false" table="`canonicalizationmethodtype_any`"> - <meta attribute="featureMap" inherit="false">CanonicalizationMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.DigestMethodTypeImpl" entity-name="DigestMethodType" abstract="false" lazy="false" table="`digestmethodtype`"> - <meta attribute="eclassName" inherit="false">DigestMethodType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`digestmethodtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`digestmethodtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`digestmethodtype_mixed_idx`"/> - <one-to-many entity-name="DigestMethodType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="DigestMethodType_mixed" lazy="false" table="`digestmethodtype_mixed`"> - <meta attribute="featureMap" inherit="false">DigestMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="any" table="`mixed_digestmethodtype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_digestmethodtype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_digestmethodtype_any_idx`"/> - <one-to-many entity-name="DigestMethodType_any"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="DigestMethodType_any" lazy="false" table="`digestmethodtype_any`"> - <meta attribute="featureMap" inherit="false">DigestMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.DSAKeyValueTypeImpl" entity-name="DSAKeyValueType" abstract="false" lazy="false" table="`dsakeyvaluetype`"> - <meta attribute="eclassName" inherit="false">DSAKeyValueType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <array name="p" table="`dsakeyvaluetype_p`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_p_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_p_idx`"/> - <element type="byte"/> - </array> - <array name="q" table="`dsakeyvaluetype_q`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_q_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_q_idx`"/> - <element type="byte"/> - </array> - <array name="g" table="`dsakeyvaluetype_g`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_g_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_g_idx`"/> - <element type="byte"/> - </array> - <array name="y" table="`dsakeyvaluetype_y`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_y_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_y_idx`"/> - <element type="byte"/> - </array> - <array name="j" table="`dsakeyvaluetype_j`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_j_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_j_idx`"/> - <element type="byte"/> - </array> - <array name="seed" table="`dsakeyvaluetype_seed`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_seed_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_seed_idx`"/> - <element type="byte"/> - </array> - <array name="pgenCounter" table="`dsakeyvaluetype_pgencounter`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`dsakeyvaluetype_pgencounter_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`dsakeyvaluetype_pgencounter_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.w3._2000._09.xmldsig.impl.KeyInfoTypeImpl" entity-name="KeyInfoType" abstract="false" lazy="false" table="`keyinfotype`"> - <meta attribute="eclassName" inherit="false">KeyInfoType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="mixed" table="`keyinfotype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`keyinfotype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`keyinfotype_mixed_idx`"/> - <one-to-many entity-name="KeyInfoType_mixed"/> - </list> - </class> - <class entity-name="KeyInfoType_mixed" lazy="false" table="`keyinfotype_mixed`"> - <meta attribute="featureMap" inherit="false">KeyInfoType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_keyinfotype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_keyinfotype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_keyinfotype_group_idx`"/> - <one-to-many entity-name="KeyInfoType_group"/> - </list> - <property name="keyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_keyname`"/> - </property> - <many-to-one name="keyValue" entity-name="KeyValueType" lazy="false" cascade="all" foreign-key="keyinfotype_keyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_keyvaluetype_keyvalue_e_id`"/> - </many-to-one> - <many-to-one name="retrievalMethod" entity-name="RetrievalMethodType" lazy="false" cascade="all" foreign-key="keyinfotype_retrievalmethod" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_retrievalmethodtype_retrievalmethod_e_id`"/> - </many-to-one> - <many-to-one name="x509Data" entity-name="X509DataType" lazy="false" cascade="all" foreign-key="keyinfotype_x509data" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_x509datatype_x509data_e_id`"/> - </many-to-one> - <many-to-one name="pGPData" entity-name="PGPDataType" lazy="false" cascade="all" foreign-key="keyinfotype_pgpdata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_pgpdatatype_pgpdata_e_id`"/> - </many-to-one> - <many-to-one name="sPKIData" entity-name="SPKIDataType" lazy="false" cascade="all" foreign-key="keyinfotype_spkidata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_spkidatatype_spkidata_e_id`"/> - </many-to-one> - <property name="mgmtData" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_mgmtdata`"/> - </property> - <many-to-one name="any" entity-name="KeyInfoType_any" cascade="all" not-null="false"/> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_id`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="KeyInfoType_group" lazy="false" table="`keyinfotype_group`"> - <meta attribute="featureMap" inherit="false">KeyInfoType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="keyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_keyname`"/> - </property> - <many-to-one name="keyValue" entity-name="KeyValueType" lazy="false" cascade="all" foreign-key="keyinfotype_keyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_keyvaluetype_keyvalue_e_id`"/> - </many-to-one> - <many-to-one name="retrievalMethod" entity-name="RetrievalMethodType" lazy="false" cascade="all" foreign-key="keyinfotype_retrievalmethod" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_retrievalmethodtype_retrievalmethod_e_id`"/> - </many-to-one> - <many-to-one name="x509Data" entity-name="X509DataType" lazy="false" cascade="all" foreign-key="keyinfotype_x509data" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_x509datatype_x509data_e_id`"/> - </many-to-one> - <many-to-one name="pGPData" entity-name="PGPDataType" lazy="false" cascade="all" foreign-key="keyinfotype_pgpdata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_pgpdatatype_pgpdata_e_id`"/> - </many-to-one> - <many-to-one name="sPKIData" entity-name="SPKIDataType" lazy="false" cascade="all" foreign-key="keyinfotype_spkidata" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_spkidatatype_spkidata_e_id`"/> - </many-to-one> - <property name="mgmtData" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_mgmtdata`"/> - </property> - <many-to-one name="any" entity-name="KeyInfoType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="KeyInfoType_any" lazy="false" table="`keyinfotype_any`"> - <meta attribute="featureMap" inherit="false">KeyInfoType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.KeyValueTypeImpl" entity-name="KeyValueType" abstract="false" lazy="false" table="`keyvaluetype`"> - <meta attribute="eclassName" inherit="false">KeyValueType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`keyvaluetype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`keyvaluetype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`keyvaluetype_mixed_idx`"/> - <one-to-many entity-name="KeyValueType_mixed"/> - </list> - </class> - <class entity-name="KeyValueType_mixed" lazy="false" table="`keyvaluetype_mixed`"> - <meta attribute="featureMap" inherit="false">KeyValueType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="dSAKeyValue" entity-name="DSAKeyValueType" lazy="false" cascade="all" foreign-key="keyvaluetype_dsakeyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_dsakeyvaluetype_dsakeyvalue_e_id`"/> - </many-to-one> - <many-to-one name="rSAKeyValue" entity-name="RSAKeyValueType" lazy="false" cascade="all" foreign-key="keyvaluetype_rsakeyvalue" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_rsakeyvaluetype_rsakeyvalue_e_id`"/> - </many-to-one> - <list name="any" table="`mixed_keyvaluetype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_keyvaluetype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_keyvaluetype_any_idx`"/> - <one-to-many entity-name="KeyValueType_any"/> - </list> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="KeyValueType_any" lazy="false" table="`keyvaluetype_any`"> - <meta attribute="featureMap" inherit="false">KeyValueType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.ManifestTypeImpl" entity-name="ManifestType" abstract="false" lazy="false" table="`manifesttype`"> - <meta attribute="eclassName" inherit="false">ManifestType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="reference" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="manifesttype_reference"> - <column name="`manifesttype_reference_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`manifesttype_reference_idx`"/> - <one-to-many entity-name="ReferenceType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.ObjectTypeImpl" entity-name="ObjectType" abstract="false" lazy="false" table="`objecttype`"> - <meta attribute="eclassName" inherit="false">ObjectType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="mixed" table="`objecttype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`objecttype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`objecttype_mixed_idx`"/> - <one-to-many entity-name="ObjectType_mixed"/> - </list> - <property name="encoding" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`encoding`"/> - </property> - <property name="mimeType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mimetype`"/> - </property> - </class> - <class entity-name="ObjectType_mixed" lazy="false" table="`objecttype_mixed`"> - <meta attribute="featureMap" inherit="false">ObjectType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_objecttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_objecttype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_objecttype_group_idx`"/> - <one-to-many entity-name="ObjectType_group"/> - </list> - <many-to-one name="any" entity-name="ObjectType_any" cascade="all" not-null="false"/> - <property name="encoding" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_encoding`"/> - </property> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_id`"/> - </property> - <property name="mimeType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_mimetype`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="ObjectType_group" lazy="false" table="`objecttype_group`"> - <meta attribute="featureMap" inherit="false">ObjectType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any" entity-name="ObjectType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="ObjectType_any" lazy="false" table="`objecttype_any`"> - <meta attribute="featureMap" inherit="false">ObjectType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.PGPDataTypeImpl" entity-name="PGPDataType" abstract="false" lazy="false" table="`pgpdatatype`"> - <meta attribute="eclassName" inherit="false">PGPDataType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <array name="pGPKeyID" table="`pgpdatatype_pgpkeyid`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_pgpkeyid_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`pgpdatatype_pgpkeyid_idx`"/> - <element type="byte"/> - </array> - <array name="pGPKeyPacket" table="`pgpdatatype_pgpkeypacket`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_pgpkeypacket_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`pgpdatatype_pgpkeypacket_idx`"/> - <element type="byte"/> - </array> - <list name="any" table="`pgpdatatype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`pgpdatatype_any_idx`"/> - <one-to-many entity-name="PGPDataType_any"/> - </list> - <array name="pGPKeyPacket1" table="`pgpdatatype_pgpkeypacket1`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_pgpkeypacket1_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`pgpdatatype_pgpkeypacket1_idx`"/> - <element type="byte"/> - </array> - <list name="any1" table="`pgpdatatype_any1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pgpdatatype_any1_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`pgpdatatype_any1_idx`"/> - <one-to-many entity-name="PGPDataType_any1"/> - </list> - </class> - <class entity-name="PGPDataType_any" lazy="false" table="`pgpdatatype_any`"> - <meta attribute="featureMap" inherit="false">PGPDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class entity-name="PGPDataType_any1" lazy="false" table="`pgpdatatype_any1`"> - <meta attribute="featureMap" inherit="false">PGPDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any1_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any1_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any1_type`"/> - <column not-null="false" unique="false" name="`any1_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.ReferenceTypeImpl" entity-name="ReferenceType" abstract="false" lazy="false" table="`referencetype`"> - <meta attribute="eclassName" inherit="false">ReferenceType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="transforms" entity-name="TransformsType" lazy="false" cascade="all" foreign-key="referencetype_transforms" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`transformstype_transforms_e_id`"/> - </many-to-one> - <many-to-one name="digestMethod" entity-name="DigestMethodType" lazy="false" cascade="all" foreign-key="referencetype_digestmethod" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`digestmethodtype_digestmethod_e_id`"/> - </many-to-one> - <array name="digestValue" table="`referencetype_digestvalue`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`referencetype_digestvalue_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`referencetype_digestvalue_idx`"/> - <element type="byte"/> - </array> - <property name="type" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`type`"/> - </property> - <property name="uRI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`uri`"/> - </property> - </class> - <class name="org.w3._2000._09.xmldsig.impl.RetrievalMethodTypeImpl" entity-name="RetrievalMethodType" abstract="false" lazy="false" table="`retrievalmethodtype`"> - <meta attribute="eclassName" inherit="false">RetrievalMethodType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <many-to-one name="transforms" entity-name="TransformsType" lazy="false" cascade="all" foreign-key="retrievalmethodtype_transforms" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`transformstype_transforms_e_id`"/> - </many-to-one> - <property name="type" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`type`"/> - </property> - <property name="uRI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`uri`"/> - </property> - </class> - <class name="org.w3._2000._09.xmldsig.impl.RSAKeyValueTypeImpl" entity-name="RSAKeyValueType" abstract="false" lazy="false" table="`rsakeyvaluetype`"> - <meta attribute="eclassName" inherit="false">RSAKeyValueType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <array name="modulus" table="`rsakeyvaluetype_modulus`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`rsakeyvaluetype_modulus_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`rsakeyvaluetype_modulus_idx`"/> - <element type="byte"/> - </array> - <array name="exponent" table="`rsakeyvaluetype_exponent`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`rsakeyvaluetype_exponent_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`rsakeyvaluetype_exponent_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignatureMethodTypeImpl" entity-name="SignatureMethodType" abstract="false" lazy="false" table="`signaturemethodtype`"> - <meta attribute="eclassName" inherit="false">SignatureMethodType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`signaturemethodtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`signaturemethodtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturemethodtype_mixed_idx`"/> - <one-to-many entity-name="SignatureMethodType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="SignatureMethodType_mixed" lazy="false" table="`signaturemethodtype_mixed`"> - <meta attribute="featureMap" inherit="false">SignatureMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="hMACOutputLength" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`mixed_hmacoutputlength`"/> - </property> - <list name="any" table="`mixed_signaturemethodtype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_signaturemethodtype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_signaturemethodtype_any_idx`"/> - <one-to-many entity-name="SignatureMethodType_any"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="SignatureMethodType_any" lazy="false" table="`signaturemethodtype_any`"> - <meta attribute="featureMap" inherit="false">SignatureMethodType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignaturePropertiesTypeImpl" entity-name="SignaturePropertiesType" abstract="false" lazy="false" table="`signaturepropertiestype`"> - <meta attribute="eclassName" inherit="false">SignaturePropertiesType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="signatureProperty" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="signaturepropertiestype_signatureproperty"> - <column name="`signaturepropertiestype_signatureproperty_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturepropertiestype_signatureproperty_idx`"/> - <one-to-many entity-name="SignaturePropertyType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignaturePropertyTypeImpl" entity-name="SignaturePropertyType" abstract="false" lazy="false" table="`signaturepropertytype`"> - <meta attribute="eclassName" inherit="false">SignaturePropertyType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="mixed" table="`signaturepropertytype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`signaturepropertytype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturepropertytype_mixed_idx`"/> - <one-to-many entity-name="SignaturePropertyType_mixed"/> - </list> - <property name="target" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`target`"/> - </property> - </class> - <class entity-name="SignaturePropertyType_mixed" lazy="false" table="`signaturepropertytype_mixed`"> - <meta attribute="featureMap" inherit="false">SignaturePropertyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_signaturepropertytype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_signaturepropertytype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_signaturepropertytype_group_idx`"/> - <one-to-many entity-name="SignaturePropertyType_group"/> - </list> - <many-to-one name="any" entity-name="SignaturePropertyType_any" cascade="all" not-null="false"/> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_id`"/> - </property> - <property name="target" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_target`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="SignaturePropertyType_group" lazy="false" table="`signaturepropertytype_group`"> - <meta attribute="featureMap" inherit="false">SignaturePropertyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any" entity-name="SignaturePropertyType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="SignaturePropertyType_any" lazy="false" table="`signaturepropertytype_any`"> - <meta attribute="featureMap" inherit="false">SignaturePropertyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignatureTypeImpl" entity-name="SignatureType" abstract="false" lazy="false" table="`signaturetype`"> - <meta attribute="eclassName" inherit="false">SignatureType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="signedInfo" entity-name="SignedInfoType" lazy="false" cascade="all" foreign-key="signaturetype_signedinfo" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`signedinfotype_signedinfo_e_id`"/> - </many-to-one> - <many-to-one name="signatureValue" entity-name="SignatureValueType" lazy="false" cascade="all" foreign-key="signaturetype_signaturevalue" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`signaturevaluetype_signaturevalue_e_id`"/> - </many-to-one> - <many-to-one name="keyInfo" entity-name="KeyInfoType" lazy="false" cascade="all" foreign-key="signaturetype_keyinfo" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`keyinfotype_keyinfo_id`"/> - </many-to-one> - <list name="object" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="signaturetype_object"> - <column name="`signaturetype_object_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signaturetype_object_idx`"/> - <one-to-many entity-name="ObjectType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignatureValueTypeImpl" entity-name="SignatureValueType" abstract="false" lazy="false" table="`signaturevaluetype`"> - <meta attribute="eclassName" inherit="false">SignatureValueType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <array name="value" table="`signaturevaluetype_value`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`signaturevaluetype_value_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`signaturevaluetype_value_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SignedInfoTypeImpl" entity-name="SignedInfoType" abstract="false" lazy="false" table="`signedinfotype`"> - <meta attribute="eclassName" inherit="false">SignedInfoType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="canonicalizationMethod" entity-name="CanonicalizationMethodType" lazy="false" cascade="all" foreign-key="signedinfotype_canonicalizationmethod" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`canonicalizationmethodtype_canonicalizationmethod_e_id`"/> - </many-to-one> - <many-to-one name="signatureMethod" entity-name="SignatureMethodType" lazy="false" cascade="all" foreign-key="signedinfotype_signaturemethod" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`signaturemethodtype_signaturemethod_e_id`"/> - </many-to-one> - <list name="reference" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="signedinfotype_reference"> - <column name="`signedinfotype_reference_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`signedinfotype_reference_idx`"/> - <one-to-many entity-name="ReferenceType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.SPKIDataTypeImpl" entity-name="SPKIDataType" abstract="false" lazy="false" table="`spkidatatype`"> - <meta attribute="eclassName" inherit="false">SPKIDataType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="group" table="`spkidatatype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`spkidatatype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`spkidatatype_group_idx`"/> - <one-to-many entity-name="SPKIDataType_group"/> - </list> - </class> - <class entity-name="SPKIDataType_group" lazy="false" table="`spkidatatype_group`"> - <meta attribute="featureMap" inherit="false">SPKIDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="sPKISexp" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_spkisexp`"/> - </property> - <many-to-one name="any" entity-name="SPKIDataType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="SPKIDataType_any" lazy="false" table="`spkidatatype_any`"> - <meta attribute="featureMap" inherit="false">SPKIDataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.TransformsTypeImpl" entity-name="TransformsType" abstract="false" lazy="false" table="`transformstype`"> - <meta attribute="eclassName" inherit="false">TransformsType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="transform" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="transformstype_transform"> - <column name="`transformstype_transform_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`transformstype_transform_idx`"/> - <one-to-many entity-name="TransformType"/> - </list> - </class> - <class name="org.w3._2000._09.xmldsig.impl.TransformTypeImpl" entity-name="TransformType" abstract="false" lazy="false" table="`transformtype`"> - <meta attribute="eclassName" inherit="false">TransformType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="mixed" table="`transformtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`transformtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`transformtype_mixed_idx`"/> - <one-to-many entity-name="TransformType_mixed"/> - </list> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`algorithm`"/> - </property> - </class> - <class entity-name="TransformType_mixed" lazy="false" table="`transformtype_mixed`"> - <meta attribute="featureMap" inherit="false">TransformType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="group" table="`mixed_transformtype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_transformtype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_transformtype_group_idx`"/> - <one-to-many entity-name="TransformType_group"/> - </list> - <many-to-one name="any" entity-name="TransformType_any" cascade="all" not-null="false"/> - <property name="xPath" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_xpath`"/> - </property> - <property name="algorithm" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_algorithm`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="TransformType_group" lazy="false" table="`transformtype_group`"> - <meta attribute="featureMap" inherit="false">TransformType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="any" entity-name="TransformType_any" cascade="all" not-null="false"/> - <property name="xPath" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_xpath`"/> - </property> - </class> - <class entity-name="TransformType_any" lazy="false" table="`transformtype_any`"> - <meta attribute="featureMap" inherit="false">TransformType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.X509DataTypeImpl" entity-name="X509DataType" abstract="false" lazy="false" table="`x509datatype`"> - <meta attribute="eclassName" inherit="false">X509DataType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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> - <list name="group" table="`x509datatype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`x509datatype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`x509datatype_group_idx`"/> - <one-to-many entity-name="X509DataType_group"/> - </list> - </class> - <class entity-name="X509DataType_group" lazy="false" table="`x509datatype_group`"> - <meta attribute="featureMap" inherit="false">X509DataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="x509IssuerSerial" entity-name="X509IssuerSerialType" lazy="false" cascade="all" foreign-key="x509datatype_x509issuerserial" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_x509issuerserialtype_x509issuerserial_e_id`"/> - </many-to-one> - <property name="x509SKI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_x509ski`"/> - </property> - <property name="x509SubjectName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_x509subjectname`"/> - </property> - <property name="x509Certificate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_x509certificate`"/> - </property> - <property name="x509CRL" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`group_x509crl`"/> - </property> - <many-to-one name="any" entity-name="X509DataType_any" cascade="all" not-null="false"/> - </class> - <class entity-name="X509DataType_any" lazy="false" table="`x509datatype_any`"> - <meta attribute="featureMap" inherit="false">X509DataType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.w3._2000._09.xmldsig.impl.X509IssuerSerialTypeImpl" entity-name="X509IssuerSerialType" abstract="false" lazy="false" table="`x509issuerserialtype`"> - <meta attribute="eclassName" inherit="false">X509IssuerSerialType</meta> - <meta attribute="epackage" inherit="false">http://www.w3.org/2000/09/xmldsig#</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="x509IssuerName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`x509issuername`"/> - </property> - <property name="x509SerialNumber" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger"> - <column not-null="true" unique="false" name="`x509serialnumber`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 1d3bad682..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.library.Book" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.library.Library" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.library.Writer" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 325fe93a8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,86 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.library.Book" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.library.Library" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.library.Writer" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 325fe93a8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,86 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.library.Book" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.library.Library" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.library.Writer" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz282414Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz282414Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 2851f469b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz282414Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,50 +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="org.eclipse.emf.teneo.samples.issues.bz282414.impl.BarImpl" entity-name="Bar" abstract="false" lazy="false" discriminator-value="Bar" table="`bar_table`"> - <meta attribute="eclassName">Bar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz282414</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 type="string"> - <column name="dtype" index="BAR_TABLEdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <component name="barKey" class="org.eclipse.emf.teneo.samples.issues.bz282414.impl.BarKeyImpl"> - <property name="classId" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clas_id`"/> - </property> - <property name="groupId" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`grp_id`"/> - </property> - </component> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz282414.impl.FooImpl" entity-name="Foo" abstract="false" lazy="false" discriminator-value="Foo" table="`foo_table`"> - <meta attribute="eclassName">Foo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz282414</meta> - <id name="dnmSK" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`dnm_sk`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="FOO_TABLEdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="bagOfBars" lazy="true" cascade="all,delete-orphan"> - <key update="true" property-ref="clientId" foreign-key="foo_bagofbars"> - <column name="`grp_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Bar"/> - </bag> - <property name="clientId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`cli_id`" length="8"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz282414Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz282414Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 0ce11578f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz282414Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.issues.bz282414.impl.BarImpl" entity-name="Bar" abstract="false" lazy="false" table="`bar_table`"> - <meta attribute="eclassName" inherit="false">Bar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz282414</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> - <component name="barKey" class="org.eclipse.emf.teneo.samples.issues.bz282414.impl.BarKeyImpl"> - <meta attribute="eclassName" inherit="false">BarKey</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz282414</meta> - <property name="classId" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clas_id`"/> - </property> - <property name="groupId" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`grp_id`"/> - </property> - </component> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz282414.impl.FooImpl" entity-name="Foo" abstract="false" lazy="false" table="`foo_table`"> - <meta attribute="eclassName" inherit="false">Foo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz282414</meta> - <id name="dnmSK" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`dnm_sk`"/> - <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> - <bag name="bagOfBars" lazy="true" cascade="all,delete-orphan"> - <key update="true" property-ref="clientId" foreign-key="foo_bagofbars"> - <column name="`grp_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Bar"/> - </bag> - <property name="clientId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`cli_id`" length="8"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz282414Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz282414Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 0ce11578f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz282414Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.issues.bz282414.impl.BarImpl" entity-name="Bar" abstract="false" lazy="false" table="`bar_table`"> - <meta attribute="eclassName" inherit="false">Bar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz282414</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> - <component name="barKey" class="org.eclipse.emf.teneo.samples.issues.bz282414.impl.BarKeyImpl"> - <meta attribute="eclassName" inherit="false">BarKey</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz282414</meta> - <property name="classId" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clas_id`"/> - </property> - <property name="groupId" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`grp_id`"/> - </property> - </component> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz282414.impl.FooImpl" entity-name="Foo" abstract="false" lazy="false" table="`foo_table`"> - <meta attribute="eclassName" inherit="false">Foo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz282414</meta> - <id name="dnmSK" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`dnm_sk`"/> - <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> - <bag name="bagOfBars" lazy="true" cascade="all,delete-orphan"> - <key update="true" property-ref="clientId" foreign-key="foo_bagofbars"> - <column name="`grp_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Bar"/> - </bag> - <property name="clientId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`cli_id`" length="8"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_hsqldb_e_o_hibernate.hbm.xml deleted file mode 100644 index e69de29bb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_hsqldb_e_o_hibernate.hbm.xml +++ /dev/null diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_hsqldb_h_o_hibernate.hbm.xml deleted file mode 100644 index e69de29bb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_hsqldb_h_o_hibernate.hbm.xml +++ /dev/null diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 677848f55..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,35 +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="org.eclipse.emf.teneo.samples.issues.bz284859.impl.BarImpl" entity-name="Bar" abstract="false" lazy="false" discriminator-value="Bar" table="`bar`"> - <meta attribute="eclassName">Bar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz284859</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bardtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz284859.impl.FooImpl" entity-name="Foo" abstract="false" lazy="false" discriminator-value="Foo" table="`foo`"> - <meta attribute="eclassName">Foo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz284859</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="foodtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz284859.impl.BarDerivedImpl" entity-name="BarDerived" abstract="false" lazy="false" extends="Bar" discriminator-value="BarDerived"> - <meta attribute="eclassName">BarDerived</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz284859</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index c237defa9..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,32 +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="org.eclipse.emf.teneo.samples.issues.bz284859.impl.BarImpl" entity-name="Bar" abstract="false" lazy="false" table="`bar`"> - <meta attribute="eclassName" inherit="false">Bar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz284859</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz284859.impl.FooImpl" entity-name="Foo" abstract="false" lazy="false" table="`foo`"> - <meta attribute="eclassName" inherit="false">Foo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz284859</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz284859.impl.BarDerivedImpl" entity-name="BarDerived" abstract="false" lazy="false" extends="Bar" table="`barderived`"> - <meta attribute="eclassName" inherit="false">BarDerived</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz284859</meta> - <key> - <column name="`bar_name`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c237defa9..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz284859Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,32 +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="org.eclipse.emf.teneo.samples.issues.bz284859.impl.BarImpl" entity-name="Bar" abstract="false" lazy="false" table="`bar`"> - <meta attribute="eclassName" inherit="false">Bar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz284859</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz284859.impl.FooImpl" entity-name="Foo" abstract="false" lazy="false" table="`foo`"> - <meta attribute="eclassName" inherit="false">Foo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz284859</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz284859.impl.BarDerivedImpl" entity-name="BarDerived" abstract="false" lazy="false" extends="Bar" table="`barderived`"> - <meta attribute="eclassName" inherit="false">BarDerived</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz284859</meta> - <key> - <column name="`bar_name`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d95609dbe..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,78 +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"> - <typedef name="bz288963.BooktypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</param> - <param name="edatatype">BooktypeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="citation" entity-name="Book" lazy="false" cascade="all" foreign-key="book_citation" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_citation_e_id`"/> - </many-to-one> - <list name="paralist" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_paralist"> - <column name="`book_paralist_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_paralist_idx`"/> - <one-to-many entity-name="Paragraph"/> - </list> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <property name="selfdef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`selfdef`"/> - </property> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz288963.Booktype</param> - <param name="eclassifier">Booktype</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.ParagraphImpl" entity-name="Paragraph" abstract="false" lazy="false" discriminator-value="Paragraph" table="`paragraph`"> - <meta attribute="eclassName">Paragraph</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</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 type="string"> - <column name="dtype" index="paragraphdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.FootnoteImpl" entity-name="Footnote" abstract="false" lazy="false" extends="Paragraph" discriminator-value="Footnote"> - <meta attribute="eclassName">Footnote</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.IndentedparaImpl" entity-name="Indentedpara" abstract="false" lazy="false" extends="Paragraph" discriminator-value="Indentedpara"> - <meta attribute="eclassName">Indentedpara</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</meta> - <property name="indentSpace" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`indentspace`"/> - </property> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 4f9777784..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,78 +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"> - <typedef name="bz288963.BooktypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</param> - <param name="edatatype">BooktypeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</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> - <many-to-one name="citation" entity-name="Book" lazy="false" cascade="all" foreign-key="book_citation" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_citation_e_id`"/> - </many-to-one> - <list name="paralist" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_paralist"> - <column name="`book_paralist_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_paralist_idx`"/> - <one-to-many entity-name="Paragraph"/> - </list> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <property name="selfdef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`selfdef`"/> - </property> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz288963.Booktype</param> - <param name="eclassifier">Booktype</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.ParagraphImpl" entity-name="Paragraph" abstract="false" lazy="false" table="`paragraph`"> - <meta attribute="eclassName" inherit="false">Paragraph</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</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="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.FootnoteImpl" entity-name="Footnote" abstract="false" lazy="false" extends="Paragraph" table="`footnote`"> - <meta attribute="eclassName" inherit="false">Footnote</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</meta> - <key> - <column name="`paragraph_e_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.IndentedparaImpl" entity-name="Indentedpara" abstract="false" lazy="false" extends="Paragraph" table="`indentedpara`"> - <meta attribute="eclassName" inherit="false">Indentedpara</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</meta> - <key> - <column name="`paragraph_e_id`"/> - </key> - <property name="indentSpace" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`indentspace`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 4f9777784..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,78 +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"> - <typedef name="bz288963.BooktypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</param> - <param name="edatatype">BooktypeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</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> - <many-to-one name="citation" entity-name="Book" lazy="false" cascade="all" foreign-key="book_citation" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_citation_e_id`"/> - </many-to-one> - <list name="paralist" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_paralist"> - <column name="`book_paralist_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_paralist_idx`"/> - <one-to-many entity-name="Paragraph"/> - </list> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <property name="selfdef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`selfdef`"/> - </property> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz288963.Booktype</param> - <param name="eclassifier">Booktype</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.ParagraphImpl" entity-name="Paragraph" abstract="false" lazy="false" table="`paragraph`"> - <meta attribute="eclassName" inherit="false">Paragraph</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</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="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.FootnoteImpl" entity-name="Footnote" abstract="false" lazy="false" extends="Paragraph" table="`footnote`"> - <meta attribute="eclassName" inherit="false">Footnote</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</meta> - <key> - <column name="`paragraph_e_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.IndentedparaImpl" entity-name="Indentedpara" abstract="false" lazy="false" extends="Paragraph" table="`indentedpara`"> - <meta attribute="eclassName" inherit="false">Indentedpara</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</meta> - <key> - <column name="`paragraph_e_id`"/> - </key> - <property name="indentSpace" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`indentspace`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 1a2a59500..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,129 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" discriminator-value="Book" table="`book`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Book"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" discriminator-value="Library" table="`library`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Library"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" discriminator-value="Writer" table="`writer`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Writer"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="true" discriminator-value="OneTimeWonder" table="`onetimewonder`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.OneTimeWonder"> - <meta attribute="eclassName">OneTimeWonder</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="onetimewonderdtype" length="255" not-null="true"/> - </discriminator> - <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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="true" discriminator-value="Author" table="`author`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Author"> - <meta attribute="eclassName">Author</meta> - <meta attribute="epackage">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="authordtype" length="255" not-null="true"/> - </discriminator> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="proxy"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f4fce51d3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,114 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" table="`book`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Book"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" table="`library`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Library"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" table="`writer`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Writer"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="true" table="`onetimewonder`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.OneTimeWonder"> - <meta attribute="eclassName" inherit="false">OneTimeWonder</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="true" table="`author`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Author"> - <meta attribute="eclassName" inherit="false">Author</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="proxy"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f4fce51d3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,114 +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="org.eclipse.emf.teneo.samples.issues.bz242995.impl.BookImpl" entity-name="Book" abstract="false" lazy="true" table="`book`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Book"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz242995.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http:///org/eclipse/example/library.ecore</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="true" table="`library`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Library"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="true" table="`writer`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Writer"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.OneTimeWonderImpl" entity-name="OneTimeWonder" abstract="false" lazy="true" table="`onetimewonder`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.OneTimeWonder"> - <meta attribute="eclassName" inherit="false">OneTimeWonder</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">theAuthor</param> - </generator> - </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> - <one-to-one name="theAuthor" entity-name="Author" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz242995.impl.AuthorImpl" entity-name="Author" abstract="false" lazy="true" table="`author`" proxy="org.eclipse.emf.teneo.samples.issues.bz242995.Author"> - <meta attribute="eclassName" inherit="false">Author</meta> - <meta attribute="epackage" inherit="false">http:///org/eclipse/example/library.ecore</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <one-to-one name="theBook" entity-name="OneTimeWonder" cascade="merge,persist,save-update,lock,refresh" lazy="proxy"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292151Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292151Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 0ca2934b2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292151Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,33 +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="org.eclipse.emf.teneo.samples.issues.bz292151.impl.BaseImpl" entity-name="Base" abstract="false" lazy="true" discriminator-value="Base" table="`base`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Base"> - <meta attribute="eclassName">Base</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</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 type="string"> - <column name="dtype" index="basedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz292151.impl.Sub1Impl" entity-name="Sub1" abstract="false" lazy="true" extends="Base" discriminator-value="Sub1" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Sub1"> - <meta attribute="eclassName">Sub1</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</meta> - <property name="a1" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`a1`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz292151.impl.Sub2Impl" entity-name="Sub2" abstract="false" lazy="true" extends="Base" discriminator-value="Sub2" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Sub2"> - <meta attribute="eclassName">Sub2</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</meta> - <many-to-one name="a1" entity-name="Sub1" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="sub2_a1" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`sub1_a1_e_id`"/> - </many-to-one> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292151Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292151Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index fdcc69bd2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292151Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.issues.bz292151.impl.BaseImpl" entity-name="Base" abstract="false" lazy="true" table="`base`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Base"> - <meta attribute="eclassName">Base</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz292151.impl.Sub1Impl" entity-name="Sub1" abstract="false" lazy="true" extends="Base" table="`sub1`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Sub1"> - <meta attribute="eclassName">Sub1</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</meta> - <key> - <column name="`base_e_id`"/> - </key> - <property name="a1" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`a1`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz292151.impl.Sub2Impl" entity-name="Sub2" abstract="false" lazy="true" extends="Base" table="`sub2`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Sub2"> - <meta attribute="eclassName">Sub2</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</meta> - <key> - <column name="`base_e_id`"/> - </key> - <many-to-one name="a1" entity-name="Sub1" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="sub2_a1" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`sub1_a1_e_id`"/> - </many-to-one> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292151Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292151Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index fdcc69bd2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292151Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.issues.bz292151.impl.BaseImpl" entity-name="Base" abstract="false" lazy="true" table="`base`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Base"> - <meta attribute="eclassName">Base</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz292151.impl.Sub1Impl" entity-name="Sub1" abstract="false" lazy="true" extends="Base" table="`sub1`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Sub1"> - <meta attribute="eclassName">Sub1</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</meta> - <key> - <column name="`base_e_id`"/> - </key> - <property name="a1" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`a1`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz292151.impl.Sub2Impl" entity-name="Sub2" abstract="false" lazy="true" extends="Base" table="`sub2`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Sub2"> - <meta attribute="eclassName">Sub2</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</meta> - <key> - <column name="`base_e_id`"/> - </key> - <many-to-one name="a1" entity-name="Sub1" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="sub2_a1" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`sub1_a1_e_id`"/> - </many-to-one> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c1b87d653..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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 entity-name="ComType" abstract="false" lazy="true" discriminator-value="ComType" table="`comtype`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName">ComType</meta> - <meta attribute="epackage">http://www.tech.com/tech/test/UploadNewXSDTest</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 type="string"> - <column name="dtype" index="comtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="comtype_employees"> - <column name="`comtype_employees_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`comtype_employees_idx`"/> - <one-to-many entity-name="PersonType"/> - </list> - <many-to-one name="location" entity-name="LocationType" lazy="proxy" cascade="all" foreign-key="comtype_location" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`locationtype_location_e_id`"/> - </many-to-one> - <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> - </class> - <class entity-name="Department" abstract="false" lazy="true" discriminator-value="Department" table="`department`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName">Department</meta> - <meta attribute="epackage">http://www.tech.com/tech/test/UploadNewXSDTest</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 type="string"> - <column name="dtype" index="departmentdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="booktype" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`booktype`"/> - </property> - <property name="bookname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`bookname`"/> - </property> - </class> - <class entity-name="LocationType" abstract="false" lazy="true" discriminator-value="LocationType" table="`locationtype`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName">LocationType</meta> - <meta attribute="epackage">http://www.tech.com/tech/test/UploadNewXSDTest</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 type="string"> - <column name="dtype" index="locationtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="zip" entity-name="Department" lazy="proxy" cascade="all" foreign-key="locationtype_zip" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`department_zip_e_id`"/> - </many-to-one> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> - <class entity-name="PersonType" abstract="false" lazy="true" discriminator-value="PersonType" table="`persontype`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName">PersonType</meta> - <meta attribute="epackage">http://www.tech.com/tech/test/UploadNewXSDTest</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 type="string"> - <column name="dtype" index="persontypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`age`"/> - </property> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 9de0ddff7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,83 +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 entity-name="ComType" abstract="false" lazy="true" table="`comtype`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">ComType</meta> - <meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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> - <list name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="comtype_employees"> - <column name="`comtype_employees_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`comtype_employees_idx`"/> - <one-to-many entity-name="PersonType"/> - </list> - <many-to-one name="location" entity-name="LocationType" lazy="proxy" cascade="all" foreign-key="comtype_location" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`locationtype_location_e_id`"/> - </many-to-one> - <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> - </class> - <class entity-name="Department" abstract="false" lazy="true" table="`department`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">Department</meta> - <meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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="booktype" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`booktype`"/> - </property> - <property name="bookname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`bookname`"/> - </property> - </class> - <class entity-name="LocationType" abstract="false" lazy="true" table="`locationtype`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">LocationType</meta> - <meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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> - <many-to-one name="zip" entity-name="Department" lazy="proxy" cascade="all" foreign-key="locationtype_zip" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`department_zip_e_id`"/> - </many-to-one> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> - <class entity-name="PersonType" abstract="false" lazy="true" table="`persontype`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">PersonType</meta> - <meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`age`"/> - </property> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 9de0ddff7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,83 +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 entity-name="ComType" abstract="false" lazy="true" table="`comtype`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">ComType</meta> - <meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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> - <list name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="comtype_employees"> - <column name="`comtype_employees_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`comtype_employees_idx`"/> - <one-to-many entity-name="PersonType"/> - </list> - <many-to-one name="location" entity-name="LocationType" lazy="proxy" cascade="all" foreign-key="comtype_location" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`locationtype_location_e_id`"/> - </many-to-one> - <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> - </class> - <class entity-name="Department" abstract="false" lazy="true" table="`department`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">Department</meta> - <meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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="booktype" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`booktype`"/> - </property> - <property name="bookname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`bookname`"/> - </property> - </class> - <class entity-name="LocationType" abstract="false" lazy="true" table="`locationtype`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">LocationType</meta> - <meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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> - <many-to-one name="zip" entity-name="Department" lazy="proxy" cascade="all" foreign-key="locationtype_zip" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`department_zip_e_id`"/> - </many-to-one> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> - <class entity-name="PersonType" abstract="false" lazy="true" table="`persontype`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">PersonType</meta> - <meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`age`"/> - </property> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index b97d89a12..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,80 +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 entity-name="documentrootexp.DocumentRoot" abstract="false" lazy="false" discriminator-value="documentrootexp.DocumentRoot" table="`documentrootexp_documentroot`"> - <meta attribute="eclassName">DocumentRoot</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentrootexp</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 type="string"> - <column name="dtype" index="documentrootexp_documentrootdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`documentrootexp_documentroot_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`documentroot_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`documentroot_mixed_idx`"/> - <one-to-many entity-name="DocumentRoot_mixed"/> - </list> - </class> - <class entity-name="DocumentRoot_mixed" lazy="false" table="`documentroot_mixed`"> - <meta attribute="featureMap">documentrootexp.DocumentRoot</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xsischemalocation_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <any id-type="long" meta-type="string" name="aNYTHING" cascade="all"> - <column not-null="false" unique="false" name="`mixed_anything_type`"/> - <column not-null="false" unique="false" name="`mixed_anything_id`"/> - </any> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="PersonType" abstract="false" lazy="false" discriminator-value="PersonType" table="`persontype`"> - <meta attribute="eclassName">PersonType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentrootexp</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 type="string"> - <column name="dtype" index="persontypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`age`"/> - </property> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index c906171a6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,74 +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 entity-name="documentrootexp.DocumentRoot" abstract="false" lazy="false" table="`documentrootexp_documentroot`"> - <meta attribute="eclassName" inherit="false">DocumentRoot</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentrootexp</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> - <list name="mixed" table="`documentrootexp_documentroot_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`documentroot_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`documentroot_mixed_idx`"/> - <one-to-many entity-name="DocumentRoot_mixed"/> - </list> - </class> - <class entity-name="DocumentRoot_mixed" lazy="false" table="`documentroot_mixed`"> - <meta attribute="featureMap" inherit="false">documentrootexp.DocumentRoot</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xsischemalocation_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <any id-type="long" meta-type="string" name="aNYTHING" cascade="all"> - <column not-null="false" unique="false" name="`mixed_anything_type`"/> - <column not-null="false" unique="false" name="`mixed_anything_id`"/> - </any> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="PersonType" abstract="false" lazy="false" table="`persontype`"> - <meta attribute="eclassName" inherit="false">PersonType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentrootexp</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="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`age`"/> - </property> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c906171a6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,74 +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 entity-name="documentrootexp.DocumentRoot" abstract="false" lazy="false" table="`documentrootexp_documentroot`"> - <meta attribute="eclassName" inherit="false">DocumentRoot</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentrootexp</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> - <list name="mixed" table="`documentrootexp_documentroot_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`documentroot_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`documentroot_mixed_idx`"/> - <one-to-many entity-name="DocumentRoot_mixed"/> - </list> - </class> - <class entity-name="DocumentRoot_mixed" lazy="false" table="`documentroot_mixed`"> - <meta attribute="featureMap" inherit="false">documentrootexp.DocumentRoot</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xsischemalocation_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <any id-type="long" meta-type="string" name="aNYTHING" cascade="all"> - <column not-null="false" unique="false" name="`mixed_anything_type`"/> - <column not-null="false" unique="false" name="`mixed_anything_id`"/> - </any> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="PersonType" abstract="false" lazy="false" table="`persontype`"> - <meta attribute="eclassName" inherit="false">PersonType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentrootexp</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="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`age`"/> - </property> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 984e89833..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,26 +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 entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/org.eclipse.emf.teneo.hibernate.test.issues.Bz321768Action</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> - <component name="name" class="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">Name</meta> - <meta attribute="epackage">http:///www.elver.org/org.eclipse.emf.teneo.hibernate.test.issues.Bz321768Action</meta> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`name_firstname`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`name_lastname`"/> - </property> - </component> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 984e89833..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,26 +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 entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http:///www.elver.org/org.eclipse.emf.teneo.hibernate.test.issues.Bz321768Action</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> - <component name="name" class="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> - <meta attribute="eclassName" inherit="false">Name</meta> - <meta attribute="epackage">http:///www.elver.org/org.eclipse.emf.teneo.hibernate.test.issues.Bz321768Action</meta> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`name_firstname`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`name_lastname`"/> - </property> - </component> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 88a48194a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.issues.bz321770.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" table="`child`"> - <meta attribute="eclassName" inherit="false">Child</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321770</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz321770.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" table="`parent`"> - <meta attribute="eclassName" inherit="false">Parent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321770</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> - <bag name="child" order-by="`id` asc" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_child"> - <column name="`parent_child_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Child"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 88a48194a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.issues.bz321770.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" table="`child`"> - <meta attribute="eclassName" inherit="false">Child</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321770</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz321770.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" table="`parent`"> - <meta attribute="eclassName" inherit="false">Parent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321770</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> - <bag name="child" order-by="`id` asc" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_child"> - <column name="`parent_child_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Child"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index b41b99ec6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.bz321773.impl.Item1Impl" entity-name="Item1" abstract="false" lazy="false" table="`item1`"> - <meta attribute="eclassName" inherit="false">Item1</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321773</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="sequence"> - <param name="sequence">firstSeq</param> - </generator> - </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="data" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`data`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz321773.impl.Item2Impl" entity-name="Item2" abstract="false" lazy="false" table="`item2`"> - <meta attribute="eclassName" inherit="false">Item2</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321773</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="seqhilo"> - <param name="sequence">secondSeq</param> - <param name="max_lo">24</param> - </generator> - </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="data" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`data`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index b41b99ec6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.bz321773.impl.Item1Impl" entity-name="Item1" abstract="false" lazy="false" table="`item1`"> - <meta attribute="eclassName" inherit="false">Item1</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321773</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="sequence"> - <param name="sequence">firstSeq</param> - </generator> - </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="data" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`data`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz321773.impl.Item2Impl" entity-name="Item2" abstract="false" lazy="false" table="`item2`"> - <meta attribute="eclassName" inherit="false">Item2</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321773</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="seqhilo"> - <param name="sequence">secondSeq</param> - <param name="max_lo">24</param> - </generator> - </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="data" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`data`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index b9bef49b9..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,193 +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="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.ProductImpl" entity-name="Product" abstract="false" lazy="false" discriminator-value="Product" table="`product`"> - <meta attribute="eclassName">Product</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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 type="string"> - <column name="dtype" index="productdtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <many-to-one name="productCategory" entity-name="ProductCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="product_productcategory" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`product_productcategory_e_id`"/> - </many-to-one> - <many-to-one name="priceCategory" entity-name="PriceCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="product_pricecategory" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`pricecategory_pricecategory_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" discriminator-value="Customer" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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 type="string"> - <column name="dtype" index="customerdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="surname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`surname`"/> - </property> - <property name="familyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`familyname`"/> - </property> - <property name="telephoneNr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`telephonenr`"/> - </property> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`address`"/> - </property> - <property name="hotel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`hotel`"/> - </property> - <list name="comments" table="`customer_comments`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`customer_comments_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`customer_comments_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.ProductCategoryImpl" entity-name="ProductCategory" abstract="false" lazy="false" discriminator-value="ProductCategory" table="`productcategory`"> - <meta attribute="eclassName">ProductCategory</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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 type="string"> - <column name="dtype" index="productcategorydtype" length="255" not-null="true"/> - </discriminator> - <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="products" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`product_productcategory_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`productcategory_products_idx`"/> - <one-to-many entity-name="Product"/> - </list> - <list name="subCategorys" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`productcategory_parent_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`productcategory_subcategorys_idx`"/> - <one-to-many entity-name="ProductCategory"/> - </list> - <many-to-one name="parent" entity-name="ProductCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="productcategory_parent" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`productcategory_parent_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.PriceCategoryImpl" entity-name="PriceCategory" abstract="false" lazy="false" discriminator-value="PriceCategory" table="`pricecategory`"> - <meta attribute="eclassName">PriceCategory</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="pricecategorydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="prices" table="`pricecategory_prices`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pricecategory_prices_name`" not-null="true" unique="false"/> - </key> - <list-index column="`pricecategory_prices_idx`"/> - <element type="double"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.OrderImpl" entity-name="Order" abstract="false" lazy="false" discriminator-value="Order" table="`order`"> - <meta attribute="eclassName">Order</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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 type="string"> - <column name="dtype" index="orderdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <list name="transactions" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`transaction_order_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`order_transactions_idx`"/> - <one-to-many entity-name="Transaction"/> - </list> - <many-to-one name="customer" entity-name="Customer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="order_customer" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`customer_customer_e_id`"/> - </many-to-one> - <list name="comments" table="`order_comments`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`order_comments_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`order_comments_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.TransactionImpl" entity-name="Transaction" abstract="false" lazy="false" discriminator-value="Transaction" table="`transaction`"> - <meta attribute="eclassName">Transaction</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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 type="string"> - <column name="dtype" index="transactiondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <many-to-one name="order" entity-name="Order" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="transaction_order" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`transaction_order_e_id`"/> - </many-to-one> - <many-to-one name="product" entity-name="Product" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="transaction_product" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`product_product_e_id`"/> - </many-to-one> - <property name="startDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="paidDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`paiddate`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index d5330bd69..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,175 +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="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.ProductImpl" entity-name="Product" abstract="false" lazy="false" table="`product`"> - <meta attribute="eclassName" inherit="false">Product</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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> - <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <many-to-one name="productCategory" entity-name="ProductCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="product_productcategory" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`product_productcategory_e_id`"/> - </many-to-one> - <many-to-one name="priceCategory" entity-name="PriceCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="product_pricecategory" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`pricecategory_pricecategory_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName" inherit="false">Customer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="surname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`surname`"/> - </property> - <property name="familyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`familyname`"/> - </property> - <property name="telephoneNr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`telephonenr`"/> - </property> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`address`"/> - </property> - <property name="hotel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`hotel`"/> - </property> - <list name="comments" table="`customer_comments`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`customer_comments_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`customer_comments_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.ProductCategoryImpl" entity-name="ProductCategory" abstract="false" lazy="false" table="`productcategory`"> - <meta attribute="eclassName" inherit="false">ProductCategory</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="products" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`product_productcategory_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`productcategory_products_idx`"/> - <one-to-many entity-name="Product"/> - </list> - <list name="subCategorys" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`productcategory_parent_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`productcategory_subcategorys_idx`"/> - <one-to-many entity-name="ProductCategory"/> - </list> - <many-to-one name="parent" entity-name="ProductCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="productcategory_parent" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`productcategory_parent_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.PriceCategoryImpl" entity-name="PriceCategory" abstract="false" lazy="false" table="`pricecategory`"> - <meta attribute="eclassName" inherit="false">PriceCategory</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <list name="prices" table="`pricecategory_prices`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pricecategory_prices_name`" not-null="true" unique="false"/> - </key> - <list-index column="`pricecategory_prices_idx`"/> - <element type="double"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.OrderImpl" entity-name="Order" abstract="false" lazy="false" table="`order`"> - <meta attribute="eclassName" inherit="false">Order</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <list name="transactions" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`transaction_order_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`order_transactions_idx`"/> - <one-to-many entity-name="Transaction"/> - </list> - <many-to-one name="customer" entity-name="Customer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="order_customer" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`customer_customer_e_id`"/> - </many-to-one> - <list name="comments" table="`order_comments`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`order_comments_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`order_comments_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.TransactionImpl" entity-name="Transaction" abstract="false" lazy="false" table="`transaction`"> - <meta attribute="eclassName" inherit="false">Transaction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <many-to-one name="order" entity-name="Order" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="transaction_order" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`transaction_order_e_id`"/> - </many-to-one> - <many-to-one name="product" entity-name="Product" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="transaction_product" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`product_product_e_id`"/> - </many-to-one> - <property name="startDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="paidDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`paiddate`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d5330bd69..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,175 +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="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.ProductImpl" entity-name="Product" abstract="false" lazy="false" table="`product`"> - <meta attribute="eclassName" inherit="false">Product</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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> - <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <many-to-one name="productCategory" entity-name="ProductCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="product_productcategory" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`product_productcategory_e_id`"/> - </many-to-one> - <many-to-one name="priceCategory" entity-name="PriceCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="product_pricecategory" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`pricecategory_pricecategory_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName" inherit="false">Customer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="surname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`surname`"/> - </property> - <property name="familyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`familyname`"/> - </property> - <property name="telephoneNr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`telephonenr`"/> - </property> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`address`"/> - </property> - <property name="hotel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`hotel`"/> - </property> - <list name="comments" table="`customer_comments`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`customer_comments_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`customer_comments_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.ProductCategoryImpl" entity-name="ProductCategory" abstract="false" lazy="false" table="`productcategory`"> - <meta attribute="eclassName" inherit="false">ProductCategory</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="products" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`product_productcategory_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`productcategory_products_idx`"/> - <one-to-many entity-name="Product"/> - </list> - <list name="subCategorys" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`productcategory_parent_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`productcategory_subcategorys_idx`"/> - <one-to-many entity-name="ProductCategory"/> - </list> - <many-to-one name="parent" entity-name="ProductCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="productcategory_parent" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`productcategory_parent_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.PriceCategoryImpl" entity-name="PriceCategory" abstract="false" lazy="false" table="`pricecategory`"> - <meta attribute="eclassName" inherit="false">PriceCategory</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <list name="prices" table="`pricecategory_prices`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`pricecategory_prices_name`" not-null="true" unique="false"/> - </key> - <list-index column="`pricecategory_prices_idx`"/> - <element type="double"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.OrderImpl" entity-name="Order" abstract="false" lazy="false" table="`order`"> - <meta attribute="eclassName" inherit="false">Order</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <list name="transactions" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`transaction_order_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`order_transactions_idx`"/> - <one-to-many entity-name="Transaction"/> - </list> - <many-to-one name="customer" entity-name="Customer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="order_customer" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`customer_customer_e_id`"/> - </many-to-one> - <list name="comments" table="`order_comments`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`order_comments_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`order_comments_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.TransactionImpl" entity-name="Transaction" abstract="false" lazy="false" table="`transaction`"> - <meta attribute="eclassName" inherit="false">Transaction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`number`"/> - </property> - <many-to-one name="order" entity-name="Order" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="transaction_order" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`transaction_order_e_id`"/> - </many-to-one> - <many-to-one name="product" entity-name="Product" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="transaction_product" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`product_product_e_id`"/> - </many-to-one> - <property name="startDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="paidDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`paiddate`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/PersistUMLAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/PersistUMLAction_hsqldb_e_o_hibernate.hbm.xml deleted file mode 100644 index 29b11422a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/PersistUMLAction_hsqldb_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,4684 +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"> - <typedef name="ecore.EDiagnosticChain" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EDiagnosticChain</param> - </typedef> - <typedef name="ecore.EEList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEList</param> - </typedef> - <typedef name="ecore.EEnumerator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEnumerator</param> - </typedef> - <typedef name="ecore.EFeatureMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMap</param> - </typedef> - <typedef name="ecore.EFeatureMapEntry" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMapEntry</param> - </typedef> - <typedef name="ecore.EJavaClass" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EJavaClass</param> - </typedef> - <typedef name="ecore.EMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EMap</param> - </typedef> - <typedef name="ecore.EResource" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResource</param> - </typedef> - <typedef name="ecore.EResourceSet" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResourceSet</param> - </typedef> - <typedef name="ecore.ETreeIterator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">ETreeIterator</param> - </typedef> - <typedef name="ecore.EInvocationTargetException" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EInvocationTargetException</param> - </typedef> - <class name="org.eclipse.emf.ecore.impl.EModelElementImpl" entity-name="EModelElement" abstract="true" lazy="false" table="`EMODELELEMENT`"> - <meta attribute="eclassName" inherit="false">EModelElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <id type="long" name="uuid" column="uuid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <list name="eAnnotations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EMODELELEMENT_EANNOTATIONS"> - <column name="`EANNOTATION_EMODELELEMENT_E_ID`" unique="false"/> - </key> - <list-index column="`EMODELELEMENT_EANNOTATIONS_IDX`"/> - <one-to-many entity-name="EAnnotation"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.ecore.impl.ENamedElementImpl" entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" table="`ENAMEDELEMENT`"> - <meta attribute="eclassName" inherit="false">ENamedElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`EMODELELEMENT_E_ID`"/> - </key> - <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> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.ETypedElementImpl" entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" table="`ETYPEDELEMENT`"> - <meta attribute="eclassName" inherit="false">ETypedElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ENAMEDELEMENT_E_ID`"/> - </key> - <property name="ordered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ORDERED`"/> - </property> - <property name="unique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`UNIQUE`"/> - </property> - <property name="lowerBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`LOWERBOUND`"/> - </property> - <property name="upperBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`UPPERBOUND`"/> - </property> - <many-to-one name="eType" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ETYPEDELEMENT_ETYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ECLASSIFIER_ETYPE_E_ID`"/> - </many-to-one> - <many-to-one name="eGenericType" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="ETYPEDELEMENT_EGENERICTYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EGENERICTYPE_EGENERICTYPE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EStructuralFeatureImpl" entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" table="`ESTRUCTURALFEATURE`"> - <meta attribute="eclassName" inherit="false">EStructuralFeature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ETYPEDELEMENT_E_ID`"/> - </key> - <property name="changeable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`CHANGEABLE`"/> - </property> - <property name="volatile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`VOLATILE`"/> - </property> - <property name="transient" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`TRANSIENT`"/> - </property> - <property name="defaultValueLiteral" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEFAULTVALUELITERAL`"/> - </property> - <property name="unsettable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`UNSETTABLE`"/> - </property> - <property name="derived" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`DERIVED`"/> - </property> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ESTRUCTURALFEATURE_ECONTAININGCLASS" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`ESTRUCTURALFEATURE_ECONTAININGCLASS_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EAttributeImpl" entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" table="`EATTRIBUTE`"> - <meta attribute="eclassName" inherit="false">EAttribute</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ESTRUCTURALFEATURE_E_ID`"/> - </key> - <property name="iD" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ID`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EAnnotationImpl" entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" table="`EANNOTATION`"> - <meta attribute="eclassName" inherit="false">EAnnotation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`EMODELELEMENT_E_ID`"/> - </key> - <property name="source" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`SOURCE`"/> - </property> - <map name="details" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EANNOTATION_DETAILS_E_ID`" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <many-to-one name="eModelElement" entity-name="EModelElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EANNOTATION_EMODELELEMENT" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EANNOTATION_EMODELELEMENT_E_ID`"/> - </many-to-one> - <list name="contents" table="`EANNOTATION_CONTENTS`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EANNOTATION_CONTENTS"> - <column name="`EANNOTATION_E_ID`" unique="false"/> - </key> - <list-index column="`EANNOTATION_CONTENTS_IDX`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`CONTENTS_TYPE`"/> - <column not-null="false" unique="false" name="`CONTENTS_ID`"/> - </many-to-any> - </list> - <list name="references" table="`EANNOTATION_REFERENCES`" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EANNOTATION_REFERENCES"> - <column name="`EANNOTATION_E_ID`" unique="false"/> - </key> - <list-index column="`EANNOTATION_REFERENCES_IDX`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`REFERENCES_TYPE`"/> - <column not-null="false" unique="false" name="`REFERENCES_ID`"/> - </many-to-any> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EClassifierImpl" entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" table="`ECLASSIFIER`"> - <meta attribute="eclassName" inherit="false">EClassifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ENAMEDELEMENT_E_ID`"/> - </key> - <property name="instanceClassName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`INSTANCECLASSNAME`"/> - </property> - <property name="instanceTypeName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`INSTANCETYPENAME`"/> - </property> - <many-to-one name="ePackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ECLASSIFIER_EPACKAGE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`ECLASSIFIER_EPACKAGE_E_ID`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ECLASSIFIER_ETYPEPARAMETERS"> - <column name="`ECLASSIFIER_ETYPEPARAMETERS_E_ID`" unique="false"/> - </key> - <list-index column="`ECLASSIFIER_ETYPEPARAMETERS_IDX`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EClassImpl" entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" table="`ECLASS`"> - <meta attribute="eclassName" inherit="false">EClass</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ECLASSIFIER_E_ID`"/> - </key> - <property name="abstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ABSTRACT`"/> - </property> - <property name="interface" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`INTERFACE`"/> - </property> - <list name="eSuperTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ECLASS_ECLASS`"> - <key/> - <list-index column="`ECLASS_ESUPERTYPES_IDX`"/> - <many-to-many entity-name="EClass" unique="false" foreign-key="ECLASS_ESUPERTYPES"/> - </list> - <list name="eOperations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ECLASS_EOPERATIONS"> - <column name="`EOPERATION_ECONTAININGCLASS_E_ID`" unique="false"/> - </key> - <list-index column="`ECLASS_EOPERATIONS_IDX`"/> - <one-to-many entity-name="EOperation"/> - </list> - <list name="eStructuralFeatures" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ECLASS_ESTRUCTURALFEATURES"> - <column name="`ESTRUCTURALFEATURE_ECONTAININGCLASS_E_ID`" unique="false"/> - </key> - <list-index column="`ECLASS_ESTRUCTURALFEATURES_IDX`"/> - <one-to-many entity-name="EStructuralFeature"/> - </list> - <list name="eGenericSuperTypes" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ECLASS_EGENERICSUPERTYPES"> - <column name="`ECLASS_EGENERICSUPERTYPES_E_ID`" unique="false"/> - </key> - <list-index column="`ECLASS_EGENERICSUPERTYPES_IDX`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EDataTypeImpl" entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" table="`EDATATYPE`"> - <meta attribute="eclassName" inherit="false">EDataType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ECLASSIFIER_E_ID`"/> - </key> - <property name="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`SERIALIZABLE`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EEnumImpl" entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" table="`EENUM`"> - <meta attribute="eclassName" inherit="false">EEnum</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`EDATATYPE_E_ID`"/> - </key> - <list name="eLiterals" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EENUM_ELITERALS"> - <column name="`EENUMLITERAL_EENUM_E_ID`" unique="false"/> - </key> - <list-index column="`EENUM_ELITERALS_IDX`"/> - <one-to-many entity-name="EEnumLiteral"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EEnumLiteralImpl" entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" table="`EENUMLITERAL`"> - <meta attribute="eclassName" inherit="false">EEnumLiteral</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ENAMEDELEMENT_E_ID`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - <property name="literal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LITERAL`"/> - </property> - <many-to-one name="eEnum" entity-name="EEnum" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EENUMLITERAL_EENUM" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EENUMLITERAL_EENUM_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EFactoryImpl" entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" table="`EFACTORY`"> - <meta attribute="eclassName" inherit="false">EFactory</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`EMODELELEMENT_E_ID`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.ecore.impl.BasicEObjectImpl" entity-name="ecore_EObject" abstract="false" lazy="false" table="`ECORE_EOBJECT`"> - <meta attribute="eclassName" inherit="false">EObject</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <id type="long" name="uuid" column="uuid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - </class> - <joined-subclass name="org.eclipse.emf.ecore.impl.EOperationImpl" entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" table="`EOPERATION`"> - <meta attribute="eclassName" inherit="false">EOperation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ETYPEDELEMENT_E_ID`"/> - </key> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EOPERATION_ECONTAININGCLASS" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EOPERATION_ECONTAININGCLASS_E_ID`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EOPERATION_ETYPEPARAMETERS"> - <column name="`EOPERATION_ETYPEPARAMETERS_E_ID`" unique="false"/> - </key> - <list-index column="`EOPERATION_ETYPEPARAMETERS_IDX`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - <list name="eParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EOPERATION_EPARAMETERS"> - <column name="`EPARAMETER_EOPERATION_E_ID`" unique="false"/> - </key> - <list-index column="`EOPERATION_EPARAMETERS_IDX`"/> - <one-to-many entity-name="EParameter"/> - </list> - <list name="eExceptions" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EOPERATION_EEXCEPTIONS"> - <column name="`EOPERATION_EEXCEPTIONS_E_ID`" unique="false"/> - </key> - <list-index column="`EOPERATION_EEXCEPTIONS_IDX`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eGenericExceptions" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EOPERATION_EGENERICEXCEPTIONS"> - <column name="`EOPERATION_EGENERICEXCEPTIONS_E_ID`" unique="false"/> - </key> - <list-index column="`EOPERATION_EGENERICEXCEPTIONS_IDX`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EPackageImpl" entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" table="`EPACKAGE`"> - <meta attribute="eclassName" inherit="false">EPackage</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ENAMEDELEMENT_E_ID`"/> - </key> - <property name="nsURI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NSURI`"/> - </property> - <property name="nsPrefix" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NSPREFIX`"/> - </property> - <list name="eClassifiers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EPACKAGE_ECLASSIFIERS"> - <column name="`ECLASSIFIER_EPACKAGE_E_ID`" unique="false"/> - </key> - <list-index column="`EPACKAGE_ECLASSIFIERS_IDX`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eSubpackages" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EPACKAGE_ESUBPACKAGES"> - <column name="`EPACKAGE_ESUPERPACKAGE_E_ID`" unique="false"/> - </key> - <list-index column="`EPACKAGE_ESUBPACKAGES_IDX`"/> - <one-to-many entity-name="EPackage"/> - </list> - <many-to-one name="eSuperPackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EPACKAGE_ESUPERPACKAGE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EPACKAGE_ESUPERPACKAGE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EParameterImpl" entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" table="`EPARAMETER`"> - <meta attribute="eclassName" inherit="false">EParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ETYPEDELEMENT_E_ID`"/> - </key> - <many-to-one name="eOperation" entity-name="EOperation" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EPARAMETER_EOPERATION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EPARAMETER_EOPERATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EReferenceImpl" entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" table="`EREFERENCE`"> - <meta attribute="eclassName" inherit="false">EReference</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ESTRUCTURALFEATURE_E_ID`"/> - </key> - <property name="containment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`CONTAINMENT`"/> - </property> - <property name="resolveProxies" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`RESOLVEPROXIES`"/> - </property> - <many-to-one name="eOpposite" entity-name="EReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EREFERENCE_EOPPOSITE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EREFERENCE_EOPPOSITE_E_ID`"/> - </many-to-one> - <list name="eKeys" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EREFERENCE_EKEYS"> - <column name="`EREFERENCE_EKEYS_E_ID`" unique="false"/> - </key> - <list-index column="`EREFERENCE_EKEYS_IDX`"/> - <one-to-many entity-name="EAttribute"/> - </list> - </joined-subclass> - <class name="org.eclipse.emf.ecore.impl.EGenericTypeImpl" entity-name="EGenericType" abstract="false" lazy="false" table="`EGENERICTYPE`"> - <meta attribute="eclassName" inherit="false">EGenericType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <id type="long" name="uuid" column="uuid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <many-to-one name="eUpperBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="EGENERICTYPE_EUPPERBOUND" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EGENERICTYPE_EUPPERBOUND_E_ID`"/> - </many-to-one> - <list name="eTypeArguments" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EGENERICTYPE_ETYPEARGUMENTS"> - <column name="`EGENERICTYPE_ETYPEARGUMENTS_E_ID`" unique="false"/> - </key> - <list-index column="`EGENERICTYPE_ETYPEARGUMENTS_IDX`"/> - <one-to-many entity-name="EGenericType"/> - </list> - <many-to-one name="eLowerBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="EGENERICTYPE_ELOWERBOUND" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EGENERICTYPE_ELOWERBOUND_E_ID`"/> - </many-to-one> - <many-to-one name="eTypeParameter" entity-name="ETypeParameter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EGENERICTYPE_ETYPEPARAMETER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ETYPEPARAMETER_ETYPEPARAMETER_E_ID`"/> - </many-to-one> - <many-to-one name="eClassifier" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EGENERICTYPE_ECLASSIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ECLASSIFIER_ECLASSIFIER_E_ID`"/> - </many-to-one> - </class> - <joined-subclass name="org.eclipse.emf.ecore.impl.ETypeParameterImpl" entity-name="ETypeParameter" abstract="false" lazy="false" extends="ENamedElement" table="`ETYPEPARAMETER`"> - <meta attribute="eclassName" inherit="false">ETypeParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ENAMEDELEMENT_E_ID`"/> - </key> - <list name="eBounds" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ETYPEPARAMETER_EBOUNDS"> - <column name="`ETYPEPARAMETER_EBOUNDS_E_ID`" unique="false"/> - </key> - <list-index column="`ETYPEPARAMETER_EBOUNDS_IDX`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ElementImpl" entity-name="Element" abstract="true" lazy="false" extends="EModelElement" table="`ELEMENT`"> - <meta attribute="eclassName" inherit="false">Element</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`EMODELELEMENT_E_ID`"/> - </key> - <bag name="ownedComment" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ELEMENT_OWNEDCOMMENT"> - <column name="`ELEMENT_OWNEDCOMMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Comment"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.NamedElementImpl" entity-name="NamedElement" abstract="true" lazy="false" extends="Element" table="`NAMEDELEMENT`"> - <meta attribute="eclassName" inherit="false">NamedElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <bag name="clientDependency" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`DEPENDENCY_NAMEDELEMENT`"> - <key update="true"> - <column name="`NAMEDELEMENT_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Dependency" unique="false" foreign-key="NAMEDELEMENT_CLIENTDEPENDENCY"> - <column name="`DEPENDENCY_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <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> - <many-to-one name="nameExpression" entity-name="StringExpression" lazy="false" cascade="all" foreign-key="NAMEDELEMENT_NAMEEXPRESSION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STRINGEXPRESSION_NAMEEXPRESSION_E_ID`"/> - </many-to-one> - <property name="visibility" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`VISIBILITY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.VisibilityKind</param> - <param name="eclassifier">VisibilityKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PackageableElementImpl" entity-name="PackageableElement" abstract="true" lazy="false" extends="NamedElement" table="`PACKAGEABLEELEMENT`"> - <meta attribute="eclassName" inherit="false">PackageableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DependencyImpl" entity-name="Dependency" abstract="false" lazy="false" extends="PackageableElement" table="`DEPENDENCY`"> - <meta attribute="eclassName" inherit="false">Dependency</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGEABLEELEMENT_E_ID`"/> - </key> - <bag name="client" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`DEPENDENCY_NAMEDELEMENT`"> - <key update="true"> - <column name="`DEPENDENCY_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="NamedElement" unique="false" foreign-key="DEPENDENCY_CLIENT"> - <column name="`NAMEDELEMENT_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="supplier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="DEPENDENCY_SUPPLIER"> - <column name="`DEPENDENCY_SUPPLIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.AbstractionImpl" entity-name="Abstraction" abstract="false" lazy="false" extends="Dependency" table="`ABSTRACTION`"> - <meta attribute="eclassName" inherit="false">Abstraction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DEPENDENCY_E_ID`"/> - </key> - <many-to-one name="mapping" entity-name="OpaqueExpression" lazy="false" cascade="all" foreign-key="ABSTRACTION_MAPPING" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OPAQUEEXPRESSION_MAPPING_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="ParameterableElement" abstract="true" lazy="false" extends="Element" table="`PARAMETERABLEELEMENT`"> - <meta attribute="eclassName" inherit="false">ParameterableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CommentImpl" entity-name="Comment" abstract="false" lazy="false" extends="Element" table="`COMMENT`"> - <meta attribute="eclassName" inherit="false">Comment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <bag name="annotatedElement" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="COMMENT_ANNOTATEDELEMENT"> - <column name="`COMMENT_ANNOTATEDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Element"/> - </bag> - <property name="body" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`BODY`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.NamespaceImpl" entity-name="Namespace" abstract="true" lazy="false" extends="NamedElement" table="`NAMESPACE`"> - <meta attribute="eclassName" inherit="false">Namespace</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <bag name="elementImport" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ELEMENTIMPORT_IMPORTINGNAMESPACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ElementImport"/> - </bag> - <bag name="packageImport" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PACKAGEIMPORT_IMPORTINGNAMESPACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageImport"/> - </bag> - <bag name="ownedRule" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONSTRAINT_CONTEXT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ClassifierImpl" entity-name="Classifier" abstract="true" lazy="false" extends="Namespace" table="`CLASSIFIER`"> - <meta attribute="eclassName" inherit="false">Classifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMESPACE_E_ID`"/> - </key> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISLEAF`"/> - </property> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - <bag name="collaborationUse" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASSIFIER_COLLABORATIONUSE"> - <column name="`CLASSIFIER_COLLABORATIONUSE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="CollaborationUse"/> - </bag> - <bag name="generalization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`GENERALIZATION_SPECIFIC_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Generalization"/> - </bag> - <bag name="powertypeExtent" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`GENERALIZATIONSET_POWERTYPE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralizationSet"/> - </bag> - <property name="isAbstract" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISABSTRACT`"/> - </property> - <property name="isFinalSpecialization" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISFINALSPECIALIZATION`"/> - </property> - <bag name="ownedUseCase" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASSIFIER_OWNEDUSECASE"> - <column name="`CLASSIFIER_OWNEDUSECASE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="UseCase"/> - </bag> - <bag name="useCase" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`CLASSIFIER_USECASE`"> - <key update="true"> - <column name="`CLASSIFIER_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="UseCase" unique="false" foreign-key="CLASSIFIER_USECASE"> - <column name="`USECASE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="redefinedClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLASSIFIER_REDEFINEDCLASSIFIER"> - <column name="`CLASSIFIER_REDEFINEDCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <many-to-one name="representation" entity-name="CollaborationUse" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLASSIFIER_REPRESENTATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`COLLABORATIONUSE_REPRESENTATION_E_ID`"/> - </many-to-one> - <bag name="substitution" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`SUBSTITUTION_SUBSTITUTINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Substitution"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StructuredClassifierImpl" entity-name="StructuredClassifier" abstract="true" lazy="false" extends="Classifier" table="`STRUCTUREDCLASSIFIER`"> - <meta attribute="eclassName" inherit="false">StructuredClassifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASSIFIER_E_ID`"/> - </key> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STRUCTUREDCLASSIFIER_OWNEDATTRIBUTE"> - <column name="`STRUCTUREDCLASSIFIER_OWNEDATTRIBUTE_E_ID`" unique="false"/> - </key> - <list-index column="`STRUCTUREDCLASSIFIER_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <bag name="ownedConnector" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STRUCTUREDCLASSIFIER_OWNEDCONNECTOR"> - <column name="`STRUCTUREDCLASSIFIER_OWNEDCONNECTOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Connector"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.EncapsulatedClassifierImpl" entity-name="EncapsulatedClassifier" abstract="true" lazy="false" extends="StructuredClassifier" table="`ENCAPSULATEDCLASSIFIER`"> - <meta attribute="eclassName" inherit="false">EncapsulatedClassifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTUREDCLASSIFIER_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ClassImpl" entity-name="Class" abstract="false" lazy="false" extends="EncapsulatedClassifier" table="`CLASS`"> - <meta attribute="eclassName" inherit="false">Class</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ENCAPSULATEDCLASSIFIER_E_ID`"/> - </key> - <many-to-one name="classifierBehavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLASS_CLASSIFIERBEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_CLASSIFIERBEHAVIOR_E_ID`"/> - </many-to-one> - <bag name="interfaceRealization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InterfaceRealization"/> - </bag> - <bag name="ownedBehavior" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASS_OWNEDBEHAVIOR"> - <column name="`CLASS_OWNEDBEHAVIOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <list name="ownedOperation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`OPERATION_CLASS_E_ID`" unique="false"/> - </key> - <list-index column="`CLASS_OWNEDOPERATION_IDX`"/> - <one-to-many entity-name="Operation"/> - </list> - <property name="isActive" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISACTIVE`"/> - </property> - <list name="nestedClassifier" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASS_NESTEDCLASSIFIER"> - <column name="`CLASS_NESTEDCLASSIFIER_E_ID`" unique="false"/> - </key> - <list-index column="`CLASS_NESTEDCLASSIFIER_IDX`"/> - <one-to-many entity-name="Classifier"/> - </list> - <bag name="ownedReception" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASS_OWNEDRECEPTION"> - <column name="`CLASS_OWNEDRECEPTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Reception"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StereotypeImpl" entity-name="Stereotype" abstract="false" lazy="false" extends="Class" table="`STEREOTYPE`"> - <meta attribute="eclassName" inherit="false">Stereotype</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASS_E_ID`"/> - </key> - <bag name="icon" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STEREOTYPE_ICON"> - <column name="`STEREOTYPE_ICON_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Image"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ValueSpecificationImpl" entity-name="ValueSpecification" abstract="true" lazy="false" extends="PackageableElement" table="`VALUESPECIFICATION`"> - <meta attribute="eclassName" inherit="false">ValueSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGEABLEELEMENT_E_ID`"/> - </key> - <many-to-one name="type" entity-name="Type" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VALUESPECIFICATION_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TYPE_TYPE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExpressionImpl" entity-name="Expression" abstract="false" lazy="false" extends="ValueSpecification" table="`EXPRESSION`"> - <meta attribute="eclassName" inherit="false">Expression</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VALUESPECIFICATION_E_ID`"/> - </key> - <list name="operand" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EXPRESSION_OPERAND"> - <column name="`EXPRESSION_OPERAND_E_ID`" unique="false"/> - </key> - <list-index column="`EXPRESSION_OPERAND_IDX`"/> - <one-to-many entity-name="ValueSpecification"/> - </list> - <property name="symbol" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`SYMBOL`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StringExpressionImpl" entity-name="StringExpression" abstract="false" lazy="false" extends="Expression" table="`STRINGEXPRESSION`"> - <meta attribute="eclassName" inherit="false">StringExpression</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`EXPRESSION_E_ID`"/> - </key> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - <many-to-one name="owningExpression" entity-name="StringExpression" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STRINGEXPRESSION_OWNINGEXPRESSION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STRINGEXPRESSION_OWNINGEXPRESSION_E_ID`"/> - </many-to-one> - <bag name="subExpression" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`STRINGEXPRESSION_OWNINGEXPRESSION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="StringExpression"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TypedElementImpl" entity-name="TypedElement" abstract="true" lazy="false" extends="NamedElement" table="`TYPEDELEMENT`"> - <meta attribute="eclassName" inherit="false">TypedElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <many-to-one name="type" entity-name="Type" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VALUESPECIFICATION_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TYPE_TYPE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="Type" abstract="true" lazy="false" extends="PackageableElement" table="`TYPE`"> - <meta attribute="eclassName" inherit="false">Type</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGEABLEELEMENT_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PackageImpl" entity-name="Package" abstract="false" lazy="false" extends="Namespace" table="`PACKAGE`"> - <meta attribute="eclassName" inherit="false">Package</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMESPACE_E_ID`"/> - </key> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - <property name="URI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`URI`"/> - </property> - <bag name="packageMerge" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PACKAGEMERGE_RECEIVINGPACKAGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageMerge"/> - </bag> - <bag name="packagedElement" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="PACKAGE_PACKAGEDELEMENT"> - <column name="`PACKAGE_PACKAGEDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageableElement"/> - </bag> - <bag name="profileApplication" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROFILEAPPLICATION_APPLYINGPACKAGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ProfileApplication"/> - </bag> - </joined-subclass> - <joined-subclass entity-name="TemplateableElement" abstract="true" lazy="false" extends="Element" table="`TEMPLATEABLEELEMENT`"> - <meta attribute="eclassName" inherit="false">TemplateableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TemplateSignatureImpl" entity-name="TemplateSignature" abstract="false" lazy="false" extends="Element" table="`TEMPLATESIGNATURE`"> - <meta attribute="eclassName" inherit="false">TemplateSignature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <list name="ownedParameter" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEPARAMETER_SIGNATURE_E_ID`" unique="false"/> - </key> - <list-index column="`TEMPLATESIGNATURE_OWNEDPARAMETER_IDX`"/> - <one-to-many entity-name="TemplateParameter"/> - </list> - <list name="parameter" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="TEMPLATESIGNATURE_PARAMETER"> - <column name="`TEMPLATESIGNATURE_PARAMETER_E_ID`" unique="false"/> - </key> - <list-index column="`TEMPLATESIGNATURE_PARAMETER_IDX`"/> - <one-to-many entity-name="TemplateParameter"/> - </list> - <one-to-one name="template" entity-name="TemplateableElement" constrained="true" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedTemplateSignature"/> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TemplateParameterImpl" entity-name="TemplateParameter" abstract="false" lazy="false" extends="Element" table="`TEMPLATEPARAMETER`"> - <meta attribute="eclassName" inherit="false">TemplateParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <many-to-one name="default" entity-name="ParameterableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETER_DEFAULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARAMETERABLEELEMENT_DEFAULT_E_ID`"/> - </many-to-one> - <many-to-one name="ownedDefault" entity-name="ParameterableElement" lazy="false" cascade="all" foreign-key="TEMPLATEPARAMETER_OWNEDDEFAULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARAMETERABLEELEMENT_OWNEDDEFAULT_E_ID`"/> - </many-to-one> - <many-to-one name="ownedParameteredElement" entity-name="ParameterableElement" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <many-to-one name="parameteredElement" entity-name="ParameterableElement" cascade="merge,persist,save-update,lock,refresh" not-null="true" lazy="false" insert="true" update="true" unique="true"/> - <many-to-one name="signature" entity-name="TemplateSignature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETER_SIGNATURE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`TEMPLATEPARAMETER_SIGNATURE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.RelationshipImpl" entity-name="Relationship" abstract="true" lazy="false" extends="Element" table="`RELATIONSHIP`"> - <meta attribute="eclassName" inherit="false">Relationship</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DirectedRelationshipImpl" entity-name="DirectedRelationship" abstract="true" lazy="false" extends="Relationship" table="`DIRECTEDRELATIONSHIP`"> - <meta attribute="eclassName" inherit="false">DirectedRelationship</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`RELATIONSHIP_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TemplateBindingImpl" entity-name="TemplateBinding" abstract="false" lazy="false" extends="DirectedRelationship" table="`TEMPLATEBINDING`"> - <meta attribute="eclassName" inherit="false">TemplateBinding</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DIRECTEDRELATIONSHIP_E_ID`"/> - </key> - <bag name="parameterSubstitution" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEPARAMETERSUBSTITUTION_TEMPLATEBINDING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateParameterSubstitution"/> - </bag> - <many-to-one name="signature" entity-name="TemplateSignature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEBINDING_SIGNATURE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TEMPLATESIGNATURE_SIGNATURE_E_ID`"/> - </many-to-one> - <many-to-one name="boundElement" entity-name="TemplateableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEBINDING_BOUNDELEMENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TemplateParameterSubstitutionImpl" entity-name="TemplateParameterSubstitution" abstract="false" lazy="false" extends="Element" table="`TEMPLATEPARAMETERSUBSTITUTION`"> - <meta attribute="eclassName" inherit="false">TemplateParameterSubstitution</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <many-to-one name="actual" entity-name="ParameterableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETERSUBSTITUTION_ACTUAL" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PARAMETERABLEELEMENT_ACTUAL_E_ID`"/> - </many-to-one> - <many-to-one name="formal" entity-name="TemplateParameter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETERSUBSTITUTION_FORMAL" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TEMPLATEPARAMETER_FORMAL_E_ID`"/> - </many-to-one> - <many-to-one name="ownedActual" entity-name="ParameterableElement" lazy="false" cascade="all" foreign-key="TEMPLATEPARAMETERSUBSTITUTION_OWNEDACTUAL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARAMETERABLEELEMENT_OWNEDACTUAL_E_ID`"/> - </many-to-one> - <many-to-one name="templateBinding" entity-name="TemplateBinding" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETERSUBSTITUTION_TEMPLATEBINDING" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TEMPLATEPARAMETERSUBSTITUTION_TEMPLATEBINDING_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PackageMergeImpl" entity-name="PackageMerge" abstract="false" lazy="false" extends="DirectedRelationship" table="`PACKAGEMERGE`"> - <meta attribute="eclassName" inherit="false">PackageMerge</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DIRECTEDRELATIONSHIP_E_ID`"/> - </key> - <many-to-one name="mergedPackage" entity-name="Package" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PACKAGEMERGE_MERGEDPACKAGE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PACKAGE_MERGEDPACKAGE_E_ID`"/> - </many-to-one> - <many-to-one name="receivingPackage" entity-name="Package" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PACKAGEMERGE_RECEIVINGPACKAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PACKAGEMERGE_RECEIVINGPACKAGE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ProfileApplicationImpl" entity-name="ProfileApplication" abstract="false" lazy="false" extends="DirectedRelationship" table="`PROFILEAPPLICATION`"> - <meta attribute="eclassName" inherit="false">ProfileApplication</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DIRECTEDRELATIONSHIP_E_ID`"/> - </key> - <many-to-one name="appliedProfile" entity-name="Profile" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROFILEAPPLICATION_APPLIEDPROFILE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PROFILE_APPLIEDPROFILE_E_ID`"/> - </many-to-one> - <property name="isStrict" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISSTRICT`"/> - </property> - <many-to-one name="applyingPackage" entity-name="Package" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROFILEAPPLICATION_APPLYINGPACKAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROFILEAPPLICATION_APPLYINGPACKAGE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ProfileImpl" entity-name="Profile" abstract="false" lazy="false" extends="Package" table="`PROFILE`"> - <meta attribute="eclassName" inherit="false">Profile</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGE_E_ID`"/> - </key> - <bag name="metaclassReference" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PROFILE_METACLASSREFERENCE"> - <column name="`PROFILE_METACLASSREFERENCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ElementImport"/> - </bag> - <bag name="metamodelReference" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PROFILE_METAMODELREFERENCE"> - <column name="`PROFILE_METAMODELREFERENCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageImport"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ElementImportImpl" entity-name="ElementImport" abstract="false" lazy="false" extends="DirectedRelationship" table="`ELEMENTIMPORT`"> - <meta attribute="eclassName" inherit="false">ElementImport</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DIRECTEDRELATIONSHIP_E_ID`"/> - </key> - <property name="alias" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ALIAS`"/> - </property> - <many-to-one name="importedElement" entity-name="PackageableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ELEMENTIMPORT_IMPORTEDELEMENT" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PACKAGEABLEELEMENT_IMPORTEDELEMENT_E_ID`"/> - </many-to-one> - <many-to-one name="importingNamespace" entity-name="Namespace" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ELEMENTIMPORT_IMPORTINGNAMESPACE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ELEMENTIMPORT_IMPORTINGNAMESPACE_E_ID`"/> - </many-to-one> - <property name="visibility" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`VISIBILITY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.VisibilityKind</param> - <param name="eclassifier">VisibilityKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PackageImportImpl" entity-name="PackageImport" abstract="false" lazy="false" extends="DirectedRelationship" table="`PACKAGEIMPORT`"> - <meta attribute="eclassName" inherit="false">PackageImport</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DIRECTEDRELATIONSHIP_E_ID`"/> - </key> - <many-to-one name="importedPackage" entity-name="Package" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PACKAGEIMPORT_IMPORTEDPACKAGE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PACKAGE_IMPORTEDPACKAGE_E_ID`"/> - </many-to-one> - <many-to-one name="importingNamespace" entity-name="Namespace" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PACKAGEIMPORT_IMPORTINGNAMESPACE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PACKAGEIMPORT_IMPORTINGNAMESPACE_E_ID`"/> - </many-to-one> - <property name="visibility" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`VISIBILITY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.VisibilityKind</param> - <param name="eclassifier">VisibilityKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.AssociationImpl" entity-name="Association" abstract="false" lazy="false" extends="Classifier" table="`ASSOCIATION`"> - <meta attribute="eclassName" inherit="false">Association</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASSIFIER_E_ID`"/> - </key> - <property name="isDerived" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDERIVED`"/> - </property> - <list name="memberEnd" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`PROPERTY_ASSOCIATION_E_ID`" unique="false"/> - </key> - <list-index column="`ASSOCIATION_MEMBEREND_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedEnd" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_OWNINGASSOCIATION_E_ID`" unique="false"/> - </key> - <list-index column="`ASSOCIATION_OWNEDEND_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <bag name="navigableOwnedEnd" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ASSOCIATION_NAVIGABLEOWNEDEND"> - <column name="`ASSOCIATION_NAVIGABLEOWNEDEND_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Property"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExtensionImpl" entity-name="Extension" abstract="false" lazy="false" extends="Association" table="`EXTENSION`"> - <meta attribute="eclassName" inherit="false">Extension</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ASSOCIATION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.RedefinableElementImpl" entity-name="RedefinableElement" abstract="true" lazy="false" extends="NamedElement" table="`REDEFINABLEELEMENT`"> - <meta attribute="eclassName" inherit="false">RedefinableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISLEAF`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.FeatureImpl" entity-name="Feature" abstract="true" lazy="false" extends="RedefinableElement" table="`FEATURE`"> - <meta attribute="eclassName" inherit="false">Feature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`REDEFINABLEELEMENT_E_ID`"/> - </key> - <property name="isStatic" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISSTATIC`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StructuralFeatureImpl" entity-name="StructuralFeature" abstract="true" lazy="false" extends="Feature" table="`STRUCTURALFEATURE`"> - <meta attribute="eclassName" inherit="false">StructuralFeature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`FEATURE_E_ID`"/> - </key> - <many-to-one name="type" entity-name="Type" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STRUCTURALFEATURE_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TYPE_TYPE_E_ID`"/> - </many-to-one> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="STRUCTURALFEATURE_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="STRUCTURALFEATURE_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - <property name="isReadOnly" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISREADONLY`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PropertyImpl" entity-name="Property" abstract="false" lazy="false" extends="StructuralFeature" table="`PROPERTY`"> - <meta attribute="eclassName" inherit="false">Property</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTURALFEATURE_E_ID`"/> - </key> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <bag name="deployment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DEPLOYMENT_LOCATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Deployment"/> - </bag> - <many-to-one name="interface" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_INTERFACE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_INTERFACE_E_ID`"/> - </many-to-one> - <many-to-one name="datatype" entity-name="DataType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_DATATYPE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_DATATYPE_E_ID`"/> - </many-to-one> - <property name="aggregation" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`AGGREGATION`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.AggregationKind</param> - <param name="eclassifier">AggregationKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="associationEnd" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_ASSOCIATIONEND" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_ASSOCIATIONEND_E_ID`"/> - </many-to-one> - <list name="qualifier" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_ASSOCIATIONEND_E_ID`" unique="false"/> - </key> - <list-index column="`PROPERTY_QUALIFIER_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <many-to-one name="defaultValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PROPERTY_DEFAULTVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_DEFAULTVALUE_E_ID`"/> - </many-to-one> - <property name="isDerived" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDERIVED`"/> - </property> - <property name="isDerivedUnion" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDERIVEDUNION`"/> - </property> - <property name="isID" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISID`"/> - </property> - <many-to-one name="owningAssociation" entity-name="Association" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_OWNINGASSOCIATION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_OWNINGASSOCIATION_E_ID`"/> - </many-to-one> - <bag name="redefinedProperty" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PROPERTY_REDEFINEDPROPERTY"> - <column name="`PROPERTY_REDEFINEDPROPERTY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Property"/> - </bag> - <bag name="subsettedProperty" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PROPERTY_SUBSETTEDPROPERTY"> - <column name="`PROPERTY_SUBSETTEDPROPERTY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Property"/> - </bag> - <many-to-one name="association" entity-name="Association" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_ASSOCIATION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_ASSOCIATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.MultiplicityElementImpl" entity-name="MultiplicityElement" abstract="true" lazy="false" extends="Element" table="`MULTIPLICITYELEMENT`"> - <meta attribute="eclassName" inherit="false">MultiplicityElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="STRUCTURALFEATURE_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="STRUCTURALFEATURE_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ConnectableElementImpl" entity-name="ConnectableElement" abstract="true" lazy="false" extends="TypedElement" table="`CONNECTABLEELEMENT`"> - <meta attribute="eclassName" inherit="false">ConnectableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`TYPEDELEMENT_E_ID`"/> - </key> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ConnectorEndImpl" entity-name="ConnectorEnd" abstract="false" lazy="false" extends="MultiplicityElement" table="`CONNECTOREND`"> - <meta attribute="eclassName" inherit="false">ConnectorEnd</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`MULTIPLICITYELEMENT_E_ID`"/> - </key> - <many-to-one name="partWithPort" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONNECTOREND_PARTWITHPORT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_PARTWITHPORT_E_ID`"/> - </many-to-one> - <many-to-one name="role" entity-name="ConnectableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONNECTOREND_ROLE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`CONNECTABLEELEMENT_ROLE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ConnectableElementTemplateParameterImpl" entity-name="ConnectableElementTemplateParameter" abstract="false" lazy="false" extends="TemplateParameter" table="`CONNECTABLEELEMENTTEMPLATEPARAMETER`"> - <meta attribute="eclassName" inherit="false">ConnectableElementTemplateParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`TEMPLATEPARAMETER_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DeploymentTargetImpl" entity-name="DeploymentTarget" abstract="true" lazy="false" extends="NamedElement" table="`DEPLOYMENTTARGET`"> - <meta attribute="eclassName" inherit="false">DeploymentTarget</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <bag name="deployment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DEPLOYMENT_LOCATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Deployment"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DeploymentImpl" entity-name="Deployment" abstract="false" lazy="false" extends="Dependency" table="`DEPLOYMENT`"> - <meta attribute="eclassName" inherit="false">Deployment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DEPENDENCY_E_ID`"/> - </key> - <bag name="configuration" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DEPLOYMENTSPECIFICATION_DEPLOYMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="DeploymentSpecification"/> - </bag> - <bag name="deployedArtifact" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="DEPLOYMENT_DEPLOYEDARTIFACT"> - <column name="`DEPLOYMENT_DEPLOYEDARTIFACT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="DeployedArtifact"/> - </bag> - <many-to-one name="location" entity-name="DeploymentTarget" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DEPLOYMENT_LOCATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`DEPLOYMENT_LOCATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ArtifactImpl" entity-name="Artifact" abstract="false" lazy="false" extends="Classifier" table="`ARTIFACT`"> - <meta attribute="eclassName" inherit="false">Artifact</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASSIFIER_E_ID`"/> - </key> - <property name="fileName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FILENAME`"/> - </property> - <bag name="manifestation" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ARTIFACT_MANIFESTATION"> - <column name="`ARTIFACT_MANIFESTATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Manifestation"/> - </bag> - <bag name="nestedArtifact" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ARTIFACT_NESTEDARTIFACT"> - <column name="`ARTIFACT_NESTEDARTIFACT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Artifact"/> - </bag> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ARTIFACT_OWNEDATTRIBUTE"> - <column name="`ARTIFACT_OWNEDATTRIBUTE_E_ID`" unique="false"/> - </key> - <list-index column="`ARTIFACT_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedOperation" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ARTIFACT_OWNEDOPERATION"> - <column name="`ARTIFACT_OWNEDOPERATION_E_ID`" unique="false"/> - </key> - <list-index column="`ARTIFACT_OWNEDOPERATION_IDX`"/> - <one-to-many entity-name="Operation"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DeploymentSpecificationImpl" entity-name="DeploymentSpecification" abstract="false" lazy="false" extends="Artifact" table="`DEPLOYMENTSPECIFICATION`"> - <meta attribute="eclassName" inherit="false">DeploymentSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ARTIFACT_E_ID`"/> - </key> - <property name="deploymentLocation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPLOYMENTLOCATION`"/> - </property> - <property name="executionLocation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`EXECUTIONLOCATION`"/> - </property> - <many-to-one name="deployment" entity-name="Deployment" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DEPLOYMENTSPECIFICATION_DEPLOYMENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`DEPLOYMENTSPECIFICATION_DEPLOYMENT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="DeployedArtifact" abstract="true" lazy="false" extends="NamedElement" table="`DEPLOYEDARTIFACT`"> - <meta attribute="eclassName" inherit="false">DeployedArtifact</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ManifestationImpl" entity-name="Manifestation" abstract="false" lazy="false" extends="Abstraction" table="`MANIFESTATION`"> - <meta attribute="eclassName" inherit="false">Manifestation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ABSTRACTION_E_ID`"/> - </key> - <many-to-one name="utilizedElement" entity-name="PackageableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MANIFESTATION_UTILIZEDELEMENT" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PACKAGEABLEELEMENT_UTILIZEDELEMENT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.BehavioralFeatureImpl" entity-name="BehavioralFeature" abstract="true" lazy="false" extends="Namespace" table="`BEHAVIORALFEATURE`"> - <meta attribute="eclassName" inherit="false">BehavioralFeature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMESPACE_E_ID`"/> - </key> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISLEAF`"/> - </property> - <property name="isStatic" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISSTATIC`"/> - </property> - <property name="concurrency" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`CONCURRENCY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.CallConcurrencyKind</param> - <param name="eclassifier">CallConcurrencyKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <property name="isAbstract" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISABSTRACT`"/> - </property> - <bag name="method" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`BEHAVIOR_SPECIFICATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <list name="ownedParameter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BEHAVIORALFEATURE_OWNEDPARAMETER"> - <column name="`BEHAVIORALFEATURE_OWNEDPARAMETER_E_ID`" unique="false"/> - </key> - <list-index column="`BEHAVIORALFEATURE_OWNEDPARAMETER_IDX`"/> - <one-to-many entity-name="Parameter"/> - </list> - <bag name="ownedParameterSet" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BEHAVIORALFEATURE_OWNEDPARAMETERSET"> - <column name="`BEHAVIORALFEATURE_OWNEDPARAMETERSET_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ParameterSet"/> - </bag> - <bag name="raisedException" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="BEHAVIORALFEATURE_RAISEDEXCEPTION"> - <column name="`BEHAVIORALFEATURE_RAISEDEXCEPTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Type"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.OperationImpl" entity-name="Operation" abstract="false" lazy="false" extends="BehavioralFeature" table="`OPERATION`"> - <meta attribute="eclassName" inherit="false">Operation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`BEHAVIORALFEATURE_E_ID`"/> - </key> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - <many-to-one name="interface" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPERATION_INTERFACE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`OPERATION_INTERFACE_E_ID`"/> - </many-to-one> - <many-to-one name="bodyCondition" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPERATION_BODYCONDITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_BODYCONDITION_E_ID`"/> - </many-to-one> - <many-to-one name="class" entity-name="Class" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPERATION_CLASS" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`OPERATION_CLASS_E_ID`"/> - </many-to-one> - <many-to-one name="datatype" entity-name="DataType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPERATION_DATATYPE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`OPERATION_DATATYPE_E_ID`"/> - </many-to-one> - <property name="isQuery" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISQUERY`"/> - </property> - <bag name="postcondition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="OPERATION_POSTCONDITION"> - <column name="`OPERATION_POSTCONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="precondition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="OPERATION_PRECONDITION"> - <column name="`OPERATION_PRECONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="redefinedOperation" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="OPERATION_REDEFINEDOPERATION"> - <column name="`OPERATION_REDEFINEDOPERATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Operation"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.BehaviorImpl" entity-name="Behavior" abstract="true" lazy="false" extends="Class" table="`BEHAVIOR`"> - <meta attribute="eclassName" inherit="false">Behavior</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASS_E_ID`"/> - </key> - <property name="isReentrant" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREENTRANT`"/> - </property> - <list name="ownedParameter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BEHAVIOR_OWNEDPARAMETER"> - <column name="`BEHAVIOR_OWNEDPARAMETER_E_ID`" unique="false"/> - </key> - <list-index column="`BEHAVIOR_OWNEDPARAMETER_IDX`"/> - <one-to-many entity-name="Parameter"/> - </list> - <bag name="ownedParameterSet" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BEHAVIOR_OWNEDPARAMETERSET"> - <column name="`BEHAVIOR_OWNEDPARAMETERSET_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ParameterSet"/> - </bag> - <bag name="postcondition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="BEHAVIOR_POSTCONDITION"> - <column name="`BEHAVIOR_POSTCONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="precondition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="BEHAVIOR_PRECONDITION"> - <column name="`BEHAVIOR_PRECONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="redefinedBehavior" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="BEHAVIOR_REDEFINEDBEHAVIOR"> - <column name="`BEHAVIOR_REDEFINEDBEHAVIOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <many-to-one name="specification" entity-name="BehavioralFeature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BEHAVIOR_SPECIFICATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_SPECIFICATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.BehavioredClassifierImpl" entity-name="BehavioredClassifier" abstract="true" lazy="false" extends="Classifier" table="`BEHAVIOREDCLASSIFIER`"> - <meta attribute="eclassName" inherit="false">BehavioredClassifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASSIFIER_E_ID`"/> - </key> - <many-to-one name="classifierBehavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLASS_CLASSIFIERBEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_CLASSIFIERBEHAVIOR_E_ID`"/> - </many-to-one> - <bag name="interfaceRealization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InterfaceRealization"/> - </bag> - <bag name="ownedBehavior" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASS_OWNEDBEHAVIOR"> - <column name="`BEHAVIOREDCLASSIFIER_OWNEDBEHAVIOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.RealizationImpl" entity-name="Realization" abstract="false" lazy="false" extends="Abstraction" table="`REALIZATION`"> - <meta attribute="eclassName" inherit="false">Realization</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ABSTRACTION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InterfaceRealizationImpl" entity-name="InterfaceRealization" abstract="false" lazy="false" extends="Realization" table="`INTERFACEREALIZATION`"> - <meta attribute="eclassName" inherit="false">InterfaceRealization</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`REALIZATION_E_ID`"/> - </key> - <many-to-one name="contract" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERFACEREALIZATION_CONTRACT" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`INTERFACE_CONTRACT_E_ID`"/> - </many-to-one> - <many-to-one name="implementingClassifier" entity-name="BehavioredClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InterfaceImpl" entity-name="Interface" abstract="false" lazy="false" extends="Classifier" table="`INTERFACE`"> - <meta attribute="eclassName" inherit="false">Interface</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASSIFIER_E_ID`"/> - </key> - <list name="nestedClassifier" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERFACE_NESTEDCLASSIFIER"> - <column name="`INTERFACE_NESTEDCLASSIFIER_E_ID`" unique="false"/> - </key> - <list-index column="`INTERFACE_NESTEDCLASSIFIER_IDX`"/> - <one-to-many entity-name="Classifier"/> - </list> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_INTERFACE_E_ID`" unique="false"/> - </key> - <list-index column="`INTERFACE_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedOperation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`OPERATION_INTERFACE_E_ID`" unique="false"/> - </key> - <list-index column="`INTERFACE_OWNEDOPERATION_IDX`"/> - <one-to-many entity-name="Operation"/> - </list> - <bag name="ownedReception" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERFACE_OWNEDRECEPTION"> - <column name="`INTERFACE_OWNEDRECEPTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Reception"/> - </bag> - <many-to-one name="protocol" entity-name="ProtocolStateMachine" lazy="false" cascade="all" foreign-key="INTERFACE_PROTOCOL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROTOCOLSTATEMACHINE_PROTOCOL_E_ID`"/> - </many-to-one> - <bag name="redefinedInterface" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INTERFACE_REDEFINEDINTERFACE"> - <column name="`INTERFACE_REDEFINEDINTERFACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Interface"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReceptionImpl" entity-name="Reception" abstract="false" lazy="false" extends="BehavioralFeature" table="`RECEPTION`"> - <meta attribute="eclassName" inherit="false">Reception</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`BEHAVIORALFEATURE_E_ID`"/> - </key> - <many-to-one name="signal" entity-name="Signal" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="RECEPTION_SIGNAL" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`SIGNAL_SIGNAL_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.SignalImpl" entity-name="Signal" abstract="false" lazy="false" extends="Classifier" table="`SIGNAL`"> - <meta attribute="eclassName" inherit="false">Signal</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASSIFIER_E_ID`"/> - </key> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="SIGNAL_OWNEDATTRIBUTE"> - <column name="`SIGNAL_OWNEDATTRIBUTE_E_ID`" unique="false"/> - </key> - <list-index column="`SIGNAL_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StateMachineImpl" entity-name="StateMachine" abstract="false" lazy="false" extends="Behavior" table="`STATEMACHINE`"> - <meta attribute="eclassName" inherit="false">StateMachine</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`BEHAVIOR_E_ID`"/> - </key> - <bag name="connectionPoint" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PSEUDOSTATE_STATEMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Pseudostate"/> - </bag> - <bag name="submachineState" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`STATE_SUBMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="State"/> - </bag> - <bag name="region" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`REGION_STATEMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Region"/> - </bag> - <bag name="extendedStateMachine" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="STATEMACHINE_EXTENDEDSTATEMACHINE"> - <column name="`STATEMACHINE_EXTENDEDSTATEMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="StateMachine"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ProtocolStateMachineImpl" entity-name="ProtocolStateMachine" abstract="false" lazy="false" extends="StateMachine" table="`PROTOCOLSTATEMACHINE`"> - <meta attribute="eclassName" inherit="false">ProtocolStateMachine</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STATEMACHINE_E_ID`"/> - </key> - <bag name="conformance" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROTOCOLCONFORMANCE_SPECIFICMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ProtocolConformance"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.VertexImpl" entity-name="Vertex" abstract="true" lazy="false" extends="NamedElement" table="`VERTEX`"> - <meta attribute="eclassName" inherit="false">Vertex</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <many-to-one name="container" entity-name="Region" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VERTEX_CONTAINER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VERTEX_CONTAINER_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PseudostateImpl" entity-name="Pseudostate" abstract="false" lazy="false" extends="Vertex" table="`PSEUDOSTATE`"> - <meta attribute="eclassName" inherit="false">Pseudostate</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VERTEX_E_ID`"/> - </key> - <many-to-one name="state" entity-name="State" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PSEUDOSTATE_STATE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PSEUDOSTATE_STATE_E_ID`"/> - </many-to-one> - <property name="kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.PseudostateKind</param> - <param name="eclassifier">PseudostateKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="stateMachine" entity-name="StateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PSEUDOSTATE_STATEMACHINE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PSEUDOSTATE_STATEMACHINE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.RegionImpl" entity-name="Region" abstract="false" lazy="false" extends="Namespace" table="`REGION`"> - <meta attribute="eclassName" inherit="false">Region</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMESPACE_E_ID`"/> - </key> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISLEAF`"/> - </property> - <many-to-one name="extendedRegion" entity-name="Region" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REGION_EXTENDEDREGION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`REGION_EXTENDEDREGION_E_ID`"/> - </many-to-one> - <many-to-one name="state" entity-name="State" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REGION_STATE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`REGION_STATE_E_ID`"/> - </many-to-one> - <many-to-one name="stateMachine" entity-name="StateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REGION_STATEMACHINE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`REGION_STATEMACHINE_E_ID`"/> - </many-to-one> - <bag name="transition" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TRANSITION_CONTAINER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Transition"/> - </bag> - <bag name="subvertex" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`VERTEX_CONTAINER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Vertex"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StateImpl" entity-name="State" abstract="false" lazy="false" extends="Namespace" table="`STATE`"> - <meta attribute="eclassName" inherit="false">State</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMESPACE_E_ID`"/> - </key> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISLEAF`"/> - </property> - <many-to-one name="container" entity-name="Region" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STATE_CONTAINER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STATE_CONTAINER_E_ID`"/> - </many-to-one> - <bag name="connection" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONNECTIONPOINTREFERENCE_STATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ConnectionPointReference"/> - </bag> - <bag name="connectionPoint" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PSEUDOSTATE_STATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Pseudostate"/> - </bag> - <bag name="deferrableTrigger" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STATE_DEFERRABLETRIGGER"> - <column name="`STATE_DEFERRABLETRIGGER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Trigger"/> - </bag> - <many-to-one name="doActivity" entity-name="Behavior" lazy="false" cascade="all" foreign-key="STATE_DOACTIVITY" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_DOACTIVITY_E_ID`"/> - </many-to-one> - <many-to-one name="entry" entity-name="Behavior" lazy="false" cascade="all" foreign-key="STATE_ENTRY" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_ENTRY_E_ID`"/> - </many-to-one> - <many-to-one name="exit" entity-name="Behavior" lazy="false" cascade="all" foreign-key="STATE_EXIT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_EXIT_E_ID`"/> - </many-to-one> - <many-to-one name="redefinedState" entity-name="State" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STATE_REDEFINEDSTATE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STATE_REDEFINEDSTATE_E_ID`"/> - </many-to-one> - <many-to-one name="stateInvariant" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STATE_STATEINVARIANT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_STATEINVARIANT_E_ID`"/> - </many-to-one> - <many-to-one name="submachine" entity-name="StateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STATE_SUBMACHINE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STATE_SUBMACHINE_E_ID`"/> - </many-to-one> - <bag name="region" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`REGION_STATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Region"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ConnectionPointReferenceImpl" entity-name="ConnectionPointReference" abstract="false" lazy="false" extends="Vertex" table="`CONNECTIONPOINTREFERENCE`"> - <meta attribute="eclassName" inherit="false">ConnectionPointReference</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VERTEX_E_ID`"/> - </key> - <bag name="entry" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONNECTIONPOINTREFERENCE_ENTRY"> - <column name="`CONNECTIONPOINTREFERENCE_ENTRY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Pseudostate"/> - </bag> - <bag name="exit" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONNECTIONPOINTREFERENCE_EXIT"> - <column name="`CONNECTIONPOINTREFERENCE_EXIT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Pseudostate"/> - </bag> - <many-to-one name="state" entity-name="State" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONNECTIONPOINTREFERENCE_STATE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONNECTIONPOINTREFERENCE_STATE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TriggerImpl" entity-name="Trigger" abstract="false" lazy="false" extends="NamedElement" table="`TRIGGER`"> - <meta attribute="eclassName" inherit="false">Trigger</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <many-to-one name="event" entity-name="Event" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRIGGER_EVENT" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`EVENT_EVENT_E_ID`"/> - </many-to-one> - <bag name="port" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="TRIGGER_PORT"> - <column name="`TRIGGER_PORT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Port"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.EventImpl" entity-name="Event" abstract="true" lazy="false" extends="PackageableElement" table="`EVENT`"> - <meta attribute="eclassName" inherit="false">Event</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGEABLEELEMENT_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PortImpl" entity-name="Port" abstract="false" lazy="false" extends="Property" table="`PORT`"> - <meta attribute="eclassName" inherit="false">Port</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PROPERTY_E_ID`"/> - </key> - <property name="isBehavior" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISBEHAVIOR`"/> - </property> - <property name="isConjugated" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISCONJUGATED`"/> - </property> - <property name="isService" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISSERVICE`"/> - </property> - <many-to-one name="protocol" entity-name="ProtocolStateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PORT_PROTOCOL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROTOCOLSTATEMACHINE_PROTOCOL_E_ID`"/> - </many-to-one> - <bag name="redefinedPort" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PORT_REDEFINEDPORT"> - <column name="`PORT_REDEFINEDPORT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Port"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ConstraintImpl" entity-name="Constraint" abstract="false" lazy="false" extends="PackageableElement" table="`CONSTRAINT`"> - <meta attribute="eclassName" inherit="false">Constraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGEABLEELEMENT_E_ID`"/> - </key> - <list name="constrainedElement" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONSTRAINT_CONSTRAINEDELEMENT"> - <column name="`CONSTRAINT_CONSTRAINEDELEMENT_E_ID`" unique="false"/> - </key> - <list-index column="`CONSTRAINT_CONSTRAINEDELEMENT_IDX`"/> - <one-to-many entity-name="Element"/> - </list> - <many-to-one name="context" entity-name="Namespace" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONSTRAINT_CONTEXT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_CONTEXT_E_ID`"/> - </many-to-one> - <many-to-one name="specification" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="CONSTRAINT_SPECIFICATION" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_SPECIFICATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TransitionImpl" entity-name="Transition" abstract="false" lazy="false" extends="Namespace" table="`TRANSITION`"> - <meta attribute="eclassName" inherit="false">Transition</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMESPACE_E_ID`"/> - </key> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISLEAF`"/> - </property> - <many-to-one name="effect" entity-name="Behavior" lazy="false" cascade="all" foreign-key="TRANSITION_EFFECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_EFFECT_E_ID`"/> - </many-to-one> - <many-to-one name="guard" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_GUARD" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_GUARD_E_ID`"/> - </many-to-one> - <property name="kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.TransitionKind</param> - <param name="eclassifier">TransitionKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="redefinedTransition" entity-name="Transition" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_REDEFINEDTRANSITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TRANSITION_REDEFINEDTRANSITION_E_ID`"/> - </many-to-one> - <many-to-one name="source" entity-name="Vertex" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_SOURCE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`VERTEX_SOURCE_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="Vertex" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_TARGET" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`VERTEX_TARGET_E_ID`"/> - </many-to-one> - <bag name="trigger" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="TRANSITION_TRIGGER"> - <column name="`TRANSITION_TRIGGER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Trigger"/> - </bag> - <many-to-one name="container" entity-name="Region" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_CONTAINER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TRANSITION_CONTAINER_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ProtocolConformanceImpl" entity-name="ProtocolConformance" abstract="false" lazy="false" extends="DirectedRelationship" table="`PROTOCOLCONFORMANCE`"> - <meta attribute="eclassName" inherit="false">ProtocolConformance</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DIRECTEDRELATIONSHIP_E_ID`"/> - </key> - <many-to-one name="generalMachine" entity-name="ProtocolStateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROTOCOLCONFORMANCE_GENERALMACHINE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PROTOCOLSTATEMACHINE_GENERALMACHINE_E_ID`"/> - </many-to-one> - <many-to-one name="specificMachine" entity-name="ProtocolStateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROTOCOLCONFORMANCE_SPECIFICMACHINE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROTOCOLCONFORMANCE_SPECIFICMACHINE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ParameterImpl" entity-name="Parameter" abstract="false" lazy="false" extends="ConnectableElement" table="`PARAMETER`"> - <meta attribute="eclassName" inherit="false">Parameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONNECTABLEELEMENT_E_ID`"/> - </key> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PARAMETER_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PARAMETER_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="defaultValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PARAMETER_DEFAULTVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_DEFAULTVALUE_E_ID`"/> - </many-to-one> - <property name="direction" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`DIRECTION`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.ParameterDirectionKind</param> - <param name="eclassifier">ParameterDirectionKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <property name="effect" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`EFFECT`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.ParameterEffectKind</param> - <param name="eclassifier">ParameterEffectKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <property name="isException" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISEXCEPTION`"/> - </property> - <property name="isStream" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISSTREAM`"/> - </property> - <bag name="parameterSet" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`PARAMETERSET_PARAMETER`"> - <key update="true"> - <column name="`PARAMETER_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ParameterSet" unique="false" foreign-key="PARAMETER_PARAMETERSET"> - <column name="`PARAMETERSET_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ParameterSetImpl" entity-name="ParameterSet" abstract="false" lazy="false" extends="NamedElement" table="`PARAMETERSET`"> - <meta attribute="eclassName" inherit="false">ParameterSet</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <bag name="condition" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="PARAMETERSET_CONDITION"> - <column name="`PARAMETERSET_CONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="parameter" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`PARAMETERSET_PARAMETER`"> - <key update="true"> - <column name="`PARAMETERSET_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Parameter" unique="false" foreign-key="PARAMETERSET_PARAMETER"> - <column name="`PARAMETER_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DataTypeImpl" entity-name="DataType" abstract="false" lazy="false" extends="Classifier" table="`DATATYPE`"> - <meta attribute="eclassName" inherit="false">DataType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASSIFIER_E_ID`"/> - </key> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_DATATYPE_E_ID`" unique="false"/> - </key> - <list-index column="`DATATYPE_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedOperation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`OPERATION_DATATYPE_E_ID`" unique="false"/> - </key> - <list-index column="`DATATYPE_OWNEDOPERATION_IDX`"/> - <one-to-many entity-name="Operation"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.OperationTemplateParameterImpl" entity-name="OperationTemplateParameter" abstract="false" lazy="false" extends="TemplateParameter" table="`OPERATIONTEMPLATEPARAMETER`"> - <meta attribute="eclassName" inherit="false">OperationTemplateParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`TEMPLATEPARAMETER_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExtensionEndImpl" entity-name="ExtensionEnd" abstract="false" lazy="false" extends="Property" table="`EXTENSIONEND`"> - <meta attribute="eclassName" inherit="false">ExtensionEnd</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PROPERTY_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ModelImpl" entity-name="Model" abstract="false" lazy="false" extends="Package" table="`MODEL`"> - <meta attribute="eclassName" inherit="false">Model</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGE_E_ID`"/> - </key> - <property name="viewpoint" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VIEWPOINT`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.EnumerationImpl" entity-name="Enumeration" abstract="false" lazy="false" extends="DataType" table="`ENUMERATION`"> - <meta attribute="eclassName" inherit="false">Enumeration</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DATATYPE_E_ID`"/> - </key> - <list name="ownedLiteral" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ENUMERATIONLITERAL_ENUMERATION_E_ID`" unique="false"/> - </key> - <list-index column="`ENUMERATION_OWNEDLITERAL_IDX`"/> - <one-to-many entity-name="EnumerationLiteral"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InstanceSpecificationImpl" entity-name="InstanceSpecification" abstract="false" lazy="false" extends="DeploymentTarget" table="`INSTANCESPECIFICATION`"> - <meta attribute="eclassName" inherit="false">InstanceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DEPLOYMENTTARGET_E_ID`"/> - </key> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <bag name="classifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INSTANCESPECIFICATION_CLASSIFIER"> - <column name="`INSTANCESPECIFICATION_CLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <bag name="slot" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`SLOT_OWNINGINSTANCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Slot"/> - </bag> - <many-to-one name="specification" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="INSTANCESPECIFICATION_SPECIFICATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_SPECIFICATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.EnumerationLiteralImpl" entity-name="EnumerationLiteral" abstract="false" lazy="false" extends="InstanceSpecification" table="`ENUMERATIONLITERAL`"> - <meta attribute="eclassName" inherit="false">EnumerationLiteral</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INSTANCESPECIFICATION_E_ID`"/> - </key> - <many-to-one name="enumeration" entity-name="Enumeration" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ENUMERATIONLITERAL_ENUMERATION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`ENUMERATIONLITERAL_ENUMERATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.SlotImpl" entity-name="Slot" abstract="false" lazy="false" extends="Element" table="`SLOT`"> - <meta attribute="eclassName" inherit="false">Slot</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <many-to-one name="definingFeature" entity-name="StructuralFeature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SLOT_DEFININGFEATURE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`STRUCTURALFEATURE_DEFININGFEATURE_E_ID`"/> - </many-to-one> - <list name="value" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="SLOT_VALUE"> - <column name="`SLOT_VALUE_E_ID`" unique="false"/> - </key> - <list-index column="`SLOT_VALUE_IDX`"/> - <one-to-many entity-name="ValueSpecification"/> - </list> - <many-to-one name="owningInstance" entity-name="InstanceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SLOT_OWNINGINSTANCE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`SLOT_OWNINGINSTANCE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PrimitiveTypeImpl" entity-name="PrimitiveType" abstract="false" lazy="false" extends="DataType" table="`PRIMITIVETYPE`"> - <meta attribute="eclassName" inherit="false">PrimitiveType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DATATYPE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.UsageImpl" entity-name="Usage" abstract="false" lazy="false" extends="Dependency" table="`USAGE`"> - <meta attribute="eclassName" inherit="false">Usage</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DEPENDENCY_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CollaborationUseImpl" entity-name="CollaborationUse" abstract="false" lazy="false" extends="NamedElement" table="`COLLABORATIONUSE`"> - <meta attribute="eclassName" inherit="false">CollaborationUse</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <bag name="roleBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COLLABORATIONUSE_ROLEBINDING"> - <column name="`COLLABORATIONUSE_ROLEBINDING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Dependency"/> - </bag> - <many-to-one name="type" entity-name="Collaboration" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="COLLABORATIONUSE_TYPE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`COLLABORATION_TYPE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CollaborationImpl" entity-name="Collaboration" abstract="false" lazy="false" extends="StructuredClassifier" table="`COLLABORATION`"> - <meta attribute="eclassName" inherit="false">Collaboration</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTUREDCLASSIFIER_E_ID`"/> - </key> - <many-to-one name="classifierBehavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="COLLABORATION_CLASSIFIERBEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_CLASSIFIERBEHAVIOR_E_ID`"/> - </many-to-one> - <bag name="interfaceRealization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InterfaceRealization"/> - </bag> - <bag name="ownedBehavior" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COLLABORATION_OWNEDBEHAVIOR"> - <column name="`COLLABORATION_OWNEDBEHAVIOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <bag name="collaborationRole" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="COLLABORATION_COLLABORATIONROLE"> - <column name="`COLLABORATION_COLLABORATIONROLE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ConnectableElement"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.GeneralizationImpl" entity-name="Generalization" abstract="false" lazy="false" extends="DirectedRelationship" table="`GENERALIZATION`"> - <meta attribute="eclassName" inherit="false">Generalization</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`DIRECTEDRELATIONSHIP_E_ID`"/> - </key> - <many-to-one name="general" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALIZATION_GENERAL" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`CLASSIFIER_GENERAL_E_ID`"/> - </many-to-one> - <bag name="generalizationSet" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`GENERALIZATIONSET_GENERALIZATION`"> - <key update="true"> - <column name="`GENERALIZATION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="GeneralizationSet" unique="false" foreign-key="GENERALIZATION_GENERALIZATIONSET"> - <column name="`GENERALIZATIONSET_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="isSubstitutable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISSUBSTITUTABLE`"/> - </property> - <many-to-one name="specific" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALIZATION_SPECIFIC" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`GENERALIZATION_SPECIFIC_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.GeneralizationSetImpl" entity-name="GeneralizationSet" abstract="false" lazy="false" extends="PackageableElement" table="`GENERALIZATIONSET`"> - <meta attribute="eclassName" inherit="false">GeneralizationSet</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGEABLEELEMENT_E_ID`"/> - </key> - <property name="isCovering" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISCOVERING`"/> - </property> - <property name="isDisjoint" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDISJOINT`"/> - </property> - <many-to-one name="powertype" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALIZATIONSET_POWERTYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`GENERALIZATIONSET_POWERTYPE_E_ID`"/> - </many-to-one> - <bag name="generalization" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`GENERALIZATIONSET_GENERALIZATION`"> - <key update="true"> - <column name="`GENERALIZATIONSET_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Generalization" unique="false" foreign-key="GENERALIZATIONSET_GENERALIZATION"> - <column name="`GENERALIZATION_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.RedefinableTemplateSignatureImpl" entity-name="RedefinableTemplateSignature" abstract="false" lazy="false" extends="RedefinableElement" table="`REDEFINABLETEMPLATESIGNATURE`"> - <meta attribute="eclassName" inherit="false">RedefinableTemplateSignature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`REDEFINABLEELEMENT_E_ID`"/> - </key> - <list name="ownedParameter" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEPARAMETER_SIGNATURE_E_ID`" unique="false"/> - </key> - <list-index column="`REDEFINABLETEMPLATESIGNATURE_OWNEDPARAMETER_IDX`"/> - <one-to-many entity-name="TemplateParameter"/> - </list> - <list name="parameter" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="REDEFINABLETEMPLATESIGNATURE_PARAMETER"> - <column name="`REDEFINABLETEMPLATESIGNATURE_PARAMETER_E_ID`" unique="false"/> - </key> - <list-index column="`REDEFINABLETEMPLATESIGNATURE_PARAMETER_IDX`"/> - <one-to-many entity-name="TemplateParameter"/> - </list> - <one-to-one name="template" entity-name="TemplateableElement" constrained="true" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedTemplateSignature"/> - <bag name="extendedSignature" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="REDEFINABLETEMPLATESIGNATURE_EXTENDEDSIGNATURE"> - <column name="`REDEFINABLETEMPLATESIGNATURE_EXTENDEDSIGNATURE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="RedefinableTemplateSignature"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.UseCaseImpl" entity-name="UseCase" abstract="false" lazy="false" extends="BehavioredClassifier" table="`USECASE`"> - <meta attribute="eclassName" inherit="false">UseCase</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`BEHAVIOREDCLASSIFIER_E_ID`"/> - </key> - <bag name="extend" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EXTEND_EXTENSION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Extend"/> - </bag> - <bag name="extensionPoint" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EXTENSIONPOINT_USECASE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExtensionPoint"/> - </bag> - <bag name="include" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INCLUDE_INCLUDINGCASE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Include"/> - </bag> - <bag name="subject" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`CLASSIFIER_USECASE`"> - <key update="true"> - <column name="`USECASE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Classifier" unique="false" foreign-key="USECASE_SUBJECT"> - <column name="`CLASSIFIER_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExtendImpl" entity-name="Extend" abstract="false" lazy="false" extends="NamedElement" table="`EXTEND`"> - <meta attribute="eclassName" inherit="false">Extend</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <many-to-one name="condition" entity-name="Constraint" lazy="false" cascade="all" foreign-key="EXTEND_CONDITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_CONDITION_E_ID`"/> - </many-to-one> - <many-to-one name="extendedCase" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXTEND_EXTENDEDCASE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`USECASE_EXTENDEDCASE_E_ID`"/> - </many-to-one> - <list name="extensionLocation" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EXTEND_EXTENSIONLOCATION"> - <column name="`EXTEND_EXTENSIONLOCATION_E_ID`" unique="false"/> - </key> - <list-index column="`EXTEND_EXTENSIONLOCATION_IDX`"/> - <one-to-many entity-name="ExtensionPoint"/> - </list> - <many-to-one name="extension" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXTEND_EXTENSION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXTEND_EXTENSION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExtensionPointImpl" entity-name="ExtensionPoint" abstract="false" lazy="false" extends="RedefinableElement" table="`EXTENSIONPOINT`"> - <meta attribute="eclassName" inherit="false">ExtensionPoint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`REDEFINABLEELEMENT_E_ID`"/> - </key> - <many-to-one name="useCase" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXTENSIONPOINT_USECASE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXTENSIONPOINT_USECASE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.IncludeImpl" entity-name="Include" abstract="false" lazy="false" extends="NamedElement" table="`INCLUDE`"> - <meta attribute="eclassName" inherit="false">Include</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <many-to-one name="addition" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INCLUDE_ADDITION" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`USECASE_ADDITION_E_ID`"/> - </many-to-one> - <many-to-one name="includingCase" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INCLUDE_INCLUDINGCASE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INCLUDE_INCLUDINGCASE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.SubstitutionImpl" entity-name="Substitution" abstract="false" lazy="false" extends="Realization" table="`SUBSTITUTION`"> - <meta attribute="eclassName" inherit="false">Substitution</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`REALIZATION_E_ID`"/> - </key> - <many-to-one name="contract" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SUBSTITUTION_CONTRACT" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`CLASSIFIER_CONTRACT_E_ID`"/> - </many-to-one> - <many-to-one name="substitutingClassifier" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SUBSTITUTION_SUBSTITUTINGCLASSIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`SUBSTITUTION_SUBSTITUTINGCLASSIFIER_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ClassifierTemplateParameterImpl" entity-name="ClassifierTemplateParameter" abstract="false" lazy="false" extends="TemplateParameter" table="`CLASSIFIERTEMPLATEPARAMETER`"> - <meta attribute="eclassName" inherit="false">ClassifierTemplateParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`TEMPLATEPARAMETER_E_ID`"/> - </key> - <property name="allowSubstitutable" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ALLOWSUBSTITUTABLE`"/> - </property> - <bag name="constrainingClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLASSIFIERTEMPLATEPARAMETER_CONSTRAININGCLASSIFIER"> - <column name="`CLASSIFIERTEMPLATEPARAMETER_CONSTRAININGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ConnectorImpl" entity-name="Connector" abstract="false" lazy="false" extends="Feature" table="`CONNECTOR`"> - <meta attribute="eclassName" inherit="false">Connector</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`FEATURE_E_ID`"/> - </key> - <bag name="contract" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONNECTOR_CONTRACT"> - <column name="`CONNECTOR_CONTRACT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <list name="end" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CONNECTOR_END"> - <column name="`CONNECTOR_END_E_ID`" unique="false"/> - </key> - <list-index column="`CONNECTOR_END_IDX`"/> - <one-to-many entity-name="ConnectorEnd"/> - </list> - <bag name="redefinedConnector" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONNECTOR_REDEFINEDCONNECTOR"> - <column name="`CONNECTOR_REDEFINEDCONNECTOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Connector"/> - </bag> - <many-to-one name="type" entity-name="Association" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONNECTOR_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ASSOCIATION_TYPE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ImageImpl" entity-name="Image" abstract="false" lazy="false" extends="Element" table="`IMAGE`"> - <meta attribute="eclassName" inherit="false">Image</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <property name="content" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CONTENT`"/> - </property> - <property name="format" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FORMAT`"/> - </property> - <property name="location" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LOCATION`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.OpaqueExpressionImpl" entity-name="OpaqueExpression" abstract="false" lazy="false" extends="ValueSpecification" table="`OPAQUEEXPRESSION`"> - <meta attribute="eclassName" inherit="false">OpaqueExpression</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VALUESPECIFICATION_E_ID`"/> - </key> - <many-to-one name="behavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPAQUEEXPRESSION_BEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_BEHAVIOR_E_ID`"/> - </many-to-one> - <list name="body" table="`OPAQUEEXPRESSION_BODY`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEEXPRESSION_BODY_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEEXPRESSION_BODY_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="language" table="`OPAQUEEXPRESSION_LANGUAGE`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEEXPRESSION_LANGUAGE_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEEXPRESSION_LANGUAGE_IDX`"/> - <element type="java.lang.String"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActivityNodeImpl" entity-name="ActivityNode" abstract="true" lazy="false" extends="RedefinableElement" table="`ACTIVITYNODE`"> - <meta attribute="eclassName" inherit="false">ActivityNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`REDEFINABLEELEMENT_E_ID`"/> - </key> - <bag name="inPartition" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ACTIVITYNODE_ACTIVITYPARTITION`"> - <key update="true"> - <column name="`ACTIVITYNODE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityPartition" unique="false" foreign-key="ACTIVITYNODE_INPARTITION"> - <column name="`ACTIVITYPARTITION_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="inStructuredNode" entity-name="StructuredActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYNODE_INSTRUCTUREDNODE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYNODE_INSTRUCTUREDNODE_E_ID`"/> - </many-to-one> - <bag name="inInterruptibleRegion" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ACTIVITYNODE_INTERRUPTIBLEACTIVITYREGION`"> - <key update="true"> - <column name="`ACTIVITYNODE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="InterruptibleActivityRegion" unique="false" foreign-key="ACTIVITYNODE_ININTERRUPTIBLEREGION"> - <column name="`INTERRUPTIBLEACTIVITYREGION_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="outgoing" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`ACTIVITYEDGE_SOURCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <bag name="incoming" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`ACTIVITYEDGE_TARGET_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <bag name="redefinedNode" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ACTIVITYNODE_REDEFINEDNODE"> - <column name="`ACTIVITYNODE_REDEFINEDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityNode"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExecutableNodeImpl" entity-name="ExecutableNode" abstract="true" lazy="false" extends="ActivityNode" table="`EXECUTABLENODE`"> - <meta attribute="eclassName" inherit="false">ExecutableNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTIVITYNODE_E_ID`"/> - </key> - <bag name="handler" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EXCEPTIONHANDLER_PROTECTEDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExceptionHandler"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActionImpl" entity-name="Action" abstract="true" lazy="false" extends="ExecutableNode" table="`ACTION`"> - <meta attribute="eclassName" inherit="false">Action</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`EXECUTABLENODE_E_ID`"/> - </key> - <property name="isLocallyReentrant" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISLOCALLYREENTRANT`"/> - </property> - <bag name="localPostcondition" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTION_LOCALPOSTCONDITION"> - <column name="`ACTION_LOCALPOSTCONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="localPrecondition" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTION_LOCALPRECONDITION"> - <column name="`ACTION_LOCALPRECONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.AcceptEventActionImpl" entity-name="AcceptEventAction" abstract="false" lazy="false" extends="Action" table="`ACCEPTEVENTACTION`"> - <meta attribute="eclassName" inherit="false">AcceptEventAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <property name="isUnmarshall" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISUNMARSHALL`"/> - </property> - <bag name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACCEPTEVENTACTION_RESULT"> - <column name="`ACCEPTEVENTACTION_RESULT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="OutputPin"/> - </bag> - <bag name="trigger" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACCEPTEVENTACTION_TRIGGER"> - <column name="`ACCEPTEVENTACTION_TRIGGER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Trigger"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.AcceptCallActionImpl" entity-name="AcceptCallAction" abstract="false" lazy="false" extends="AcceptEventAction" table="`ACCEPTCALLACTION`"> - <meta attribute="eclassName" inherit="false">AcceptCallAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACCEPTEVENTACTION_E_ID`"/> - </key> - <many-to-one name="returnInformation" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="ACCEPTCALLACTION_RETURNINFORMATION" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RETURNINFORMATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActivityImpl" entity-name="Activity" abstract="false" lazy="false" extends="Behavior" table="`ACTIVITY`"> - <meta attribute="eclassName" inherit="false">Activity</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`BEHAVIOR_E_ID`"/> - </key> - <bag name="ownedGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTIVITY_OWNEDGROUP"> - <column name="`ACTIVITY_OWNEDGROUP_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityGroup"/> - </bag> - <bag name="edge" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ACTIVITYEDGE_ACTIVITY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <bag name="variable" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`VARIABLE_ACTIVITYSCOPE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Variable"/> - </bag> - <bag name="ownedNode" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTIVITY_OWNEDNODE"> - <column name="`ACTIVITY_OWNEDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityNode"/> - </bag> - <property name="isReadOnly" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISREADONLY`"/> - </property> - <property name="isSingleExecution" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISSINGLEEXECUTION`"/> - </property> - <bag name="partition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ACTIVITY_PARTITION"> - <column name="`ACTIVITY_PARTITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityPartition"/> - </bag> - <bag name="structuredNode" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTIVITY_STRUCTUREDNODE"> - <column name="`ACTIVITY_STRUCTUREDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="StructuredActivityNode"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActivityGroupImpl" entity-name="ActivityGroup" abstract="true" lazy="false" extends="NamedElement" table="`ACTIVITYGROUP`"> - <meta attribute="eclassName" inherit="false">ActivityGroup</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActivityEdgeImpl" entity-name="ActivityEdge" abstract="true" lazy="false" extends="RedefinableElement" table="`ACTIVITYEDGE`"> - <meta attribute="eclassName" inherit="false">ActivityEdge</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`REDEFINABLEELEMENT_E_ID`"/> - </key> - <many-to-one name="activity" entity-name="Activity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_ACTIVITY" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_ACTIVITY_E_ID`"/> - </many-to-one> - <many-to-one name="guard" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="ACTIVITYEDGE_GUARD" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_GUARD_E_ID`"/> - </many-to-one> - <bag name="inPartition" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ACTIVITYEDGE_ACTIVITYPARTITION`"> - <key update="true"> - <column name="`ACTIVITYEDGE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityPartition" unique="false" foreign-key="ACTIVITYEDGE_INPARTITION"> - <column name="`ACTIVITYPARTITION_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="inStructuredNode" entity-name="StructuredActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_INSTRUCTUREDNODE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_INSTRUCTUREDNODE_E_ID`"/> - </many-to-one> - <many-to-one name="interrupts" entity-name="InterruptibleActivityRegion" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_INTERRUPTS" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_INTERRUPTS_E_ID`"/> - </many-to-one> - <bag name="redefinedEdge" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ACTIVITYEDGE_REDEFINEDEDGE"> - <column name="`ACTIVITYEDGE_REDEFINEDEDGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <many-to-one name="source" entity-name="ActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_SOURCE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_SOURCE_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="ActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_TARGET" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_TARGET_E_ID`"/> - </many-to-one> - <many-to-one name="weight" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="ACTIVITYEDGE_WEIGHT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_WEIGHT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActivityPartitionImpl" entity-name="ActivityPartition" abstract="false" lazy="false" extends="ActivityGroup" table="`ACTIVITYPARTITION`"> - <meta attribute="eclassName" inherit="false">ActivityPartition</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTIVITYGROUP_E_ID`"/> - </key> - <property name="isDimension" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDIMENSION`"/> - </property> - <property name="isExternal" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISEXTERNAL`"/> - </property> - <bag name="node" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ACTIVITYNODE_ACTIVITYPARTITION`"> - <key update="true"> - <column name="`ACTIVITYPARTITION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityNode" unique="false" foreign-key="ACTIVITYPARTITION_NODE"> - <column name="`ACTIVITYNODE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="represents" entity-name="Element" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYPARTITION_REPRESENTS" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ELEMENT_REPRESENTS_E_ID`"/> - </many-to-one> - <bag name="subpartition" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ACTIVITYPARTITION_SUPERPARTITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityPartition"/> - </bag> - <many-to-one name="superPartition" entity-name="ActivityPartition" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYPARTITION_SUPERPARTITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYPARTITION_SUPERPARTITION_E_ID`"/> - </many-to-one> - <bag name="edge" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ACTIVITYEDGE_ACTIVITYPARTITION`"> - <key update="true"> - <column name="`ACTIVITYPARTITION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityEdge" unique="false" foreign-key="ACTIVITYPARTITION_EDGE"> - <column name="`ACTIVITYEDGE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StructuredActivityNodeImpl" entity-name="StructuredActivityNode" abstract="false" lazy="false" extends="Action" table="`STRUCTUREDACTIVITYNODE`"> - <meta attribute="eclassName" inherit="false">StructuredActivityNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <bag name="elementImport" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ELEMENTIMPORT_IMPORTINGNAMESPACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ElementImport"/> - </bag> - <bag name="packageImport" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PACKAGEIMPORT_IMPORTINGNAMESPACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageImport"/> - </bag> - <bag name="ownedRule" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONSTRAINT_CONTEXT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <property name="mustIsolate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`MUSTISOLATE`"/> - </property> - <bag name="node" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ACTIVITYNODE_INSTRUCTUREDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityNode"/> - </bag> - <bag name="structuredNodeInput" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STRUCTUREDACTIVITYNODE_STRUCTUREDNODEINPUT"> - <column name="`STRUCTUREDACTIVITYNODE_STRUCTUREDNODEINPUT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InputPin"/> - </bag> - <bag name="structuredNodeOutput" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STRUCTUREDACTIVITYNODE_STRUCTUREDNODEOUTPUT"> - <column name="`STRUCTUREDACTIVITYNODE_STRUCTUREDNODEOUTPUT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="OutputPin"/> - </bag> - <bag name="variable" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`VARIABLE_SCOPE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Variable"/> - </bag> - <bag name="edge" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ACTIVITYEDGE_INSTRUCTUREDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ObjectNodeImpl" entity-name="ObjectNode" abstract="true" lazy="false" extends="ActivityNode" table="`OBJECTNODE`"> - <meta attribute="eclassName" inherit="false">ObjectNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTIVITYNODE_E_ID`"/> - </key> - <many-to-one name="type" entity-name="Type" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OBJECTNODE_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TYPE_TYPE_E_ID`"/> - </many-to-one> - <bag name="inState" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="OBJECTNODE_INSTATE"> - <column name="`OBJECTNODE_INSTATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="State"/> - </bag> - <property name="isControlType" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISCONTROLTYPE`"/> - </property> - <property name="ordering" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`ORDERING`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.ObjectNodeOrderingKind</param> - <param name="eclassifier">ObjectNodeOrderingKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="selection" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OBJECTNODE_SELECTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_SELECTION_E_ID`"/> - </many-to-one> - <many-to-one name="upperBound" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="OBJECTNODE_UPPERBOUND" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_UPPERBOUND_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PinImpl" entity-name="Pin" abstract="true" lazy="false" extends="ObjectNode" table="`PIN`"> - <meta attribute="eclassName" inherit="false">Pin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`OBJECTNODE_E_ID`"/> - </key> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PIN_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PIN_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - <property name="isControl" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISCONTROL`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InputPinImpl" entity-name="InputPin" abstract="false" lazy="false" extends="Pin" table="`INPUTPIN`"> - <meta attribute="eclassName" inherit="false">InputPin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PIN_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.OutputPinImpl" entity-name="OutputPin" abstract="false" lazy="false" extends="Pin" table="`OUTPUTPIN`"> - <meta attribute="eclassName" inherit="false">OutputPin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PIN_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.VariableImpl" entity-name="Variable" abstract="false" lazy="false" extends="ConnectableElement" table="`VARIABLE`"> - <meta attribute="eclassName" inherit="false">Variable</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONNECTABLEELEMENT_E_ID`"/> - </key> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="VARIABLE_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="VARIABLE_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="activityScope" entity-name="Activity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VARIABLE_ACTIVITYSCOPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VARIABLE_ACTIVITYSCOPE_E_ID`"/> - </many-to-one> - <many-to-one name="scope" entity-name="StructuredActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VARIABLE_SCOPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VARIABLE_SCOPE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InterruptibleActivityRegionImpl" entity-name="InterruptibleActivityRegion" abstract="false" lazy="false" extends="ActivityGroup" table="`INTERRUPTIBLEACTIVITYREGION`"> - <meta attribute="eclassName" inherit="false">InterruptibleActivityRegion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTIVITYGROUP_E_ID`"/> - </key> - <bag name="node" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ACTIVITYNODE_INTERRUPTIBLEACTIVITYREGION`"> - <key update="true"> - <column name="`INTERRUPTIBLEACTIVITYREGION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityNode" unique="false" foreign-key="INTERRUPTIBLEACTIVITYREGION_NODE"> - <column name="`ACTIVITYNODE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="interruptingEdge" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`ACTIVITYEDGE_INTERRUPTS_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExceptionHandlerImpl" entity-name="ExceptionHandler" abstract="false" lazy="false" extends="Element" table="`EXCEPTIONHANDLER`"> - <meta attribute="eclassName" inherit="false">ExceptionHandler</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <many-to-one name="exceptionInput" entity-name="ObjectNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXCEPTIONHANDLER_EXCEPTIONINPUT" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`OBJECTNODE_EXCEPTIONINPUT_E_ID`"/> - </many-to-one> - <bag name="exceptionType" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EXCEPTIONHANDLER_EXCEPTIONTYPE"> - <column name="`EXCEPTIONHANDLER_EXCEPTIONTYPE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <many-to-one name="handlerBody" entity-name="ExecutableNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXCEPTIONHANDLER_HANDLERBODY" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`EXECUTABLENODE_HANDLERBODY_E_ID`"/> - </many-to-one> - <many-to-one name="protectedNode" entity-name="ExecutableNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXCEPTIONHANDLER_PROTECTEDNODE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXCEPTIONHANDLER_PROTECTEDNODE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InteractionFragmentImpl" entity-name="InteractionFragment" abstract="true" lazy="false" extends="NamedElement" table="`INTERACTIONFRAGMENT`"> - <meta attribute="eclassName" inherit="false">InteractionFragment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <bag name="covered" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`INTERACTIONFRAGMENT_LIFELINE`"> - <key update="true"> - <column name="`INTERACTIONFRAGMENT_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Lifeline" unique="false" foreign-key="INTERACTIONFRAGMENT_COVERED"> - <column name="`LIFELINE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="enclosingInteraction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONFRAGMENT_ENCLOSINGINTERACTION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONFRAGMENT_ENCLOSINGINTERACTION_E_ID`"/> - </many-to-one> - <many-to-one name="enclosingOperand" entity-name="InteractionOperand" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONFRAGMENT_ENCLOSINGOPERAND" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONFRAGMENT_ENCLOSINGOPERAND_E_ID`"/> - </many-to-one> - <bag name="generalOrdering" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTIONFRAGMENT_GENERALORDERING"> - <column name="`INTERACTIONFRAGMENT_GENERALORDERING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExecutionSpecificationImpl" entity-name="ExecutionSpecification" abstract="true" lazy="false" extends="InteractionFragment" table="`EXECUTIONSPECIFICATION`"> - <meta attribute="eclassName" inherit="false">ExecutionSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERACTIONFRAGMENT_E_ID`"/> - </key> - <many-to-one name="finish" entity-name="OccurrenceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXECUTIONSPECIFICATION_FINISH" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`OCCURRENCESPECIFICATION_FINISH_E_ID`"/> - </many-to-one> - <many-to-one name="start" entity-name="OccurrenceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXECUTIONSPECIFICATION_START" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`OCCURRENCESPECIFICATION_START_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActionExecutionSpecificationImpl" entity-name="ActionExecutionSpecification" abstract="false" lazy="false" extends="ExecutionSpecification" table="`ACTIONEXECUTIONSPECIFICATION`"> - <meta attribute="eclassName" inherit="false">ActionExecutionSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`EXECUTIONSPECIFICATION_E_ID`"/> - </key> - <many-to-one name="action" entity-name="Action" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIONEXECUTIONSPECIFICATION_ACTION" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`ACTION_ACTION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LifelineImpl" entity-name="Lifeline" abstract="false" lazy="false" extends="NamedElement" table="`LIFELINE`"> - <meta attribute="eclassName" inherit="false">Lifeline</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <many-to-one name="decomposedAs" entity-name="PartDecomposition" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LIFELINE_DECOMPOSEDAS" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARTDECOMPOSITION_DECOMPOSEDAS_E_ID`"/> - </many-to-one> - <many-to-one name="interaction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LIFELINE_INTERACTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`LIFELINE_INTERACTION_E_ID`"/> - </many-to-one> - <many-to-one name="represents" entity-name="ConnectableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LIFELINE_REPRESENTS" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONNECTABLEELEMENT_REPRESENTS_E_ID`"/> - </many-to-one> - <many-to-one name="selector" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="LIFELINE_SELECTOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_SELECTOR_E_ID`"/> - </many-to-one> - <bag name="coveredBy" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`INTERACTIONFRAGMENT_LIFELINE`"> - <key update="true"> - <column name="`LIFELINE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="InteractionFragment" unique="false" foreign-key="LIFELINE_COVEREDBY"> - <column name="`INTERACTIONFRAGMENT_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InteractionUseImpl" entity-name="InteractionUse" abstract="false" lazy="false" extends="InteractionFragment" table="`INTERACTIONUSE`"> - <meta attribute="eclassName" inherit="false">InteractionUse</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERACTIONFRAGMENT_E_ID`"/> - </key> - <bag name="actualGate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTIONUSE_ACTUALGATE"> - <column name="`INTERACTIONUSE_ACTUALGATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Gate"/> - </bag> - <list name="argument" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTIONUSE_ARGUMENT"> - <column name="`INTERACTIONUSE_ARGUMENT_E_ID`" unique="false"/> - </key> - <list-index column="`INTERACTIONUSE_ARGUMENT_IDX`"/> - <one-to-many entity-name="ValueSpecification"/> - </list> - <many-to-one name="refersTo" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONUSE_REFERSTO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`INTERACTION_REFERSTO_E_ID`"/> - </many-to-one> - <many-to-one name="returnValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="INTERACTIONUSE_RETURNVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_RETURNVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="returnValueRecipient" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONUSE_RETURNVALUERECIPIENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_RETURNVALUERECIPIENT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.PartDecompositionImpl" entity-name="PartDecomposition" abstract="false" lazy="false" extends="InteractionUse" table="`PARTDECOMPOSITION`"> - <meta attribute="eclassName" inherit="false">PartDecomposition</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERACTIONUSE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.MessageEndImpl" entity-name="MessageEnd" abstract="true" lazy="false" extends="NamedElement" table="`MESSAGEEND`"> - <meta attribute="eclassName" inherit="false">MessageEnd</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <many-to-one name="message" entity-name="Message" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGEEND_MESSAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGE_MESSAGE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.GateImpl" entity-name="Gate" abstract="false" lazy="false" extends="MessageEnd" table="`GATE`"> - <meta attribute="eclassName" inherit="false">Gate</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`MESSAGEEND_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.MessageImpl" entity-name="Message" abstract="false" lazy="false" extends="NamedElement" table="`MESSAGE`"> - <meta attribute="eclassName" inherit="false">Message</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <list name="argument" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="MESSAGE_ARGUMENT"> - <column name="`MESSAGE_ARGUMENT_E_ID`" unique="false"/> - </key> - <list-index column="`MESSAGE_ARGUMENT_IDX`"/> - <one-to-many entity-name="ValueSpecification"/> - </list> - <many-to-one name="connector" entity-name="Connector" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_CONNECTOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONNECTOR_CONNECTOR_E_ID`"/> - </many-to-one> - <many-to-one name="interaction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_INTERACTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGE_INTERACTION_E_ID`"/> - </many-to-one> - <property name="messageSort" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`MESSAGESORT`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.MessageSort</param> - <param name="eclassifier">MessageSort</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="receiveEvent" entity-name="MessageEnd" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_RECEIVEEVENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGEEND_RECEIVEEVENT_E_ID`"/> - </many-to-one> - <many-to-one name="sendEvent" entity-name="MessageEnd" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_SENDEVENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGEEND_SENDEVENT_E_ID`"/> - </many-to-one> - <many-to-one name="signature" entity-name="NamedElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_SIGNATURE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`NAMEDELEMENT_SIGNATURE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InteractionImpl" entity-name="Interaction" abstract="false" lazy="false" extends="Behavior" table="`INTERACTION`"> - <meta attribute="eclassName" inherit="false">Interaction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`BEHAVIOR_E_ID`"/> - </key> - <bag name="covered" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`INTERACTION_LIFELINE`"> - <key update="true"> - <column name="`INTERACTION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Lifeline" unique="false" foreign-key="INTERACTION_COVERED"> - <column name="`LIFELINE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="enclosingInteraction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTION_ENCLOSINGINTERACTION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTION_ENCLOSINGINTERACTION_E_ID`"/> - </many-to-one> - <many-to-one name="enclosingOperand" entity-name="InteractionOperand" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTION_ENCLOSINGOPERAND" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTION_ENCLOSINGOPERAND_E_ID`"/> - </many-to-one> - <bag name="generalOrdering" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTION_GENERALORDERING"> - <column name="`INTERACTION_GENERALORDERING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - <bag name="action" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTION_ACTION"> - <column name="`INTERACTION_ACTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Action"/> - </bag> - <bag name="formalGate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTION_FORMALGATE"> - <column name="`INTERACTION_FORMALGATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Gate"/> - </bag> - <list name="fragment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERACTIONFRAGMENT_ENCLOSINGINTERACTION_E_ID`" unique="false"/> - </key> - <list-index column="`INTERACTION_FRAGMENT_IDX`"/> - <one-to-many entity-name="InteractionFragment"/> - </list> - <bag name="lifeline" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`LIFELINE_INTERACTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Lifeline"/> - </bag> - <bag name="message" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`MESSAGE_INTERACTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Message"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InteractionOperandImpl" entity-name="InteractionOperand" abstract="false" lazy="false" extends="Namespace" table="`INTERACTIONOPERAND`"> - <meta attribute="eclassName" inherit="false">InteractionOperand</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMESPACE_E_ID`"/> - </key> - <bag name="covered" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`INTERACTIONOPERAND_LIFELINE`"> - <key update="true"> - <column name="`INTERACTIONOPERAND_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Lifeline" unique="false" foreign-key="INTERACTIONOPERAND_COVERED"> - <column name="`LIFELINE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="enclosingInteraction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONOPERAND_ENCLOSINGINTERACTION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONOPERAND_ENCLOSINGINTERACTION_E_ID`"/> - </many-to-one> - <many-to-one name="enclosingOperand" entity-name="InteractionOperand" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONOPERAND_ENCLOSINGOPERAND" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONOPERAND_ENCLOSINGOPERAND_E_ID`"/> - </many-to-one> - <bag name="generalOrdering" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTIONOPERAND_GENERALORDERING"> - <column name="`INTERACTIONOPERAND_GENERALORDERING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - <many-to-one name="guard" entity-name="InteractionConstraint" lazy="false" cascade="all" foreign-key="INTERACTIONOPERAND_GUARD" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONCONSTRAINT_GUARD_E_ID`"/> - </many-to-one> - <list name="fragment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERACTIONFRAGMENT_ENCLOSINGOPERAND_E_ID`" unique="false"/> - </key> - <list-index column="`INTERACTIONOPERAND_FRAGMENT_IDX`"/> - <one-to-many entity-name="InteractionFragment"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InteractionConstraintImpl" entity-name="InteractionConstraint" abstract="false" lazy="false" extends="Constraint" table="`INTERACTIONCONSTRAINT`"> - <meta attribute="eclassName" inherit="false">InteractionConstraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONSTRAINT_E_ID`"/> - </key> - <many-to-one name="maxint" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="INTERACTIONCONSTRAINT_MAXINT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_MAXINT_E_ID`"/> - </many-to-one> - <many-to-one name="minint" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="INTERACTIONCONSTRAINT_MININT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_MININT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.GeneralOrderingImpl" entity-name="GeneralOrdering" abstract="false" lazy="false" extends="NamedElement" table="`GENERALORDERING`"> - <meta attribute="eclassName" inherit="false">GeneralOrdering</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NAMEDELEMENT_E_ID`"/> - </key> - <many-to-one name="after" entity-name="OccurrenceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALORDERING_AFTER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`GENERALORDERING_AFTER_E_ID`"/> - </many-to-one> - <many-to-one name="before" entity-name="OccurrenceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALORDERING_BEFORE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`GENERALORDERING_BEFORE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.OccurrenceSpecificationImpl" entity-name="OccurrenceSpecification" abstract="false" lazy="false" extends="InteractionFragment" table="`OCCURRENCESPECIFICATION`"> - <meta attribute="eclassName" inherit="false">OccurrenceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERACTIONFRAGMENT_E_ID`"/> - </key> - <bag name="toAfter" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`GENERALORDERING_BEFORE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - <bag name="toBefore" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`GENERALORDERING_AFTER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActionInputPinImpl" entity-name="ActionInputPin" abstract="false" lazy="false" extends="InputPin" table="`ACTIONINPUTPIN`"> - <meta attribute="eclassName" inherit="false">ActionInputPin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INPUTPIN_E_ID`"/> - </key> - <many-to-one name="fromAction" entity-name="Action" lazy="false" cascade="all" foreign-key="ACTIONINPUTPIN_FROMACTION" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`ACTION_FROMACTION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ControlNodeImpl" entity-name="ControlNode" abstract="true" lazy="false" extends="ActivityNode" table="`CONTROLNODE`"> - <meta attribute="eclassName" inherit="false">ControlNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTIVITYNODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.FinalNodeImpl" entity-name="FinalNode" abstract="true" lazy="false" extends="ControlNode" table="`FINALNODE`"> - <meta attribute="eclassName" inherit="false">FinalNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONTROLNODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActivityFinalNodeImpl" entity-name="ActivityFinalNode" abstract="false" lazy="false" extends="FinalNode" table="`ACTIVITYFINALNODE`"> - <meta attribute="eclassName" inherit="false">ActivityFinalNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`FINALNODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActivityParameterNodeImpl" entity-name="ActivityParameterNode" abstract="false" lazy="false" extends="ObjectNode" table="`ACTIVITYPARAMETERNODE`"> - <meta attribute="eclassName" inherit="false">ActivityParameterNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`OBJECTNODE_E_ID`"/> - </key> - <many-to-one name="parameter" entity-name="Parameter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYPARAMETERNODE_PARAMETER" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PARAMETER_PARAMETER_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ActorImpl" entity-name="Actor" abstract="false" lazy="false" extends="BehavioredClassifier" table="`ACTOR`"> - <meta attribute="eclassName" inherit="false">Actor</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`BEHAVIOREDCLASSIFIER_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StructuralFeatureActionImpl" entity-name="StructuralFeatureAction" abstract="true" lazy="false" extends="Action" table="`STRUCTURALFEATUREACTION`"> - <meta attribute="eclassName" inherit="false">StructuralFeatureAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="STRUCTURALFEATUREACTION_OBJECT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <many-to-one name="structuralFeature" entity-name="StructuralFeature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STRUCTURALFEATUREACTION_STRUCTURALFEATURE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`STRUCTURALFEATURE_STRUCTURALFEATURE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.WriteStructuralFeatureActionImpl" entity-name="WriteStructuralFeatureAction" abstract="true" lazy="false" extends="StructuralFeatureAction" table="`WRITESTRUCTURALFEATUREACTION`"> - <meta attribute="eclassName" inherit="false">WriteStructuralFeatureAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTURALFEATUREACTION_E_ID`"/> - </key> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="WRITESTRUCTURALFEATUREACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - <many-to-one name="value" entity-name="InputPin" lazy="false" cascade="all" foreign-key="WRITESTRUCTURALFEATUREACTION_VALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_VALUE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.AddStructuralFeatureValueActionImpl" entity-name="AddStructuralFeatureValueAction" abstract="false" lazy="false" extends="WriteStructuralFeatureAction" table="`ADDSTRUCTURALFEATUREVALUEACTION`"> - <meta attribute="eclassName" inherit="false">AddStructuralFeatureValueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`WRITESTRUCTURALFEATUREACTION_E_ID`"/> - </key> - <many-to-one name="insertAt" entity-name="InputPin" lazy="false" cascade="all" foreign-key="ADDSTRUCTURALFEATUREVALUEACTION_INSERTAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_INSERTAT_E_ID`"/> - </many-to-one> - <property name="isReplaceAll" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISREPLACEALL`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.VariableActionImpl" entity-name="VariableAction" abstract="true" lazy="false" extends="Action" table="`VARIABLEACTION`"> - <meta attribute="eclassName" inherit="false">VariableAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="variable" entity-name="Variable" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VARIABLEACTION_VARIABLE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`VARIABLE_VARIABLE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.WriteVariableActionImpl" entity-name="WriteVariableAction" abstract="true" lazy="false" extends="VariableAction" table="`WRITEVARIABLEACTION`"> - <meta attribute="eclassName" inherit="false">WriteVariableAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VARIABLEACTION_E_ID`"/> - </key> - <many-to-one name="value" entity-name="InputPin" lazy="false" cascade="all" foreign-key="WRITEVARIABLEACTION_VALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_VALUE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.AddVariableValueActionImpl" entity-name="AddVariableValueAction" abstract="false" lazy="false" extends="WriteVariableAction" table="`ADDVARIABLEVALUEACTION`"> - <meta attribute="eclassName" inherit="false">AddVariableValueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`WRITEVARIABLEACTION_E_ID`"/> - </key> - <many-to-one name="insertAt" entity-name="InputPin" lazy="false" cascade="all" foreign-key="ADDVARIABLEVALUEACTION_INSERTAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_INSERTAT_E_ID`"/> - </many-to-one> - <property name="isReplaceAll" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISREPLACEALL`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.MessageEventImpl" entity-name="MessageEvent" abstract="true" lazy="false" extends="Event" table="`MESSAGEEVENT`"> - <meta attribute="eclassName" inherit="false">MessageEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`EVENT_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.AnyReceiveEventImpl" entity-name="AnyReceiveEvent" abstract="false" lazy="false" extends="MessageEvent" table="`ANYRECEIVEEVENT`"> - <meta attribute="eclassName" inherit="false">AnyReceiveEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`MESSAGEEVENT_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.AssociationClassImpl" entity-name="AssociationClass" abstract="false" lazy="false" extends="Class" table="`ASSOCIATIONCLASS`"> - <meta attribute="eclassName" inherit="false">AssociationClass</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASS_E_ID`"/> - </key> - <property name="isDerived" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDERIVED`"/> - </property> - <list name="memberEnd" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`PROPERTY_ASSOCIATION_E_ID`" unique="false"/> - </key> - <list-index column="`ASSOCIATIONCLASS_MEMBEREND_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedEnd" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_OWNINGASSOCIATION_E_ID`" unique="false"/> - </key> - <list-index column="`ASSOCIATIONCLASS_OWNEDEND_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <bag name="navigableOwnedEnd" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ASSOCIATIONCLASS_NAVIGABLEOWNEDEND"> - <column name="`ASSOCIATIONCLASS_NAVIGABLEOWNEDEND_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Property"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.BehaviorExecutionSpecificationImpl" entity-name="BehaviorExecutionSpecification" abstract="false" lazy="false" extends="ExecutionSpecification" table="`BEHAVIOREXECUTIONSPECIFICATION`"> - <meta attribute="eclassName" inherit="false">BehaviorExecutionSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`EXECUTIONSPECIFICATION_E_ID`"/> - </key> - <many-to-one name="behavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BEHAVIOREXECUTIONSPECIFICATION_BEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_BEHAVIOR_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InvocationActionImpl" entity-name="InvocationAction" abstract="true" lazy="false" extends="Action" table="`INVOCATIONACTION`"> - <meta attribute="eclassName" inherit="false">InvocationAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <list name="argument" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INVOCATIONACTION_ARGUMENT"> - <column name="`INVOCATIONACTION_ARGUMENT_E_ID`" unique="false"/> - </key> - <list-index column="`INVOCATIONACTION_ARGUMENT_IDX`"/> - <one-to-many entity-name="InputPin"/> - </list> - <many-to-one name="onPort" entity-name="Port" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INVOCATIONACTION_ONPORT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PORT_ONPORT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.BroadcastSignalActionImpl" entity-name="BroadcastSignalAction" abstract="false" lazy="false" extends="InvocationAction" table="`BROADCASTSIGNALACTION`"> - <meta attribute="eclassName" inherit="false">BroadcastSignalAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INVOCATIONACTION_E_ID`"/> - </key> - <many-to-one name="signal" entity-name="Signal" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BROADCASTSIGNALACTION_SIGNAL" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`SIGNAL_SIGNAL_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CallActionImpl" entity-name="CallAction" abstract="true" lazy="false" extends="InvocationAction" table="`CALLACTION`"> - <meta attribute="eclassName" inherit="false">CallAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INVOCATIONACTION_E_ID`"/> - </key> - <property name="isSynchronous" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISSYNCHRONOUS`"/> - </property> - <list name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CALLACTION_RESULT"> - <column name="`CALLACTION_RESULT_E_ID`" unique="false"/> - </key> - <list-index column="`CALLACTION_RESULT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CallBehaviorActionImpl" entity-name="CallBehaviorAction" abstract="false" lazy="false" extends="CallAction" table="`CALLBEHAVIORACTION`"> - <meta attribute="eclassName" inherit="false">CallBehaviorAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CALLACTION_E_ID`"/> - </key> - <many-to-one name="behavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CALLBEHAVIORACTION_BEHAVIOR" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`BEHAVIOR_BEHAVIOR_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CallEventImpl" entity-name="CallEvent" abstract="false" lazy="false" extends="MessageEvent" table="`CALLEVENT`"> - <meta attribute="eclassName" inherit="false">CallEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`MESSAGEEVENT_E_ID`"/> - </key> - <many-to-one name="operation" entity-name="Operation" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CALLEVENT_OPERATION" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`OPERATION_OPERATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CallOperationActionImpl" entity-name="CallOperationAction" abstract="false" lazy="false" extends="CallAction" table="`CALLOPERATIONACTION`"> - <meta attribute="eclassName" inherit="false">CallOperationAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CALLACTION_E_ID`"/> - </key> - <many-to-one name="operation" entity-name="Operation" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CALLOPERATIONACTION_OPERATION" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`OPERATION_OPERATION_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="InputPin" lazy="false" cascade="all" foreign-key="CALLOPERATIONACTION_TARGET" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_TARGET_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CentralBufferNodeImpl" entity-name="CentralBufferNode" abstract="false" lazy="false" extends="ObjectNode" table="`CENTRALBUFFERNODE`"> - <meta attribute="eclassName" inherit="false">CentralBufferNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`OBJECTNODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ChangeEventImpl" entity-name="ChangeEvent" abstract="false" lazy="false" extends="Event" table="`CHANGEEVENT`"> - <meta attribute="eclassName" inherit="false">ChangeEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`EVENT_E_ID`"/> - </key> - <many-to-one name="changeExpression" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="CHANGEEVENT_CHANGEEXPRESSION" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_CHANGEEXPRESSION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ClauseImpl" entity-name="Clause" abstract="false" lazy="false" extends="Element" table="`CLAUSE`"> - <meta attribute="eclassName" inherit="false">Clause</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <bag name="body" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLAUSE_BODY"> - <column name="`CLAUSE_BODY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - <list name="bodyOutput" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLAUSE_BODYOUTPUT"> - <column name="`CLAUSE_BODYOUTPUT_E_ID`" unique="false"/> - </key> - <list-index column="`CLAUSE_BODYOUTPUT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - <many-to-one name="decider" entity-name="OutputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLAUSE_DECIDER" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_DECIDER_E_ID`"/> - </many-to-one> - <bag name="predecessorClause" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`CLAUSE_CLAUSE`"> - <key update="true"> - <column name="`CLAUSE_PREDECESSORCLAUSE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Clause" unique="false" foreign-key="CLAUSE_PREDECESSORCLAUSE"> - <column name="`CLAUSE_SUCCESSORCLAUSE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="successorClause" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`CLAUSE_CLAUSE`"> - <key update="true"> - <column name="`CLAUSE_SUCCESSORCLAUSE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Clause" unique="false" foreign-key="CLAUSE_SUCCESSORCLAUSE"> - <column name="`CLAUSE_PREDECESSORCLAUSE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="test" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLAUSE_TEST"> - <column name="`CLAUSE_TEST_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ClearAssociationActionImpl" entity-name="ClearAssociationAction" abstract="false" lazy="false" extends="Action" table="`CLEARASSOCIATIONACTION`"> - <meta attribute="eclassName" inherit="false">ClearAssociationAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="association" entity-name="Association" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLEARASSOCIATIONACTION_ASSOCIATION" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`ASSOCIATION_ASSOCIATION_E_ID`"/> - </many-to-one> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="CLEARASSOCIATIONACTION_OBJECT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ClearStructuralFeatureActionImpl" entity-name="ClearStructuralFeatureAction" abstract="false" lazy="false" extends="StructuralFeatureAction" table="`CLEARSTRUCTURALFEATUREACTION`"> - <meta attribute="eclassName" inherit="false">ClearStructuralFeatureAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTURALFEATUREACTION_E_ID`"/> - </key> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="CLEARSTRUCTURALFEATUREACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ClearVariableActionImpl" entity-name="ClearVariableAction" abstract="false" lazy="false" extends="VariableAction" table="`CLEARVARIABLEACTION`"> - <meta attribute="eclassName" inherit="false">ClearVariableAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VARIABLEACTION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CombinedFragmentImpl" entity-name="CombinedFragment" abstract="false" lazy="false" extends="InteractionFragment" table="`COMBINEDFRAGMENT`"> - <meta attribute="eclassName" inherit="false">CombinedFragment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERACTIONFRAGMENT_E_ID`"/> - </key> - <bag name="cfragmentGate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COMBINEDFRAGMENT_CFRAGMENTGATE"> - <column name="`COMBINEDFRAGMENT_CFRAGMENTGATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Gate"/> - </bag> - <property name="interactionOperator" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`INTERACTIONOPERATOR`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.InteractionOperatorKind</param> - <param name="eclassifier">InteractionOperatorKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <list name="operand" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COMBINEDFRAGMENT_OPERAND"> - <column name="`COMBINEDFRAGMENT_OPERAND_E_ID`" unique="false"/> - </key> - <list-index column="`COMBINEDFRAGMENT_OPERAND_IDX`"/> - <one-to-many entity-name="InteractionOperand"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CommunicationPathImpl" entity-name="CommunicationPath" abstract="false" lazy="false" extends="Association" table="`COMMUNICATIONPATH`"> - <meta attribute="eclassName" inherit="false">CommunicationPath</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ASSOCIATION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ComponentImpl" entity-name="Component" abstract="false" lazy="false" extends="Class" table="`COMPONENT`"> - <meta attribute="eclassName" inherit="false">Component</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASS_E_ID`"/> - </key> - <property name="isIndirectlyInstantiated" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISINDIRECTLYINSTANTIATED`"/> - </property> - <bag name="packagedElement" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COMPONENT_PACKAGEDELEMENT"> - <column name="`COMPONENT_PACKAGEDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageableElement"/> - </bag> - <bag name="realization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`COMPONENTREALIZATION_ABSTRACTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ComponentRealization"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ComponentRealizationImpl" entity-name="ComponentRealization" abstract="false" lazy="false" extends="Realization" table="`COMPONENTREALIZATION`"> - <meta attribute="eclassName" inherit="false">ComponentRealization</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`REALIZATION_E_ID`"/> - </key> - <bag name="realizingClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="COMPONENTREALIZATION_REALIZINGCLASSIFIER"> - <column name="`COMPONENTREALIZATION_REALIZINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <many-to-one name="abstraction" entity-name="Component" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="COMPONENTREALIZATION_ABSTRACTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`COMPONENTREALIZATION_ABSTRACTION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ConditionalNodeImpl" entity-name="ConditionalNode" abstract="false" lazy="false" extends="StructuredActivityNode" table="`CONDITIONALNODE`"> - <meta attribute="eclassName" inherit="false">ConditionalNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTUREDACTIVITYNODE_E_ID`"/> - </key> - <bag name="clause" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CONDITIONALNODE_CLAUSE"> - <column name="`CONDITIONALNODE_CLAUSE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Clause"/> - </bag> - <property name="isAssured" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISASSURED`"/> - </property> - <property name="isDeterminate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDETERMINATE`"/> - </property> - <list name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CONDITIONALNODE_RESULT"> - <column name="`CONDITIONALNODE_RESULT_E_ID`" unique="false"/> - </key> - <list-index column="`CONDITIONALNODE_RESULT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ConsiderIgnoreFragmentImpl" entity-name="ConsiderIgnoreFragment" abstract="false" lazy="false" extends="CombinedFragment" table="`CONSIDERIGNOREFRAGMENT`"> - <meta attribute="eclassName" inherit="false">ConsiderIgnoreFragment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`COMBINEDFRAGMENT_E_ID`"/> - </key> - <bag name="message" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONSIDERIGNOREFRAGMENT_MESSAGE"> - <column name="`CONSIDERIGNOREFRAGMENT_MESSAGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ContinuationImpl" entity-name="Continuation" abstract="false" lazy="false" extends="InteractionFragment" table="`CONTINUATION`"> - <meta attribute="eclassName" inherit="false">Continuation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERACTIONFRAGMENT_E_ID`"/> - </key> - <property name="setting" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`SETTING`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ControlFlowImpl" entity-name="ControlFlow" abstract="false" lazy="false" extends="ActivityEdge" table="`CONTROLFLOW`"> - <meta attribute="eclassName" inherit="false">ControlFlow</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTIVITYEDGE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LinkActionImpl" entity-name="LinkAction" abstract="true" lazy="false" extends="Action" table="`LINKACTION`"> - <meta attribute="eclassName" inherit="false">LinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <bag name="endData" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LINKACTION_ENDDATA"> - <column name="`LINKACTION_ENDDATA_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="LinkEndData"/> - </bag> - <bag name="inputValue" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LINKACTION_INPUTVALUE"> - <column name="`LINKACTION_INPUTVALUE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InputPin"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.WriteLinkActionImpl" entity-name="WriteLinkAction" abstract="true" lazy="false" extends="LinkAction" table="`WRITELINKACTION`"> - <meta attribute="eclassName" inherit="false">WriteLinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LINKACTION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CreateLinkActionImpl" entity-name="CreateLinkAction" abstract="false" lazy="false" extends="WriteLinkAction" table="`CREATELINKACTION`"> - <meta attribute="eclassName" inherit="false">CreateLinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`WRITELINKACTION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LinkEndDataImpl" entity-name="LinkEndData" abstract="false" lazy="false" extends="Element" table="`LINKENDDATA`"> - <meta attribute="eclassName" inherit="false">LinkEndData</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <many-to-one name="end" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LINKENDDATA_END" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PROPERTY_END_E_ID`"/> - </many-to-one> - <bag name="qualifier" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LINKENDDATA_QUALIFIER"> - <column name="`LINKENDDATA_QUALIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="QualifierValue"/> - </bag> - <many-to-one name="value" entity-name="InputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LINKENDDATA_VALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_VALUE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.QualifierValueImpl" entity-name="QualifierValue" abstract="false" lazy="false" extends="Element" table="`QUALIFIERVALUE`"> - <meta attribute="eclassName" inherit="false">QualifierValue</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ELEMENT_E_ID`"/> - </key> - <many-to-one name="qualifier" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="QUALIFIERVALUE_QUALIFIER" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PROPERTY_QUALIFIER_E_ID`"/> - </many-to-one> - <many-to-one name="value" entity-name="InputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="QUALIFIERVALUE_VALUE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`INPUTPIN_VALUE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LinkEndCreationDataImpl" entity-name="LinkEndCreationData" abstract="false" lazy="false" extends="LinkEndData" table="`LINKENDCREATIONDATA`"> - <meta attribute="eclassName" inherit="false">LinkEndCreationData</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LINKENDDATA_E_ID`"/> - </key> - <many-to-one name="insertAt" entity-name="InputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LINKENDCREATIONDATA_INSERTAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_INSERTAT_E_ID`"/> - </many-to-one> - <property name="isReplaceAll" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISREPLACEALL`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CreateLinkObjectActionImpl" entity-name="CreateLinkObjectAction" abstract="false" lazy="false" extends="CreateLinkAction" table="`CREATELINKOBJECTACTION`"> - <meta attribute="eclassName" inherit="false">CreateLinkObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CREATELINKACTION_E_ID`"/> - </key> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="CREATELINKOBJECTACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.CreateObjectActionImpl" entity-name="CreateObjectAction" abstract="false" lazy="false" extends="Action" table="`CREATEOBJECTACTION`"> - <meta attribute="eclassName" inherit="false">CreateObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="classifier" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CREATEOBJECTACTION_CLASSIFIER" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`CLASSIFIER_CLASSIFIER_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="CREATEOBJECTACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DataStoreNodeImpl" entity-name="DataStoreNode" abstract="false" lazy="false" extends="CentralBufferNode" table="`DATASTORENODE`"> - <meta attribute="eclassName" inherit="false">DataStoreNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CENTRALBUFFERNODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DecisionNodeImpl" entity-name="DecisionNode" abstract="false" lazy="false" extends="ControlNode" table="`DECISIONNODE`"> - <meta attribute="eclassName" inherit="false">DecisionNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONTROLNODE_E_ID`"/> - </key> - <many-to-one name="decisionInput" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DECISIONNODE_DECISIONINPUT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_DECISIONINPUT_E_ID`"/> - </many-to-one> - <many-to-one name="decisionInputFlow" entity-name="ObjectFlow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DECISIONNODE_DECISIONINPUTFLOW" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OBJECTFLOW_DECISIONINPUTFLOW_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ObjectFlowImpl" entity-name="ObjectFlow" abstract="false" lazy="false" extends="ActivityEdge" table="`OBJECTFLOW`"> - <meta attribute="eclassName" inherit="false">ObjectFlow</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTIVITYEDGE_E_ID`"/> - </key> - <property name="isMulticast" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISMULTICAST`"/> - </property> - <property name="isMultireceive" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISMULTIRECEIVE`"/> - </property> - <many-to-one name="selection" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OBJECTFLOW_SELECTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_SELECTION_E_ID`"/> - </many-to-one> - <many-to-one name="transformation" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OBJECTFLOW_TRANSFORMATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_TRANSFORMATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DestroyLinkActionImpl" entity-name="DestroyLinkAction" abstract="false" lazy="false" extends="WriteLinkAction" table="`DESTROYLINKACTION`"> - <meta attribute="eclassName" inherit="false">DestroyLinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`WRITELINKACTION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LinkEndDestructionDataImpl" entity-name="LinkEndDestructionData" abstract="false" lazy="false" extends="LinkEndData" table="`LINKENDDESTRUCTIONDATA`"> - <meta attribute="eclassName" inherit="false">LinkEndDestructionData</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LINKENDDATA_E_ID`"/> - </key> - <many-to-one name="destroyAt" entity-name="InputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LINKENDDESTRUCTIONDATA_DESTROYAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_DESTROYAT_E_ID`"/> - </many-to-one> - <property name="isDestroyDuplicates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDESTROYDUPLICATES`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DestroyObjectActionImpl" entity-name="DestroyObjectAction" abstract="false" lazy="false" extends="Action" table="`DESTROYOBJECTACTION`"> - <meta attribute="eclassName" inherit="false">DestroyObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <property name="isDestroyLinks" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDESTROYLINKS`"/> - </property> - <property name="isDestroyOwnedObjects" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDESTROYOWNEDOBJECTS`"/> - </property> - <many-to-one name="target" entity-name="InputPin" lazy="false" cascade="all" foreign-key="DESTROYOBJECTACTION_TARGET" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_TARGET_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.MessageOccurrenceSpecificationImpl" entity-name="MessageOccurrenceSpecification" abstract="false" lazy="false" extends="OccurrenceSpecification" table="`MESSAGEOCCURRENCESPECIFICATION`"> - <meta attribute="eclassName" inherit="false">MessageOccurrenceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`OCCURRENCESPECIFICATION_E_ID`"/> - </key> - <many-to-one name="message" entity-name="Message" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGEOCCURRENCESPECIFICATION_MESSAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGE_MESSAGE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DestructionOccurrenceSpecificationImpl" entity-name="DestructionOccurrenceSpecification" abstract="false" lazy="false" extends="MessageOccurrenceSpecification" table="`DESTRUCTIONOCCURRENCESPECIFICATION`"> - <meta attribute="eclassName" inherit="false">DestructionOccurrenceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`MESSAGEOCCURRENCESPECIFICATION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.NodeImpl" entity-name="Node" abstract="false" lazy="false" extends="Class" table="`NODE`"> - <meta attribute="eclassName" inherit="false">Node</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASS_E_ID`"/> - </key> - <bag name="deployment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DEPLOYMENT_LOCATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Deployment"/> - </bag> - <bag name="nestedNode" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="NODE_NESTEDNODE"> - <column name="`NODE_NESTEDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Node"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DeviceImpl" entity-name="Device" abstract="false" lazy="false" extends="Node" table="`DEVICE`"> - <meta attribute="eclassName" inherit="false">Device</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DurationImpl" entity-name="Duration" abstract="false" lazy="false" extends="ValueSpecification" table="`DURATION`"> - <meta attribute="eclassName" inherit="false">Duration</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VALUESPECIFICATION_E_ID`"/> - </key> - <many-to-one name="expr" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="DURATION_EXPR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_EXPR_E_ID`"/> - </many-to-one> - <bag name="observation" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="DURATION_OBSERVATION"> - <column name="`DURATION_OBSERVATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Observation"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ObservationImpl" entity-name="Observation" abstract="true" lazy="false" extends="PackageableElement" table="`OBSERVATION`"> - <meta attribute="eclassName" inherit="false">Observation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGEABLEELEMENT_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.IntervalConstraintImpl" entity-name="IntervalConstraint" abstract="false" lazy="false" extends="Constraint" table="`INTERVALCONSTRAINT`"> - <meta attribute="eclassName" inherit="false">IntervalConstraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONSTRAINT_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DurationConstraintImpl" entity-name="DurationConstraint" abstract="false" lazy="false" extends="IntervalConstraint" table="`DURATIONCONSTRAINT`"> - <meta attribute="eclassName" inherit="false">DurationConstraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERVALCONSTRAINT_E_ID`"/> - </key> - <bag name="firstEvent" table="`DURATIONCONSTRAINT_FIRSTEVENT`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DURATIONCONSTRAINT_FIRSTEVENT_E_ID`" unique="false"/> - </key> - <element type="boolean"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.IntervalImpl" entity-name="Interval" abstract="false" lazy="false" extends="ValueSpecification" table="`INTERVAL`"> - <meta attribute="eclassName" inherit="false">Interval</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VALUESPECIFICATION_E_ID`"/> - </key> - <many-to-one name="max" entity-name="ValueSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERVAL_MAX" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_MAX_E_ID`"/> - </many-to-one> - <many-to-one name="min" entity-name="ValueSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERVAL_MIN" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_MIN_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DurationIntervalImpl" entity-name="DurationInterval" abstract="false" lazy="false" extends="Interval" table="`DURATIONINTERVAL`"> - <meta attribute="eclassName" inherit="false">DurationInterval</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERVAL_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.DurationObservationImpl" entity-name="DurationObservation" abstract="false" lazy="false" extends="Observation" table="`DURATIONOBSERVATION`"> - <meta attribute="eclassName" inherit="false">DurationObservation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`OBSERVATION_E_ID`"/> - </key> - <bag name="event" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="DURATIONOBSERVATION_EVENT"> - <column name="`DURATIONOBSERVATION_EVENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - <bag name="firstEvent" table="`DURATIONOBSERVATION_FIRSTEVENT`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DURATIONOBSERVATION_FIRSTEVENT_E_ID`" unique="false"/> - </key> - <element type="boolean"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExecutionEnvironmentImpl" entity-name="ExecutionEnvironment" abstract="false" lazy="false" extends="Node" table="`EXECUTIONENVIRONMENT`"> - <meta attribute="eclassName" inherit="false">ExecutionEnvironment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`NODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExecutionOccurrenceSpecificationImpl" entity-name="ExecutionOccurrenceSpecification" abstract="false" lazy="false" extends="OccurrenceSpecification" table="`EXECUTIONOCCURRENCESPECIFICATION`"> - <meta attribute="eclassName" inherit="false">ExecutionOccurrenceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`OCCURRENCESPECIFICATION_E_ID`"/> - </key> - <many-to-one name="execution" entity-name="ExecutionSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXECUTIONOCCURRENCESPECIFICATION_EXECUTION" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`EXECUTIONSPECIFICATION_EXECUTION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExpansionNodeImpl" entity-name="ExpansionNode" abstract="false" lazy="false" extends="ObjectNode" table="`EXPANSIONNODE`"> - <meta attribute="eclassName" inherit="false">ExpansionNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`OBJECTNODE_E_ID`"/> - </key> - <many-to-one name="regionAsInput" entity-name="ExpansionRegion" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXPANSIONNODE_REGIONASINPUT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXPANSIONNODE_REGIONASINPUT_E_ID`"/> - </many-to-one> - <many-to-one name="regionAsOutput" entity-name="ExpansionRegion" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXPANSIONNODE_REGIONASOUTPUT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXPANSIONNODE_REGIONASOUTPUT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ExpansionRegionImpl" entity-name="ExpansionRegion" abstract="false" lazy="false" extends="StructuredActivityNode" table="`EXPANSIONREGION`"> - <meta attribute="eclassName" inherit="false">ExpansionRegion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTUREDACTIVITYNODE_E_ID`"/> - </key> - <property name="mode" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`MODE`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.ExpansionKind</param> - <param name="eclassifier">ExpansionKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <bag name="outputElement" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`EXPANSIONNODE_REGIONASOUTPUT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExpansionNode"/> - </bag> - <bag name="inputElement" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`EXPANSIONNODE_REGIONASINPUT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExpansionNode"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.FinalStateImpl" entity-name="FinalState" abstract="false" lazy="false" extends="State" table="`FINALSTATE`"> - <meta attribute="eclassName" inherit="false">FinalState</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STATE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.FlowFinalNodeImpl" entity-name="FlowFinalNode" abstract="false" lazy="false" extends="FinalNode" table="`FLOWFINALNODE`"> - <meta attribute="eclassName" inherit="false">FlowFinalNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`FINALNODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ForkNodeImpl" entity-name="ForkNode" abstract="false" lazy="false" extends="ControlNode" table="`FORKNODE`"> - <meta attribute="eclassName" inherit="false">ForkNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONTROLNODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.OpaqueBehaviorImpl" entity-name="OpaqueBehavior" abstract="false" lazy="false" extends="Behavior" table="`OPAQUEBEHAVIOR`"> - <meta attribute="eclassName" inherit="false">OpaqueBehavior</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`BEHAVIOR_E_ID`"/> - </key> - <list name="body" table="`OPAQUEBEHAVIOR_BODY`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEBEHAVIOR_BODY_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEBEHAVIOR_BODY_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="language" table="`OPAQUEBEHAVIOR_LANGUAGE`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEBEHAVIOR_LANGUAGE_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEBEHAVIOR_LANGUAGE_IDX`"/> - <element type="java.lang.String"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.FunctionBehaviorImpl" entity-name="FunctionBehavior" abstract="false" lazy="false" extends="OpaqueBehavior" table="`FUNCTIONBEHAVIOR`"> - <meta attribute="eclassName" inherit="false">FunctionBehavior</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`OPAQUEBEHAVIOR_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InformationFlowImpl" entity-name="InformationFlow" abstract="false" lazy="false" extends="PackageableElement" table="`INFORMATIONFLOW`"> - <meta attribute="eclassName" inherit="false">InformationFlow</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`PACKAGEABLEELEMENT_E_ID`"/> - </key> - <bag name="conveyed" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_CONVEYED"> - <column name="`INFORMATIONFLOW_CONVEYED_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <bag name="informationSource" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_INFORMATIONSOURCE"> - <column name="`INFORMATIONFLOW_INFORMATIONSOURCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - <bag name="informationTarget" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_INFORMATIONTARGET"> - <column name="`INFORMATIONFLOW_INFORMATIONTARGET_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - <bag name="realization" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_REALIZATION"> - <column name="`INFORMATIONFLOW_REALIZATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Relationship"/> - </bag> - <bag name="realizingActivityEdge" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_REALIZINGACTIVITYEDGE"> - <column name="`INFORMATIONFLOW_REALIZINGACTIVITYEDGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <bag name="realizingConnector" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_REALIZINGCONNECTOR"> - <column name="`INFORMATIONFLOW_REALIZINGCONNECTOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Connector"/> - </bag> - <bag name="realizingMessage" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_REALIZINGMESSAGE"> - <column name="`INFORMATIONFLOW_REALIZINGMESSAGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Message"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InformationItemImpl" entity-name="InformationItem" abstract="false" lazy="false" extends="Classifier" table="`INFORMATIONITEM`"> - <meta attribute="eclassName" inherit="false">InformationItem</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CLASSIFIER_E_ID`"/> - </key> - <bag name="represented" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONITEM_REPRESENTED"> - <column name="`INFORMATIONITEM_REPRESENTED_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InitialNodeImpl" entity-name="InitialNode" abstract="false" lazy="false" extends="ControlNode" table="`INITIALNODE`"> - <meta attribute="eclassName" inherit="false">InitialNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONTROLNODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.InstanceValueImpl" entity-name="InstanceValue" abstract="false" lazy="false" extends="ValueSpecification" table="`INSTANCEVALUE`"> - <meta attribute="eclassName" inherit="false">InstanceValue</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VALUESPECIFICATION_E_ID`"/> - </key> - <many-to-one name="instance" entity-name="InstanceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INSTANCEVALUE_INSTANCE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`INSTANCESPECIFICATION_INSTANCE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.JoinNodeImpl" entity-name="JoinNode" abstract="false" lazy="false" extends="ControlNode" table="`JOINNODE`"> - <meta attribute="eclassName" inherit="false">JoinNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONTROLNODE_E_ID`"/> - </key> - <property name="isCombineDuplicate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISCOMBINEDUPLICATE`"/> - </property> - <many-to-one name="joinSpec" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="JOINNODE_JOINSPEC" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_JOINSPEC_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LiteralSpecificationImpl" entity-name="LiteralSpecification" abstract="true" lazy="false" extends="ValueSpecification" table="`LITERALSPECIFICATION`"> - <meta attribute="eclassName" inherit="false">LiteralSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VALUESPECIFICATION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LiteralBooleanImpl" entity-name="LiteralBoolean" abstract="false" lazy="false" extends="LiteralSpecification" table="`LITERALBOOLEAN`"> - <meta attribute="eclassName" inherit="false">LiteralBoolean</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LITERALSPECIFICATION_E_ID`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`VALUE`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LiteralIntegerImpl" entity-name="LiteralInteger" abstract="false" lazy="false" extends="LiteralSpecification" table="`LITERALINTEGER`"> - <meta attribute="eclassName" inherit="false">LiteralInteger</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LITERALSPECIFICATION_E_ID`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`VALUE`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LiteralNullImpl" entity-name="LiteralNull" abstract="false" lazy="false" extends="LiteralSpecification" table="`LITERALNULL`"> - <meta attribute="eclassName" inherit="false">LiteralNull</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LITERALSPECIFICATION_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LiteralRealImpl" entity-name="LiteralReal" abstract="false" lazy="false" extends="LiteralSpecification" table="`LITERALREAL`"> - <meta attribute="eclassName" inherit="false">LiteralReal</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LITERALSPECIFICATION_E_ID`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double"> - <column not-null="true" unique="false" name="`VALUE`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LiteralStringImpl" entity-name="LiteralString" abstract="false" lazy="false" extends="LiteralSpecification" table="`LITERALSTRING`"> - <meta attribute="eclassName" inherit="false">LiteralString</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LITERALSPECIFICATION_E_ID`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LiteralUnlimitedNaturalImpl" entity-name="LiteralUnlimitedNatural" abstract="false" lazy="false" extends="LiteralSpecification" table="`LITERALUNLIMITEDNATURAL`"> - <meta attribute="eclassName" inherit="false">LiteralUnlimitedNatural</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LITERALSPECIFICATION_E_ID`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`VALUE`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.LoopNodeImpl" entity-name="LoopNode" abstract="false" lazy="false" extends="StructuredActivityNode" table="`LOOPNODE`"> - <meta attribute="eclassName" inherit="false">LoopNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTUREDACTIVITYNODE_E_ID`"/> - </key> - <list name="bodyOutput" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_BODYOUTPUT"> - <column name="`LOOPNODE_BODYOUTPUT_E_ID`" unique="false"/> - </key> - <list-index column="`LOOPNODE_BODYOUTPUT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - <bag name="bodyPart" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_BODYPART"> - <column name="`LOOPNODE_BODYPART_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - <many-to-one name="decider" entity-name="OutputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LOOPNODE_DECIDER" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_DECIDER_E_ID`"/> - </many-to-one> - <property name="isTestedFirst" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISTESTEDFIRST`"/> - </property> - <list name="loopVariable" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_LOOPVARIABLE"> - <column name="`LOOPNODE_LOOPVARIABLE_E_ID`" unique="false"/> - </key> - <list-index column="`LOOPNODE_LOOPVARIABLE_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - <list name="loopVariableInput" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LOOPNODE_LOOPVARIABLEINPUT"> - <column name="`LOOPNODE_LOOPVARIABLEINPUT_E_ID`" unique="false"/> - </key> - <list-index column="`LOOPNODE_LOOPVARIABLEINPUT_IDX`"/> - <one-to-many entity-name="InputPin"/> - </list> - <list name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LOOPNODE_RESULT"> - <column name="`LOOPNODE_RESULT_E_ID`" unique="false"/> - </key> - <list-index column="`LOOPNODE_RESULT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - <bag name="setupPart" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_SETUPPART"> - <column name="`LOOPNODE_SETUPPART_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - <bag name="test" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_TEST"> - <column name="`LOOPNODE_TEST_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.MergeNodeImpl" entity-name="MergeNode" abstract="false" lazy="false" extends="ControlNode" table="`MERGENODE`"> - <meta attribute="eclassName" inherit="false">MergeNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CONTROLNODE_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.OpaqueActionImpl" entity-name="OpaqueAction" abstract="false" lazy="false" extends="Action" table="`OPAQUEACTION`"> - <meta attribute="eclassName" inherit="false">OpaqueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <list name="body" table="`OPAQUEACTION_BODY`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEACTION_BODY_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEACTION_BODY_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="inputValue" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="OPAQUEACTION_INPUTVALUE"> - <column name="`OPAQUEACTION_INPUTVALUE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InputPin"/> - </bag> - <list name="language" table="`OPAQUEACTION_LANGUAGE`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEACTION_LANGUAGE_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEACTION_LANGUAGE_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="outputValue" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="OPAQUEACTION_OUTPUTVALUE"> - <column name="`OPAQUEACTION_OUTPUTVALUE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="OutputPin"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ProtocolTransitionImpl" entity-name="ProtocolTransition" abstract="false" lazy="false" extends="Transition" table="`PROTOCOLTRANSITION`"> - <meta attribute="eclassName" inherit="false">ProtocolTransition</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`TRANSITION_E_ID`"/> - </key> - <many-to-one name="postCondition" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROTOCOLTRANSITION_POSTCONDITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_POSTCONDITION_E_ID`"/> - </many-to-one> - <many-to-one name="preCondition" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROTOCOLTRANSITION_PRECONDITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_PRECONDITION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.RaiseExceptionActionImpl" entity-name="RaiseExceptionAction" abstract="false" lazy="false" extends="Action" table="`RAISEEXCEPTIONACTION`"> - <meta attribute="eclassName" inherit="false">RaiseExceptionAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="exception" entity-name="InputPin" lazy="false" cascade="all" foreign-key="RAISEEXCEPTIONACTION_EXCEPTION" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_EXCEPTION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReadExtentActionImpl" entity-name="ReadExtentAction" abstract="false" lazy="false" extends="Action" table="`READEXTENTACTION`"> - <meta attribute="eclassName" inherit="false">ReadExtentAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="classifier" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="READEXTENTACTION_CLASSIFIER" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`CLASSIFIER_CLASSIFIER_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READEXTENTACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReadIsClassifiedObjectActionImpl" entity-name="ReadIsClassifiedObjectAction" abstract="false" lazy="false" extends="Action" table="`READISCLASSIFIEDOBJECTACTION`"> - <meta attribute="eclassName" inherit="false">ReadIsClassifiedObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="classifier" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="READISCLASSIFIEDOBJECTACTION_CLASSIFIER" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`CLASSIFIER_CLASSIFIER_E_ID`"/> - </many-to-one> - <property name="isDirect" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISDIRECT`"/> - </property> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="READISCLASSIFIEDOBJECTACTION_OBJECT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READISCLASSIFIEDOBJECTACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReadLinkActionImpl" entity-name="ReadLinkAction" abstract="false" lazy="false" extends="LinkAction" table="`READLINKACTION`"> - <meta attribute="eclassName" inherit="false">ReadLinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`LINKACTION_E_ID`"/> - </key> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READLINKACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReadLinkObjectEndActionImpl" entity-name="ReadLinkObjectEndAction" abstract="false" lazy="false" extends="Action" table="`READLINKOBJECTENDACTION`"> - <meta attribute="eclassName" inherit="false">ReadLinkObjectEndAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="end" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="READLINKOBJECTENDACTION_END" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PROPERTY_END_E_ID`"/> - </many-to-one> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="READLINKOBJECTENDACTION_OBJECT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READLINKOBJECTENDACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReadLinkObjectEndQualifierActionImpl" entity-name="ReadLinkObjectEndQualifierAction" abstract="false" lazy="false" extends="Action" table="`READLINKOBJECTENDQUALIFIERACTION`"> - <meta attribute="eclassName" inherit="false">ReadLinkObjectEndQualifierAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="READLINKOBJECTENDQUALIFIERACTION_OBJECT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <many-to-one name="qualifier" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="READLINKOBJECTENDQUALIFIERACTION_QUALIFIER" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`PROPERTY_QUALIFIER_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READLINKOBJECTENDQUALIFIERACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReadSelfActionImpl" entity-name="ReadSelfAction" abstract="false" lazy="false" extends="Action" table="`READSELFACTION`"> - <meta attribute="eclassName" inherit="false">ReadSelfAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READSELFACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReadStructuralFeatureActionImpl" entity-name="ReadStructuralFeatureAction" abstract="false" lazy="false" extends="StructuralFeatureAction" table="`READSTRUCTURALFEATUREACTION`"> - <meta attribute="eclassName" inherit="false">ReadStructuralFeatureAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTURALFEATUREACTION_E_ID`"/> - </key> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READSTRUCTURALFEATUREACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReadVariableActionImpl" entity-name="ReadVariableAction" abstract="false" lazy="false" extends="VariableAction" table="`READVARIABLEACTION`"> - <meta attribute="eclassName" inherit="false">ReadVariableAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VARIABLEACTION_E_ID`"/> - </key> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READVARIABLEACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReclassifyObjectActionImpl" entity-name="ReclassifyObjectAction" abstract="false" lazy="false" extends="Action" table="`RECLASSIFYOBJECTACTION`"> - <meta attribute="eclassName" inherit="false">ReclassifyObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <property name="isReplaceAll" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISREPLACEALL`"/> - </property> - <bag name="newClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="RECLASSIFYOBJECTACTION_NEWCLASSIFIER"> - <column name="`RECLASSIFYOBJECTACTION_NEWCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="RECLASSIFYOBJECTACTION_OBJECT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <bag name="oldClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="RECLASSIFYOBJECTACTION_OLDCLASSIFIER"> - <column name="`RECLASSIFYOBJECTACTION_OLDCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReduceActionImpl" entity-name="ReduceAction" abstract="false" lazy="false" extends="Action" table="`REDUCEACTION`"> - <meta attribute="eclassName" inherit="false">ReduceAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="collection" entity-name="InputPin" lazy="false" cascade="all" foreign-key="REDUCEACTION_COLLECTION" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_COLLECTION_E_ID`"/> - </many-to-one> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISORDERED`"/> - </property> - <many-to-one name="reducer" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REDUCEACTION_REDUCER" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`BEHAVIOR_REDUCER_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="REDUCEACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.RemoveStructuralFeatureValueActionImpl" entity-name="RemoveStructuralFeatureValueAction" abstract="false" lazy="false" extends="WriteStructuralFeatureAction" table="`REMOVESTRUCTURALFEATUREVALUEACTION`"> - <meta attribute="eclassName" inherit="false">RemoveStructuralFeatureValueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`WRITESTRUCTURALFEATUREACTION_E_ID`"/> - </key> - <property name="isRemoveDuplicates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISREMOVEDUPLICATES`"/> - </property> - <many-to-one name="removeAt" entity-name="InputPin" lazy="false" cascade="all" foreign-key="REMOVESTRUCTURALFEATUREVALUEACTION_REMOVEAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_REMOVEAT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.RemoveVariableValueActionImpl" entity-name="RemoveVariableValueAction" abstract="false" lazy="false" extends="WriteVariableAction" table="`REMOVEVARIABLEVALUEACTION`"> - <meta attribute="eclassName" inherit="false">RemoveVariableValueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`WRITEVARIABLEACTION_E_ID`"/> - </key> - <property name="isRemoveDuplicates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISREMOVEDUPLICATES`"/> - </property> - <many-to-one name="removeAt" entity-name="InputPin" lazy="false" cascade="all" foreign-key="REMOVEVARIABLEVALUEACTION_REMOVEAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_REMOVEAT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ReplyActionImpl" entity-name="ReplyAction" abstract="false" lazy="false" extends="Action" table="`REPLYACTION`"> - <meta attribute="eclassName" inherit="false">ReplyAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="replyToCall" entity-name="Trigger" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REPLYACTION_REPLYTOCALL" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TRIGGER_REPLYTOCALL_E_ID`"/> - </many-to-one> - <bag name="replyValue" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="REPLYACTION_REPLYVALUE"> - <column name="`REPLYACTION_REPLYVALUE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InputPin"/> - </bag> - <many-to-one name="returnInformation" entity-name="InputPin" lazy="false" cascade="all" foreign-key="REPLYACTION_RETURNINFORMATION" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_RETURNINFORMATION_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.SendObjectActionImpl" entity-name="SendObjectAction" abstract="false" lazy="false" extends="InvocationAction" table="`SENDOBJECTACTION`"> - <meta attribute="eclassName" inherit="false">SendObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INVOCATIONACTION_E_ID`"/> - </key> - <many-to-one name="request" entity-name="InputPin" lazy="false" cascade="all" foreign-key="SENDOBJECTACTION_REQUEST" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_REQUEST_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="InputPin" lazy="false" cascade="all" foreign-key="SENDOBJECTACTION_TARGET" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_TARGET_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.SendSignalActionImpl" entity-name="SendSignalAction" abstract="false" lazy="false" extends="InvocationAction" table="`SENDSIGNALACTION`"> - <meta attribute="eclassName" inherit="false">SendSignalAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INVOCATIONACTION_E_ID`"/> - </key> - <many-to-one name="signal" entity-name="Signal" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SENDSIGNALACTION_SIGNAL" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`SIGNAL_SIGNAL_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="InputPin" lazy="false" cascade="all" foreign-key="SENDSIGNALACTION_TARGET" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_TARGET_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.SequenceNodeImpl" entity-name="SequenceNode" abstract="false" lazy="false" extends="StructuredActivityNode" table="`SEQUENCENODE`"> - <meta attribute="eclassName" inherit="false">SequenceNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`STRUCTUREDACTIVITYNODE_E_ID`"/> - </key> - <list name="executableNode" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="SEQUENCENODE_EXECUTABLENODE"> - <column name="`SEQUENCENODE_EXECUTABLENODE_E_ID`" unique="false"/> - </key> - <list-index column="`SEQUENCENODE_EXECUTABLENODE_IDX`"/> - <one-to-many entity-name="ExecutableNode"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.SignalEventImpl" entity-name="SignalEvent" abstract="false" lazy="false" extends="MessageEvent" table="`SIGNALEVENT`"> - <meta attribute="eclassName" inherit="false">SignalEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`MESSAGEEVENT_E_ID`"/> - </key> - <many-to-one name="signal" entity-name="Signal" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SIGNALEVENT_SIGNAL" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`SIGNAL_SIGNAL_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StartClassifierBehaviorActionImpl" entity-name="StartClassifierBehaviorAction" abstract="false" lazy="false" extends="Action" table="`STARTCLASSIFIERBEHAVIORACTION`"> - <meta attribute="eclassName" inherit="false">StartClassifierBehaviorAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="STARTCLASSIFIERBEHAVIORACTION_OBJECT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StartObjectBehaviorActionImpl" entity-name="StartObjectBehaviorAction" abstract="false" lazy="false" extends="CallAction" table="`STARTOBJECTBEHAVIORACTION`"> - <meta attribute="eclassName" inherit="false">StartObjectBehaviorAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`CALLACTION_E_ID`"/> - </key> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="STARTOBJECTBEHAVIORACTION_OBJECT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.StateInvariantImpl" entity-name="StateInvariant" abstract="false" lazy="false" extends="InteractionFragment" table="`STATEINVARIANT`"> - <meta attribute="eclassName" inherit="false">StateInvariant</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERACTIONFRAGMENT_E_ID`"/> - </key> - <many-to-one name="invariant" entity-name="Constraint" lazy="false" cascade="all" foreign-key="STATEINVARIANT_INVARIANT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`CONSTRAINT_INVARIANT_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TestIdentityActionImpl" entity-name="TestIdentityAction" abstract="false" lazy="false" extends="Action" table="`TESTIDENTITYACTION`"> - <meta attribute="eclassName" inherit="false">TestIdentityAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="first" entity-name="InputPin" lazy="false" cascade="all" foreign-key="TESTIDENTITYACTION_FIRST" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_FIRST_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="TESTIDENTITYACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - <many-to-one name="second" entity-name="InputPin" lazy="false" cascade="all" foreign-key="TESTIDENTITYACTION_SECOND" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_SECOND_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TimeConstraintImpl" entity-name="TimeConstraint" abstract="false" lazy="false" extends="IntervalConstraint" table="`TIMECONSTRAINT`"> - <meta attribute="eclassName" inherit="false">TimeConstraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERVALCONSTRAINT_E_ID`"/> - </key> - <property name="firstEvent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`FIRSTEVENT`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TimeIntervalImpl" entity-name="TimeInterval" abstract="false" lazy="false" extends="Interval" table="`TIMEINTERVAL`"> - <meta attribute="eclassName" inherit="false">TimeInterval</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INTERVAL_E_ID`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TimeExpressionImpl" entity-name="TimeExpression" abstract="false" lazy="false" extends="ValueSpecification" table="`TIMEEXPRESSION`"> - <meta attribute="eclassName" inherit="false">TimeExpression</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`VALUESPECIFICATION_E_ID`"/> - </key> - <many-to-one name="expr" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="TIMEEXPRESSION_EXPR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_EXPR_E_ID`"/> - </many-to-one> - <bag name="observation" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="TIMEEXPRESSION_OBSERVATION"> - <column name="`TIMEEXPRESSION_OBSERVATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Observation"/> - </bag> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TimeEventImpl" entity-name="TimeEvent" abstract="false" lazy="false" extends="Event" table="`TIMEEVENT`"> - <meta attribute="eclassName" inherit="false">TimeEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`EVENT_E_ID`"/> - </key> - <property name="isRelative" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`ISRELATIVE`"/> - </property> - <many-to-one name="when" entity-name="TimeExpression" lazy="false" cascade="all" foreign-key="TIMEEVENT_WHEN" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`TIMEEXPRESSION_WHEN_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.TimeObservationImpl" entity-name="TimeObservation" abstract="false" lazy="false" extends="Observation" table="`TIMEOBSERVATION`"> - <meta attribute="eclassName" inherit="false">TimeObservation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`OBSERVATION_E_ID`"/> - </key> - <many-to-one name="event" entity-name="NamedElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TIMEOBSERVATION_EVENT" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`NAMEDELEMENT_EVENT_E_ID`"/> - </many-to-one> - <property name="firstEvent" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`FIRSTEVENT`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.UnmarshallActionImpl" entity-name="UnmarshallAction" abstract="false" lazy="false" extends="Action" table="`UNMARSHALLACTION`"> - <meta attribute="eclassName" inherit="false">UnmarshallAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="UNMARSHALLACTION_OBJECT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <bag name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="UNMARSHALLACTION_RESULT"> - <column name="`UNMARSHALLACTION_RESULT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="OutputPin"/> - </bag> - <many-to-one name="unmarshallType" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="UNMARSHALLACTION_UNMARSHALLTYPE" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`CLASSIFIER_UNMARSHALLTYPE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ValuePinImpl" entity-name="ValuePin" abstract="false" lazy="false" extends="InputPin" table="`VALUEPIN`"> - <meta attribute="eclassName" inherit="false">ValuePin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`INPUTPIN_E_ID`"/> - </key> - <many-to-one name="value" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="VALUEPIN_VALUE" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_VALUE_E_ID`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.uml2.uml.internal.impl.ValueSpecificationActionImpl" entity-name="ValueSpecificationAction" abstract="false" lazy="false" extends="Action" table="`VALUESPECIFICATIONACTION`"> - <meta attribute="eclassName" inherit="false">ValueSpecificationAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <key> - <column name="`ACTION_E_ID`"/> - </key> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="VALUESPECIFICATIONACTION_RESULT" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - <many-to-one name="value" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="VALUESPECIFICATIONACTION_VALUE" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`VALUESPECIFICATION_VALUE_E_ID`"/> - </many-to-one> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/PersistUMLAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/PersistUMLAction_hsqldb_h_o_hibernate.hbm.xml deleted file mode 100644 index beae11e1b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/PersistUMLAction_hsqldb_h_o_hibernate.hbm.xml +++ /dev/null @@ -1,3919 +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"> - <typedef name="ecore.EDiagnosticChain" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EDiagnosticChain</param> - </typedef> - <typedef name="ecore.EEList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEList</param> - </typedef> - <typedef name="ecore.EEnumerator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEnumerator</param> - </typedef> - <typedef name="ecore.EFeatureMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMap</param> - </typedef> - <typedef name="ecore.EFeatureMapEntry" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMapEntry</param> - </typedef> - <typedef name="ecore.EJavaClass" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EJavaClass</param> - </typedef> - <typedef name="ecore.EMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EMap</param> - </typedef> - <typedef name="ecore.EResource" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResource</param> - </typedef> - <typedef name="ecore.EResourceSet" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResourceSet</param> - </typedef> - <typedef name="ecore.ETreeIterator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">ETreeIterator</param> - </typedef> - <typedef name="ecore.EInvocationTargetException" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EInvocationTargetException</param> - </typedef> - <class name="org.eclipse.emf.ecore.impl.EModelElementImpl" entity-name="EModelElement" abstract="true" lazy="false" discriminator-value="EModelElement" table="`EMODELELEMENT`"> - <meta attribute="eclassName" inherit="false">EModelElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <id type="long" name="uuid" column="uuid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="EMODELELEMENTDTYPE" length="255" not-null="true"/> - </discriminator> - <list name="eAnnotations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EMODELELEMENT_EANNOTATIONS"> - <column name="`EANNOTATION_EMODELELEMENT_E_ID`" unique="false"/> - </key> - <list-index column="`EMODELELEMENT_EANNOTATIONS_IDX`"/> - <one-to-many entity-name="EAnnotation"/> - </list> - </class> - <subclass name="org.eclipse.emf.ecore.impl.ENamedElementImpl" entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" discriminator-value="ENamedElement"> - <meta attribute="eclassName" inherit="false">ENamedElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <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> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.ETypedElementImpl" entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="ETypedElement"> - <meta attribute="eclassName" inherit="false">ETypedElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="ordered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ORDERED`"/> - </property> - <property name="unique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`UNIQUE`"/> - </property> - <property name="lowerBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`LOWERBOUND`"/> - </property> - <property name="upperBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`UPPERBOUND`"/> - </property> - <many-to-one name="eType" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ETYPEDELEMENT_ETYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ECLASSIFIER_ETYPE_E_ID`"/> - </many-to-one> - <many-to-one name="eGenericType" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="ETYPEDELEMENT_EGENERICTYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EGENERICTYPE_EGENERICTYPE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EStructuralFeatureImpl" entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" discriminator-value="EStructuralFeature"> - <meta attribute="eclassName" inherit="false">EStructuralFeature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="changeable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`CHANGEABLE`"/> - </property> - <property name="volatile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`VOLATILE`"/> - </property> - <property name="transient" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`TRANSIENT`"/> - </property> - <property name="defaultValueLiteral" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEFAULTVALUELITERAL`"/> - </property> - <property name="unsettable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`UNSETTABLE`"/> - </property> - <property name="derived" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`DERIVED`"/> - </property> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ESTRUCTURALFEATURE_ECONTAININGCLASS" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`ESTRUCTURALFEATURE_ECONTAININGCLASS_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EAttributeImpl" entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EAttribute"> - <meta attribute="eclassName" inherit="false">EAttribute</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="iD" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ID`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EAnnotationImpl" entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EAnnotation"> - <meta attribute="eclassName" inherit="false">EAnnotation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="source" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`SOURCE`"/> - </property> - <map name="details" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EANNOTATION_DETAILS_E_ID`" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <many-to-one name="eModelElement" entity-name="EModelElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EANNOTATION_EMODELELEMENT" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EANNOTATION_EMODELELEMENT_E_ID`"/> - </many-to-one> - <list name="contents" table="`EANNOTATION_CONTENTS`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EANNOTATION_CONTENTS"> - <column name="`EANNOTATION_E_ID`" unique="false"/> - </key> - <list-index column="`EANNOTATION_CONTENTS_IDX`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`CONTENTS_TYPE`"/> - <column not-null="false" unique="false" name="`CONTENTS_ID`"/> - </many-to-any> - </list> - <list name="references" table="`EANNOTATION_REFERENCES`" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EANNOTATION_REFERENCES"> - <column name="`EANNOTATION_E_ID`" unique="false"/> - </key> - <list-index column="`EANNOTATION_REFERENCES_IDX`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`REFERENCES_TYPE`"/> - <column not-null="false" unique="false" name="`REFERENCES_ID`"/> - </many-to-any> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EClassifierImpl" entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="EClassifier"> - <meta attribute="eclassName" inherit="false">EClassifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="instanceClassName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`INSTANCECLASSNAME`"/> - </property> - <property name="instanceTypeName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`INSTANCETYPENAME`"/> - </property> - <many-to-one name="ePackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ECLASSIFIER_EPACKAGE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`ECLASSIFIER_EPACKAGE_E_ID`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ECLASSIFIER_ETYPEPARAMETERS"> - <column name="`ECLASSIFIER_ETYPEPARAMETERS_E_ID`" unique="false"/> - </key> - <list-index column="`ECLASSIFIER_ETYPEPARAMETERS_IDX`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EClassImpl" entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EClass"> - <meta attribute="eclassName" inherit="false">EClass</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="abstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ABSTRACT`"/> - </property> - <property name="interface" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`INTERFACE`"/> - </property> - <list name="eSuperTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ECLASS_ECLASS`"> - <key/> - <list-index column="`ECLASS_ESUPERTYPES_IDX`"/> - <many-to-many entity-name="EClass" unique="false" foreign-key="ECLASS_ESUPERTYPES"/> - </list> - <list name="eOperations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ECLASS_EOPERATIONS"> - <column name="`EOPERATION_ECONTAININGCLASS_E_ID`" unique="false"/> - </key> - <list-index column="`ECLASS_EOPERATIONS_IDX`"/> - <one-to-many entity-name="EOperation"/> - </list> - <list name="eStructuralFeatures" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ECLASS_ESTRUCTURALFEATURES"> - <column name="`ESTRUCTURALFEATURE_ECONTAININGCLASS_E_ID`" unique="false"/> - </key> - <list-index column="`ECLASS_ESTRUCTURALFEATURES_IDX`"/> - <one-to-many entity-name="EStructuralFeature"/> - </list> - <list name="eGenericSuperTypes" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ECLASS_EGENERICSUPERTYPES"> - <column name="`ECLASS_EGENERICSUPERTYPES_E_ID`" unique="false"/> - </key> - <list-index column="`ECLASS_EGENERICSUPERTYPES_IDX`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EDataTypeImpl" entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EDataType"> - <meta attribute="eclassName" inherit="false">EDataType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`SERIALIZABLE`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EEnumImpl" entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" discriminator-value="EEnum"> - <meta attribute="eclassName" inherit="false">EEnum</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <list name="eLiterals" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EENUM_ELITERALS"> - <column name="`EENUMLITERAL_EENUM_E_ID`" unique="false"/> - </key> - <list-index column="`EENUM_ELITERALS_IDX`"/> - <one-to-many entity-name="EEnumLiteral"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EEnumLiteralImpl" entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EEnumLiteral"> - <meta attribute="eclassName" inherit="false">EEnumLiteral</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - <property name="literal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LITERAL`"/> - </property> - <many-to-one name="eEnum" entity-name="EEnum" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EENUMLITERAL_EENUM" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EENUMLITERAL_EENUM_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EFactoryImpl" entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EFactory"> - <meta attribute="eclassName" inherit="false">EFactory</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - </subclass> - <class name="org.eclipse.emf.ecore.impl.BasicEObjectImpl" entity-name="ecore_EObject" abstract="false" lazy="false" discriminator-value="ecore_EObject" table="`ECORE_EOBJECT`"> - <meta attribute="eclassName" inherit="false">EObject</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <id type="long" name="uuid" column="uuid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="ECORE_EOBJECTDTYPE" length="255" not-null="true"/> - </discriminator> - </class> - <subclass name="org.eclipse.emf.ecore.impl.EOperationImpl" entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EOperation"> - <meta attribute="eclassName" inherit="false">EOperation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EOPERATION_ECONTAININGCLASS" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EOPERATION_ECONTAININGCLASS_E_ID`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EOPERATION_ETYPEPARAMETERS"> - <column name="`EOPERATION_ETYPEPARAMETERS_E_ID`" unique="false"/> - </key> - <list-index column="`EOPERATION_ETYPEPARAMETERS_IDX`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - <list name="eParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EOPERATION_EPARAMETERS"> - <column name="`EPARAMETER_EOPERATION_E_ID`" unique="false"/> - </key> - <list-index column="`EOPERATION_EPARAMETERS_IDX`"/> - <one-to-many entity-name="EParameter"/> - </list> - <list name="eExceptions" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EOPERATION_EEXCEPTIONS"> - <column name="`EOPERATION_EEXCEPTIONS_E_ID`" unique="false"/> - </key> - <list-index column="`EOPERATION_EEXCEPTIONS_IDX`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eGenericExceptions" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EOPERATION_EGENERICEXCEPTIONS"> - <column name="`EOPERATION_EGENERICEXCEPTIONS_E_ID`" unique="false"/> - </key> - <list-index column="`EOPERATION_EGENERICEXCEPTIONS_IDX`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EPackageImpl" entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EPackage"> - <meta attribute="eclassName" inherit="false">EPackage</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="nsURI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NSURI`"/> - </property> - <property name="nsPrefix" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NSPREFIX`"/> - </property> - <list name="eClassifiers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EPACKAGE_ECLASSIFIERS"> - <column name="`ECLASSIFIER_EPACKAGE_E_ID`" unique="false"/> - </key> - <list-index column="`EPACKAGE_ECLASSIFIERS_IDX`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eSubpackages" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EPACKAGE_ESUBPACKAGES"> - <column name="`EPACKAGE_ESUPERPACKAGE_E_ID`" unique="false"/> - </key> - <list-index column="`EPACKAGE_ESUBPACKAGES_IDX`"/> - <one-to-many entity-name="EPackage"/> - </list> - <many-to-one name="eSuperPackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EPACKAGE_ESUPERPACKAGE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EPACKAGE_ESUPERPACKAGE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EParameterImpl" entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EParameter"> - <meta attribute="eclassName" inherit="false">EParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <many-to-one name="eOperation" entity-name="EOperation" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EPARAMETER_EOPERATION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`EPARAMETER_EOPERATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EReferenceImpl" entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EReference"> - <meta attribute="eclassName" inherit="false">EReference</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="containment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`CONTAINMENT`"/> - </property> - <property name="resolveProxies" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`RESOLVEPROXIES`"/> - </property> - <many-to-one name="eOpposite" entity-name="EReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EREFERENCE_EOPPOSITE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EREFERENCE_EOPPOSITE_E_ID`"/> - </many-to-one> - <list name="eKeys" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EREFERENCE_EKEYS"> - <column name="`EREFERENCE_EKEYS_E_ID`" unique="false"/> - </key> - <list-index column="`EREFERENCE_EKEYS_IDX`"/> - <one-to-many entity-name="EAttribute"/> - </list> - </subclass> - <class name="org.eclipse.emf.ecore.impl.EGenericTypeImpl" entity-name="EGenericType" abstract="false" lazy="false" discriminator-value="EGenericType" table="`EGENERICTYPE`"> - <meta attribute="eclassName" inherit="false">EGenericType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <id type="long" name="uuid" column="uuid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId" inherit="false">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="EGENERICTYPEDTYPE" length="255" not-null="true"/> - </discriminator> - <many-to-one name="eUpperBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="EGENERICTYPE_EUPPERBOUND" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EGENERICTYPE_EUPPERBOUND_E_ID`"/> - </many-to-one> - <list name="eTypeArguments" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EGENERICTYPE_ETYPEARGUMENTS"> - <column name="`EGENERICTYPE_ETYPEARGUMENTS_E_ID`" unique="false"/> - </key> - <list-index column="`EGENERICTYPE_ETYPEARGUMENTS_IDX`"/> - <one-to-many entity-name="EGenericType"/> - </list> - <many-to-one name="eLowerBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="EGENERICTYPE_ELOWERBOUND" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EGENERICTYPE_ELOWERBOUND_E_ID`"/> - </many-to-one> - <many-to-one name="eTypeParameter" entity-name="ETypeParameter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EGENERICTYPE_ETYPEPARAMETER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ETYPEPARAMETER_ETYPEPARAMETER_E_ID`"/> - </many-to-one> - <many-to-one name="eClassifier" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EGENERICTYPE_ECLASSIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ECLASSIFIER_ECLASSIFIER_E_ID`"/> - </many-to-one> - </class> - <subclass name="org.eclipse.emf.ecore.impl.ETypeParameterImpl" entity-name="ETypeParameter" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="ETypeParameter"> - <meta attribute="eclassName" inherit="false">ETypeParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/2002/Ecore</meta> - <list name="eBounds" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ETYPEPARAMETER_EBOUNDS"> - <column name="`ETYPEPARAMETER_EBOUNDS_E_ID`" unique="false"/> - </key> - <list-index column="`ETYPEPARAMETER_EBOUNDS_IDX`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ElementImpl" entity-name="Element" abstract="true" lazy="false" extends="EModelElement" discriminator-value="Element"> - <meta attribute="eclassName" inherit="false">Element</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="ownedComment" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ELEMENT_OWNEDCOMMENT"> - <column name="`ELEMENT_OWNEDCOMMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Comment"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.NamedElementImpl" entity-name="NamedElement" abstract="true" lazy="false" extends="Element" discriminator-value="NamedElement"> - <meta attribute="eclassName" inherit="false">NamedElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="clientDependency" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`DEPENDENCY_NAMEDELEMENT`"> - <key update="true"> - <column name="`NAMEDELEMENT_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Dependency" unique="false" foreign-key="NAMEDELEMENT_CLIENTDEPENDENCY"> - <column name="`DEPENDENCY_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <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> - <many-to-one name="nameExpression" entity-name="StringExpression" lazy="false" cascade="all" foreign-key="NAMEDELEMENT_NAMEEXPRESSION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STRINGEXPRESSION_NAMEEXPRESSION_E_ID`"/> - </many-to-one> - <property name="visibility" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`VISIBILITY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.VisibilityKind</param> - <param name="eclassifier">VisibilityKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PackageableElementImpl" entity-name="PackageableElement" abstract="true" lazy="false" extends="NamedElement" discriminator-value="PackageableElement"> - <meta attribute="eclassName" inherit="false">PackageableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DependencyImpl" entity-name="Dependency" abstract="false" lazy="false" extends="PackageableElement" discriminator-value="Dependency"> - <meta attribute="eclassName" inherit="false">Dependency</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="client" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`DEPENDENCY_NAMEDELEMENT`"> - <key update="true"> - <column name="`DEPENDENCY_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="NamedElement" unique="false" foreign-key="DEPENDENCY_CLIENT"> - <column name="`NAMEDELEMENT_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="supplier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="DEPENDENCY_SUPPLIER"> - <column name="`DEPENDENCY_SUPPLIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.AbstractionImpl" entity-name="Abstraction" abstract="false" lazy="false" extends="Dependency" discriminator-value="Abstraction"> - <meta attribute="eclassName" inherit="false">Abstraction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="mapping" entity-name="OpaqueExpression" lazy="false" cascade="all" foreign-key="ABSTRACTION_MAPPING" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OPAQUEEXPRESSION_MAPPING_E_ID`"/> - </many-to-one> - </subclass> - <subclass entity-name="ParameterableElement" abstract="true" lazy="false" extends="Element" discriminator-value="ParameterableElement"> - <meta attribute="eclassName" inherit="false">ParameterableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CommentImpl" entity-name="Comment" abstract="false" lazy="false" extends="Element" discriminator-value="Comment"> - <meta attribute="eclassName" inherit="false">Comment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="annotatedElement" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="COMMENT_ANNOTATEDELEMENT"> - <column name="`COMMENT_ANNOTATEDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Element"/> - </bag> - <property name="body" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`BODY`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.NamespaceImpl" entity-name="Namespace" abstract="true" lazy="false" extends="NamedElement" discriminator-value="Namespace"> - <meta attribute="eclassName" inherit="false">Namespace</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="elementImport" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ELEMENTIMPORT_IMPORTINGNAMESPACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ElementImport"/> - </bag> - <bag name="packageImport" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PACKAGEIMPORT_IMPORTINGNAMESPACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageImport"/> - </bag> - <bag name="ownedRule" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONSTRAINT_CONTEXT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ClassifierImpl" entity-name="Classifier" abstract="true" lazy="false" extends="Namespace" discriminator-value="Classifier"> - <meta attribute="eclassName" inherit="false">Classifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISLEAF`"/> - </property> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - <bag name="collaborationUse" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASSIFIER_COLLABORATIONUSE"> - <column name="`CLASSIFIER_COLLABORATIONUSE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="CollaborationUse"/> - </bag> - <bag name="generalization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`GENERALIZATION_SPECIFIC_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Generalization"/> - </bag> - <bag name="powertypeExtent" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`GENERALIZATIONSET_POWERTYPE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralizationSet"/> - </bag> - <property name="isAbstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISABSTRACT`"/> - </property> - <property name="isFinalSpecialization" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISFINALSPECIALIZATION`"/> - </property> - <bag name="ownedUseCase" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASSIFIER_OWNEDUSECASE"> - <column name="`CLASSIFIER_OWNEDUSECASE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="UseCase"/> - </bag> - <bag name="useCase" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`CLASSIFIER_USECASE`"> - <key update="true"> - <column name="`CLASSIFIER_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="UseCase" unique="false" foreign-key="CLASSIFIER_USECASE"> - <column name="`USECASE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="redefinedClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLASSIFIER_REDEFINEDCLASSIFIER"> - <column name="`CLASSIFIER_REDEFINEDCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <many-to-one name="representation" entity-name="CollaborationUse" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLASSIFIER_REPRESENTATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`COLLABORATIONUSE_REPRESENTATION_E_ID`"/> - </many-to-one> - <bag name="substitution" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`SUBSTITUTION_SUBSTITUTINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Substitution"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StructuredClassifierImpl" entity-name="StructuredClassifier" abstract="true" lazy="false" extends="Classifier" discriminator-value="StructuredClassifier"> - <meta attribute="eclassName" inherit="false">StructuredClassifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STRUCTUREDCLASSIFIER_OWNEDATTRIBUTE"> - <column name="`STRUCTUREDCLASSIFIER_OWNEDATTRIBUTE_E_ID`" unique="false"/> - </key> - <list-index column="`STRUCTUREDCLASSIFIER_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <bag name="ownedConnector" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STRUCTUREDCLASSIFIER_OWNEDCONNECTOR"> - <column name="`STRUCTUREDCLASSIFIER_OWNEDCONNECTOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Connector"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.EncapsulatedClassifierImpl" entity-name="EncapsulatedClassifier" abstract="true" lazy="false" extends="StructuredClassifier" discriminator-value="EncapsulatedClassifier"> - <meta attribute="eclassName" inherit="false">EncapsulatedClassifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ClassImpl" entity-name="Class" abstract="false" lazy="false" extends="EncapsulatedClassifier" discriminator-value="Class"> - <meta attribute="eclassName" inherit="false">Class</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="classifierBehavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLASS_CLASSIFIERBEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_CLASSIFIERBEHAVIOR_E_ID`"/> - </many-to-one> - <bag name="interfaceRealization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InterfaceRealization"/> - </bag> - <bag name="ownedBehavior" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASS_OWNEDBEHAVIOR"> - <column name="`CLASS_OWNEDBEHAVIOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <list name="ownedOperation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`OPERATION_CLASS_E_ID`" unique="false"/> - </key> - <list-index column="`CLASS_OWNEDOPERATION_IDX`"/> - <one-to-many entity-name="Operation"/> - </list> - <property name="isActive" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISACTIVE`"/> - </property> - <list name="nestedClassifier" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASS_NESTEDCLASSIFIER"> - <column name="`CLASS_NESTEDCLASSIFIER_E_ID`" unique="false"/> - </key> - <list-index column="`CLASS_NESTEDCLASSIFIER_IDX`"/> - <one-to-many entity-name="Classifier"/> - </list> - <bag name="ownedReception" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASS_OWNEDRECEPTION"> - <column name="`CLASS_OWNEDRECEPTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Reception"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StereotypeImpl" entity-name="Stereotype" abstract="false" lazy="false" extends="Class" discriminator-value="Stereotype"> - <meta attribute="eclassName" inherit="false">Stereotype</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="icon" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STEREOTYPE_ICON"> - <column name="`STEREOTYPE_ICON_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Image"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ValueSpecificationImpl" entity-name="ValueSpecification" abstract="true" lazy="false" extends="PackageableElement" discriminator-value="ValueSpecification"> - <meta attribute="eclassName" inherit="false">ValueSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="type" entity-name="Type" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VALUESPECIFICATION_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TYPE_TYPE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExpressionImpl" entity-name="Expression" abstract="false" lazy="false" extends="ValueSpecification" discriminator-value="Expression"> - <meta attribute="eclassName" inherit="false">Expression</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="operand" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="EXPRESSION_OPERAND"> - <column name="`EXPRESSION_OPERAND_E_ID`" unique="false"/> - </key> - <list-index column="`EXPRESSION_OPERAND_IDX`"/> - <one-to-many entity-name="ValueSpecification"/> - </list> - <property name="symbol" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`SYMBOL`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StringExpressionImpl" entity-name="StringExpression" abstract="false" lazy="false" extends="Expression" discriminator-value="StringExpression"> - <meta attribute="eclassName" inherit="false">StringExpression</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - <many-to-one name="owningExpression" entity-name="StringExpression" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STRINGEXPRESSION_OWNINGEXPRESSION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STRINGEXPRESSION_OWNINGEXPRESSION_E_ID`"/> - </many-to-one> - <bag name="subExpression" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`STRINGEXPRESSION_OWNINGEXPRESSION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="StringExpression"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TypedElementImpl" entity-name="TypedElement" abstract="true" lazy="false" extends="NamedElement" discriminator-value="TypedElement"> - <meta attribute="eclassName" inherit="false">TypedElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="type" entity-name="Type" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VALUESPECIFICATION_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TYPE_TYPE_E_ID`"/> - </many-to-one> - </subclass> - <subclass entity-name="Type" abstract="true" lazy="false" extends="PackageableElement" discriminator-value="Type"> - <meta attribute="eclassName" inherit="false">Type</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PackageImpl" entity-name="Package" abstract="false" lazy="false" extends="Namespace" discriminator-value="Package"> - <meta attribute="eclassName" inherit="false">Package</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - <property name="URI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`URI`"/> - </property> - <bag name="packageMerge" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PACKAGEMERGE_RECEIVINGPACKAGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageMerge"/> - </bag> - <bag name="packagedElement" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="PACKAGE_PACKAGEDELEMENT"> - <column name="`PACKAGE_PACKAGEDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageableElement"/> - </bag> - <bag name="profileApplication" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROFILEAPPLICATION_APPLYINGPACKAGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ProfileApplication"/> - </bag> - </subclass> - <subclass entity-name="TemplateableElement" abstract="true" lazy="false" extends="Element" discriminator-value="TemplateableElement"> - <meta attribute="eclassName" inherit="false">TemplateableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TemplateSignatureImpl" entity-name="TemplateSignature" abstract="false" lazy="false" extends="Element" discriminator-value="TemplateSignature"> - <meta attribute="eclassName" inherit="false">TemplateSignature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="ownedParameter" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEPARAMETER_SIGNATURE_E_ID`" unique="false"/> - </key> - <list-index column="`TEMPLATESIGNATURE_OWNEDPARAMETER_IDX`"/> - <one-to-many entity-name="TemplateParameter"/> - </list> - <list name="parameter" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="TEMPLATESIGNATURE_PARAMETER"> - <column name="`TEMPLATESIGNATURE_PARAMETER_E_ID`" unique="false"/> - </key> - <list-index column="`TEMPLATESIGNATURE_PARAMETER_IDX`"/> - <one-to-many entity-name="TemplateParameter"/> - </list> - <one-to-one name="template" entity-name="TemplateableElement" constrained="true" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedTemplateSignature"/> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TemplateParameterImpl" entity-name="TemplateParameter" abstract="false" lazy="false" extends="Element" discriminator-value="TemplateParameter"> - <meta attribute="eclassName" inherit="false">TemplateParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="default" entity-name="ParameterableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETER_DEFAULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARAMETERABLEELEMENT_DEFAULT_E_ID`"/> - </many-to-one> - <many-to-one name="ownedDefault" entity-name="ParameterableElement" lazy="false" cascade="all" foreign-key="TEMPLATEPARAMETER_OWNEDDEFAULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARAMETERABLEELEMENT_OWNEDDEFAULT_E_ID`"/> - </many-to-one> - <many-to-one name="ownedParameteredElement" entity-name="ParameterableElement" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <many-to-one name="parameteredElement" entity-name="ParameterableElement" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="false" insert="true" update="true"/> - <many-to-one name="signature" entity-name="TemplateSignature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETER_SIGNATURE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`TEMPLATEPARAMETER_SIGNATURE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.RelationshipImpl" entity-name="Relationship" abstract="true" lazy="false" extends="Element" discriminator-value="Relationship"> - <meta attribute="eclassName" inherit="false">Relationship</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DirectedRelationshipImpl" entity-name="DirectedRelationship" abstract="true" lazy="false" extends="Relationship" discriminator-value="DirectedRelationship"> - <meta attribute="eclassName" inherit="false">DirectedRelationship</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TemplateBindingImpl" entity-name="TemplateBinding" abstract="false" lazy="false" extends="DirectedRelationship" discriminator-value="TemplateBinding"> - <meta attribute="eclassName" inherit="false">TemplateBinding</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="parameterSubstitution" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEPARAMETERSUBSTITUTION_TEMPLATEBINDING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateParameterSubstitution"/> - </bag> - <many-to-one name="signature" entity-name="TemplateSignature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEBINDING_SIGNATURE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TEMPLATESIGNATURE_SIGNATURE_E_ID`"/> - </many-to-one> - <many-to-one name="boundElement" entity-name="TemplateableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEBINDING_BOUNDELEMENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TemplateParameterSubstitutionImpl" entity-name="TemplateParameterSubstitution" abstract="false" lazy="false" extends="Element" discriminator-value="TemplateParameterSubstitution"> - <meta attribute="eclassName" inherit="false">TemplateParameterSubstitution</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="actual" entity-name="ParameterableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETERSUBSTITUTION_ACTUAL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARAMETERABLEELEMENT_ACTUAL_E_ID`"/> - </many-to-one> - <many-to-one name="formal" entity-name="TemplateParameter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETERSUBSTITUTION_FORMAL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TEMPLATEPARAMETER_FORMAL_E_ID`"/> - </many-to-one> - <many-to-one name="ownedActual" entity-name="ParameterableElement" lazy="false" cascade="all" foreign-key="TEMPLATEPARAMETERSUBSTITUTION_OWNEDACTUAL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARAMETERABLEELEMENT_OWNEDACTUAL_E_ID`"/> - </many-to-one> - <many-to-one name="templateBinding" entity-name="TemplateBinding" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPLATEPARAMETERSUBSTITUTION_TEMPLATEBINDING" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TEMPLATEPARAMETERSUBSTITUTION_TEMPLATEBINDING_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PackageMergeImpl" entity-name="PackageMerge" abstract="false" lazy="false" extends="DirectedRelationship" discriminator-value="PackageMerge"> - <meta attribute="eclassName" inherit="false">PackageMerge</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="mergedPackage" entity-name="Package" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PACKAGEMERGE_MERGEDPACKAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PACKAGE_MERGEDPACKAGE_E_ID`"/> - </many-to-one> - <many-to-one name="receivingPackage" entity-name="Package" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PACKAGEMERGE_RECEIVINGPACKAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PACKAGEMERGE_RECEIVINGPACKAGE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ProfileApplicationImpl" entity-name="ProfileApplication" abstract="false" lazy="false" extends="DirectedRelationship" discriminator-value="ProfileApplication"> - <meta attribute="eclassName" inherit="false">ProfileApplication</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="appliedProfile" entity-name="Profile" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROFILEAPPLICATION_APPLIEDPROFILE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROFILE_APPLIEDPROFILE_E_ID`"/> - </many-to-one> - <property name="isStrict" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISSTRICT`"/> - </property> - <many-to-one name="applyingPackage" entity-name="Package" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROFILEAPPLICATION_APPLYINGPACKAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROFILEAPPLICATION_APPLYINGPACKAGE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ProfileImpl" entity-name="Profile" abstract="false" lazy="false" extends="Package" discriminator-value="Profile"> - <meta attribute="eclassName" inherit="false">Profile</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="metaclassReference" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PROFILE_METACLASSREFERENCE"> - <column name="`PROFILE_METACLASSREFERENCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ElementImport"/> - </bag> - <bag name="metamodelReference" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PROFILE_METAMODELREFERENCE"> - <column name="`PROFILE_METAMODELREFERENCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageImport"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ElementImportImpl" entity-name="ElementImport" abstract="false" lazy="false" extends="DirectedRelationship" discriminator-value="ElementImport"> - <meta attribute="eclassName" inherit="false">ElementImport</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="alias" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ALIAS`"/> - </property> - <many-to-one name="importedElement" entity-name="PackageableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ELEMENTIMPORT_IMPORTEDELEMENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PACKAGEABLEELEMENT_IMPORTEDELEMENT_E_ID`"/> - </many-to-one> - <many-to-one name="importingNamespace" entity-name="Namespace" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ELEMENTIMPORT_IMPORTINGNAMESPACE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ELEMENTIMPORT_IMPORTINGNAMESPACE_E_ID`"/> - </many-to-one> - <property name="visibility" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`VISIBILITY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.VisibilityKind</param> - <param name="eclassifier">VisibilityKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PackageImportImpl" entity-name="PackageImport" abstract="false" lazy="false" extends="DirectedRelationship" discriminator-value="PackageImport"> - <meta attribute="eclassName" inherit="false">PackageImport</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="importedPackage" entity-name="Package" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PACKAGEIMPORT_IMPORTEDPACKAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PACKAGE_IMPORTEDPACKAGE_E_ID`"/> - </many-to-one> - <many-to-one name="importingNamespace" entity-name="Namespace" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PACKAGEIMPORT_IMPORTINGNAMESPACE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PACKAGEIMPORT_IMPORTINGNAMESPACE_E_ID`"/> - </many-to-one> - <property name="visibility" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`VISIBILITY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.VisibilityKind</param> - <param name="eclassifier">VisibilityKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.AssociationImpl" entity-name="Association" abstract="false" lazy="false" extends="Classifier" discriminator-value="Association"> - <meta attribute="eclassName" inherit="false">Association</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isDerived" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDERIVED`"/> - </property> - <list name="memberEnd" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`PROPERTY_ASSOCIATION_E_ID`" unique="false"/> - </key> - <list-index column="`ASSOCIATION_MEMBEREND_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedEnd" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_OWNINGASSOCIATION_E_ID`" unique="false"/> - </key> - <list-index column="`ASSOCIATION_OWNEDEND_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <bag name="navigableOwnedEnd" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ASSOCIATION_NAVIGABLEOWNEDEND"> - <column name="`ASSOCIATION_NAVIGABLEOWNEDEND_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Property"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExtensionImpl" entity-name="Extension" abstract="false" lazy="false" extends="Association" discriminator-value="Extension"> - <meta attribute="eclassName" inherit="false">Extension</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.RedefinableElementImpl" entity-name="RedefinableElement" abstract="true" lazy="false" extends="NamedElement" discriminator-value="RedefinableElement"> - <meta attribute="eclassName" inherit="false">RedefinableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISLEAF`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.FeatureImpl" entity-name="Feature" abstract="true" lazy="false" extends="RedefinableElement" discriminator-value="Feature"> - <meta attribute="eclassName" inherit="false">Feature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isStatic" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISSTATIC`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StructuralFeatureImpl" entity-name="StructuralFeature" abstract="true" lazy="false" extends="Feature" discriminator-value="StructuralFeature"> - <meta attribute="eclassName" inherit="false">StructuralFeature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="type" entity-name="Type" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STRUCTURALFEATURE_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TYPE_TYPE_E_ID`"/> - </many-to-one> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="STRUCTURALFEATURE_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="STRUCTURALFEATURE_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - <property name="isReadOnly" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREADONLY`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PropertyImpl" entity-name="Property" abstract="false" lazy="false" extends="StructuralFeature" discriminator-value="Property"> - <meta attribute="eclassName" inherit="false">Property</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <bag name="deployment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DEPLOYMENT_LOCATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Deployment"/> - </bag> - <many-to-one name="interface" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_INTERFACE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_INTERFACE_E_ID`"/> - </many-to-one> - <many-to-one name="datatype" entity-name="DataType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_DATATYPE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_DATATYPE_E_ID`"/> - </many-to-one> - <property name="aggregation" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`AGGREGATION`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.AggregationKind</param> - <param name="eclassifier">AggregationKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="associationEnd" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_ASSOCIATIONEND" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_ASSOCIATIONEND_E_ID`"/> - </many-to-one> - <list name="qualifier" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_ASSOCIATIONEND_E_ID`" unique="false"/> - </key> - <list-index column="`PROPERTY_QUALIFIER_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <many-to-one name="defaultValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PROPERTY_DEFAULTVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_DEFAULTVALUE_E_ID`"/> - </many-to-one> - <property name="isDerived" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDERIVED`"/> - </property> - <property name="isDerivedUnion" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDERIVEDUNION`"/> - </property> - <property name="isID" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISID`"/> - </property> - <many-to-one name="owningAssociation" entity-name="Association" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_OWNINGASSOCIATION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_OWNINGASSOCIATION_E_ID`"/> - </many-to-one> - <bag name="redefinedProperty" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PROPERTY_REDEFINEDPROPERTY"> - <column name="`PROPERTY_REDEFINEDPROPERTY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Property"/> - </bag> - <bag name="subsettedProperty" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PROPERTY_SUBSETTEDPROPERTY"> - <column name="`PROPERTY_SUBSETTEDPROPERTY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Property"/> - </bag> - <many-to-one name="association" entity-name="Association" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROPERTY_ASSOCIATION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_ASSOCIATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.MultiplicityElementImpl" entity-name="MultiplicityElement" abstract="true" lazy="false" extends="Element" discriminator-value="MultiplicityElement"> - <meta attribute="eclassName" inherit="false">MultiplicityElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="STRUCTURALFEATURE_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="STRUCTURALFEATURE_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ConnectableElementImpl" entity-name="ConnectableElement" abstract="true" lazy="false" extends="TypedElement" discriminator-value="ConnectableElement"> - <meta attribute="eclassName" inherit="false">ConnectableElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ConnectorEndImpl" entity-name="ConnectorEnd" abstract="false" lazy="false" extends="MultiplicityElement" discriminator-value="ConnectorEnd"> - <meta attribute="eclassName" inherit="false">ConnectorEnd</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="partWithPort" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONNECTOREND_PARTWITHPORT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_PARTWITHPORT_E_ID`"/> - </many-to-one> - <many-to-one name="role" entity-name="ConnectableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONNECTOREND_ROLE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONNECTABLEELEMENT_ROLE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ConnectableElementTemplateParameterImpl" entity-name="ConnectableElementTemplateParameter" abstract="false" lazy="false" extends="TemplateParameter" discriminator-value="ConnectableElementTemplateParameter"> - <meta attribute="eclassName" inherit="false">ConnectableElementTemplateParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DeploymentTargetImpl" entity-name="DeploymentTarget" abstract="true" lazy="false" extends="NamedElement" discriminator-value="DeploymentTarget"> - <meta attribute="eclassName" inherit="false">DeploymentTarget</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="deployment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DEPLOYMENT_LOCATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Deployment"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DeploymentImpl" entity-name="Deployment" abstract="false" lazy="false" extends="Dependency" discriminator-value="Deployment"> - <meta attribute="eclassName" inherit="false">Deployment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="configuration" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DEPLOYMENTSPECIFICATION_DEPLOYMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="DeploymentSpecification"/> - </bag> - <bag name="deployedArtifact" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="DEPLOYMENT_DEPLOYEDARTIFACT"> - <column name="`DEPLOYMENT_DEPLOYEDARTIFACT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="DeployedArtifact"/> - </bag> - <many-to-one name="location" entity-name="DeploymentTarget" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DEPLOYMENT_LOCATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`DEPLOYMENT_LOCATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ArtifactImpl" entity-name="Artifact" abstract="false" lazy="false" extends="Classifier" discriminator-value="Artifact"> - <meta attribute="eclassName" inherit="false">Artifact</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="fileName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FILENAME`"/> - </property> - <bag name="manifestation" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ARTIFACT_MANIFESTATION"> - <column name="`ARTIFACT_MANIFESTATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Manifestation"/> - </bag> - <bag name="nestedArtifact" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ARTIFACT_NESTEDARTIFACT"> - <column name="`ARTIFACT_NESTEDARTIFACT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Artifact"/> - </bag> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ARTIFACT_OWNEDATTRIBUTE"> - <column name="`ARTIFACT_OWNEDATTRIBUTE_E_ID`" unique="false"/> - </key> - <list-index column="`ARTIFACT_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedOperation" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ARTIFACT_OWNEDOPERATION"> - <column name="`ARTIFACT_OWNEDOPERATION_E_ID`" unique="false"/> - </key> - <list-index column="`ARTIFACT_OWNEDOPERATION_IDX`"/> - <one-to-many entity-name="Operation"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DeploymentSpecificationImpl" entity-name="DeploymentSpecification" abstract="false" lazy="false" extends="Artifact" discriminator-value="DeploymentSpecification"> - <meta attribute="eclassName" inherit="false">DeploymentSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="deploymentLocation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPLOYMENTLOCATION`"/> - </property> - <property name="executionLocation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`EXECUTIONLOCATION`"/> - </property> - <many-to-one name="deployment" entity-name="Deployment" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DEPLOYMENTSPECIFICATION_DEPLOYMENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`DEPLOYMENTSPECIFICATION_DEPLOYMENT_E_ID`"/> - </many-to-one> - </subclass> - <subclass entity-name="DeployedArtifact" abstract="true" lazy="false" extends="NamedElement" discriminator-value="DeployedArtifact"> - <meta attribute="eclassName" inherit="false">DeployedArtifact</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ManifestationImpl" entity-name="Manifestation" abstract="false" lazy="false" extends="Abstraction" discriminator-value="Manifestation"> - <meta attribute="eclassName" inherit="false">Manifestation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="utilizedElement" entity-name="PackageableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MANIFESTATION_UTILIZEDELEMENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PACKAGEABLEELEMENT_UTILIZEDELEMENT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.BehavioralFeatureImpl" entity-name="BehavioralFeature" abstract="true" lazy="false" extends="Namespace" discriminator-value="BehavioralFeature"> - <meta attribute="eclassName" inherit="false">BehavioralFeature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISLEAF`"/> - </property> - <property name="isStatic" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISSTATIC`"/> - </property> - <property name="concurrency" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`CONCURRENCY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.CallConcurrencyKind</param> - <param name="eclassifier">CallConcurrencyKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <property name="isAbstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISABSTRACT`"/> - </property> - <bag name="method" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`BEHAVIOR_SPECIFICATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <list name="ownedParameter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BEHAVIORALFEATURE_OWNEDPARAMETER"> - <column name="`BEHAVIORALFEATURE_OWNEDPARAMETER_E_ID`" unique="false"/> - </key> - <list-index column="`BEHAVIORALFEATURE_OWNEDPARAMETER_IDX`"/> - <one-to-many entity-name="Parameter"/> - </list> - <bag name="ownedParameterSet" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BEHAVIORALFEATURE_OWNEDPARAMETERSET"> - <column name="`BEHAVIORALFEATURE_OWNEDPARAMETERSET_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ParameterSet"/> - </bag> - <bag name="raisedException" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="BEHAVIORALFEATURE_RAISEDEXCEPTION"> - <column name="`BEHAVIORALFEATURE_RAISEDEXCEPTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Type"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.OperationImpl" entity-name="Operation" abstract="false" lazy="false" extends="BehavioralFeature" discriminator-value="Operation"> - <meta attribute="eclassName" inherit="false">Operation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <many-to-one name="ownedTemplateSignature" entity-name="TemplateSignature" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <bag name="templateBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEBINDING_BOUNDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="TemplateBinding"/> - </bag> - <many-to-one name="interface" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPERATION_INTERFACE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`OPERATION_INTERFACE_E_ID`"/> - </many-to-one> - <many-to-one name="bodyCondition" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPERATION_BODYCONDITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_BODYCONDITION_E_ID`"/> - </many-to-one> - <many-to-one name="class" entity-name="Class" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPERATION_CLASS" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`OPERATION_CLASS_E_ID`"/> - </many-to-one> - <many-to-one name="datatype" entity-name="DataType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPERATION_DATATYPE" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`OPERATION_DATATYPE_E_ID`"/> - </many-to-one> - <property name="isQuery" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISQUERY`"/> - </property> - <bag name="postcondition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="OPERATION_POSTCONDITION"> - <column name="`OPERATION_POSTCONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="precondition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="OPERATION_PRECONDITION"> - <column name="`OPERATION_PRECONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="redefinedOperation" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="OPERATION_REDEFINEDOPERATION"> - <column name="`OPERATION_REDEFINEDOPERATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Operation"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.BehaviorImpl" entity-name="Behavior" abstract="true" lazy="false" extends="Class" discriminator-value="Behavior"> - <meta attribute="eclassName" inherit="false">Behavior</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isReentrant" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREENTRANT`"/> - </property> - <list name="ownedParameter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BEHAVIOR_OWNEDPARAMETER"> - <column name="`BEHAVIOR_OWNEDPARAMETER_E_ID`" unique="false"/> - </key> - <list-index column="`BEHAVIOR_OWNEDPARAMETER_IDX`"/> - <one-to-many entity-name="Parameter"/> - </list> - <bag name="ownedParameterSet" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BEHAVIOR_OWNEDPARAMETERSET"> - <column name="`BEHAVIOR_OWNEDPARAMETERSET_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ParameterSet"/> - </bag> - <bag name="postcondition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="BEHAVIOR_POSTCONDITION"> - <column name="`BEHAVIOR_POSTCONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="precondition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="BEHAVIOR_PRECONDITION"> - <column name="`BEHAVIOR_PRECONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="redefinedBehavior" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="BEHAVIOR_REDEFINEDBEHAVIOR"> - <column name="`BEHAVIOR_REDEFINEDBEHAVIOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <many-to-one name="specification" entity-name="BehavioralFeature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BEHAVIOR_SPECIFICATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_SPECIFICATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.BehavioredClassifierImpl" entity-name="BehavioredClassifier" abstract="true" lazy="false" extends="Classifier" discriminator-value="BehavioredClassifier"> - <meta attribute="eclassName" inherit="false">BehavioredClassifier</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="classifierBehavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLASS_CLASSIFIERBEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_CLASSIFIERBEHAVIOR_E_ID`"/> - </many-to-one> - <bag name="interfaceRealization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InterfaceRealization"/> - </bag> - <bag name="ownedBehavior" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CLASS_OWNEDBEHAVIOR"> - <column name="`BEHAVIOREDCLASSIFIER_OWNEDBEHAVIOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.RealizationImpl" entity-name="Realization" abstract="false" lazy="false" extends="Abstraction" discriminator-value="Realization"> - <meta attribute="eclassName" inherit="false">Realization</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InterfaceRealizationImpl" entity-name="InterfaceRealization" abstract="false" lazy="false" extends="Realization" discriminator-value="InterfaceRealization"> - <meta attribute="eclassName" inherit="false">InterfaceRealization</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="contract" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERFACEREALIZATION_CONTRACT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INTERFACE_CONTRACT_E_ID`"/> - </many-to-one> - <many-to-one name="implementingClassifier" entity-name="BehavioredClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InterfaceImpl" entity-name="Interface" abstract="false" lazy="false" extends="Classifier" discriminator-value="Interface"> - <meta attribute="eclassName" inherit="false">Interface</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="nestedClassifier" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERFACE_NESTEDCLASSIFIER"> - <column name="`INTERFACE_NESTEDCLASSIFIER_E_ID`" unique="false"/> - </key> - <list-index column="`INTERFACE_NESTEDCLASSIFIER_IDX`"/> - <one-to-many entity-name="Classifier"/> - </list> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_INTERFACE_E_ID`" unique="false"/> - </key> - <list-index column="`INTERFACE_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedOperation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`OPERATION_INTERFACE_E_ID`" unique="false"/> - </key> - <list-index column="`INTERFACE_OWNEDOPERATION_IDX`"/> - <one-to-many entity-name="Operation"/> - </list> - <bag name="ownedReception" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERFACE_OWNEDRECEPTION"> - <column name="`INTERFACE_OWNEDRECEPTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Reception"/> - </bag> - <many-to-one name="protocol" entity-name="ProtocolStateMachine" lazy="false" cascade="all" foreign-key="INTERFACE_PROTOCOL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROTOCOLSTATEMACHINE_PROTOCOL_E_ID`"/> - </many-to-one> - <bag name="redefinedInterface" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INTERFACE_REDEFINEDINTERFACE"> - <column name="`INTERFACE_REDEFINEDINTERFACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Interface"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReceptionImpl" entity-name="Reception" abstract="false" lazy="false" extends="BehavioralFeature" discriminator-value="Reception"> - <meta attribute="eclassName" inherit="false">Reception</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="signal" entity-name="Signal" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="RECEPTION_SIGNAL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`SIGNAL_SIGNAL_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.SignalImpl" entity-name="Signal" abstract="false" lazy="false" extends="Classifier" discriminator-value="Signal"> - <meta attribute="eclassName" inherit="false">Signal</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="SIGNAL_OWNEDATTRIBUTE"> - <column name="`SIGNAL_OWNEDATTRIBUTE_E_ID`" unique="false"/> - </key> - <list-index column="`SIGNAL_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StateMachineImpl" entity-name="StateMachine" abstract="false" lazy="false" extends="Behavior" discriminator-value="StateMachine"> - <meta attribute="eclassName" inherit="false">StateMachine</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="connectionPoint" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PSEUDOSTATE_STATEMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Pseudostate"/> - </bag> - <bag name="submachineState" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`STATE_SUBMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="State"/> - </bag> - <bag name="region" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`REGION_STATEMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Region"/> - </bag> - <bag name="extendedStateMachine" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="STATEMACHINE_EXTENDEDSTATEMACHINE"> - <column name="`STATEMACHINE_EXTENDEDSTATEMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="StateMachine"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ProtocolStateMachineImpl" entity-name="ProtocolStateMachine" abstract="false" lazy="false" extends="StateMachine" discriminator-value="ProtocolStateMachine"> - <meta attribute="eclassName" inherit="false">ProtocolStateMachine</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="conformance" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROTOCOLCONFORMANCE_SPECIFICMACHINE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ProtocolConformance"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.VertexImpl" entity-name="Vertex" abstract="true" lazy="false" extends="NamedElement" discriminator-value="Vertex"> - <meta attribute="eclassName" inherit="false">Vertex</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="container" entity-name="Region" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VERTEX_CONTAINER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VERTEX_CONTAINER_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PseudostateImpl" entity-name="Pseudostate" abstract="false" lazy="false" extends="Vertex" discriminator-value="Pseudostate"> - <meta attribute="eclassName" inherit="false">Pseudostate</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="state" entity-name="State" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PSEUDOSTATE_STATE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PSEUDOSTATE_STATE_E_ID`"/> - </many-to-one> - <property name="kind" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.PseudostateKind</param> - <param name="eclassifier">PseudostateKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="stateMachine" entity-name="StateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PSEUDOSTATE_STATEMACHINE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PSEUDOSTATE_STATEMACHINE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.RegionImpl" entity-name="Region" abstract="false" lazy="false" extends="Namespace" discriminator-value="Region"> - <meta attribute="eclassName" inherit="false">Region</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISLEAF`"/> - </property> - <many-to-one name="extendedRegion" entity-name="Region" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REGION_EXTENDEDREGION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`REGION_EXTENDEDREGION_E_ID`"/> - </many-to-one> - <many-to-one name="state" entity-name="State" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REGION_STATE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`REGION_STATE_E_ID`"/> - </many-to-one> - <many-to-one name="stateMachine" entity-name="StateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REGION_STATEMACHINE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`REGION_STATEMACHINE_E_ID`"/> - </many-to-one> - <bag name="transition" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TRANSITION_CONTAINER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Transition"/> - </bag> - <bag name="subvertex" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`VERTEX_CONTAINER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Vertex"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StateImpl" entity-name="State" abstract="false" lazy="false" extends="Namespace" discriminator-value="State"> - <meta attribute="eclassName" inherit="false">State</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISLEAF`"/> - </property> - <many-to-one name="container" entity-name="Region" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STATE_CONTAINER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STATE_CONTAINER_E_ID`"/> - </many-to-one> - <bag name="connection" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONNECTIONPOINTREFERENCE_STATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ConnectionPointReference"/> - </bag> - <bag name="connectionPoint" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PSEUDOSTATE_STATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Pseudostate"/> - </bag> - <bag name="deferrableTrigger" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STATE_DEFERRABLETRIGGER"> - <column name="`STATE_DEFERRABLETRIGGER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Trigger"/> - </bag> - <many-to-one name="doActivity" entity-name="Behavior" lazy="false" cascade="all" foreign-key="STATE_DOACTIVITY" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_DOACTIVITY_E_ID`"/> - </many-to-one> - <many-to-one name="entry" entity-name="Behavior" lazy="false" cascade="all" foreign-key="STATE_ENTRY" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_ENTRY_E_ID`"/> - </many-to-one> - <many-to-one name="exit" entity-name="Behavior" lazy="false" cascade="all" foreign-key="STATE_EXIT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_EXIT_E_ID`"/> - </many-to-one> - <many-to-one name="redefinedState" entity-name="State" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STATE_REDEFINEDSTATE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STATE_REDEFINEDSTATE_E_ID`"/> - </many-to-one> - <many-to-one name="stateInvariant" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STATE_STATEINVARIANT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_STATEINVARIANT_E_ID`"/> - </many-to-one> - <many-to-one name="submachine" entity-name="StateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STATE_SUBMACHINE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STATE_SUBMACHINE_E_ID`"/> - </many-to-one> - <bag name="region" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`REGION_STATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Region"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ConnectionPointReferenceImpl" entity-name="ConnectionPointReference" abstract="false" lazy="false" extends="Vertex" discriminator-value="ConnectionPointReference"> - <meta attribute="eclassName" inherit="false">ConnectionPointReference</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="entry" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONNECTIONPOINTREFERENCE_ENTRY"> - <column name="`CONNECTIONPOINTREFERENCE_ENTRY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Pseudostate"/> - </bag> - <bag name="exit" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONNECTIONPOINTREFERENCE_EXIT"> - <column name="`CONNECTIONPOINTREFERENCE_EXIT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Pseudostate"/> - </bag> - <many-to-one name="state" entity-name="State" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONNECTIONPOINTREFERENCE_STATE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONNECTIONPOINTREFERENCE_STATE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TriggerImpl" entity-name="Trigger" abstract="false" lazy="false" extends="NamedElement" discriminator-value="Trigger"> - <meta attribute="eclassName" inherit="false">Trigger</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="event" entity-name="Event" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRIGGER_EVENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EVENT_EVENT_E_ID`"/> - </many-to-one> - <bag name="port" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="TRIGGER_PORT"> - <column name="`TRIGGER_PORT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Port"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.EventImpl" entity-name="Event" abstract="true" lazy="false" extends="PackageableElement" discriminator-value="Event"> - <meta attribute="eclassName" inherit="false">Event</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PortImpl" entity-name="Port" abstract="false" lazy="false" extends="Property" discriminator-value="Port"> - <meta attribute="eclassName" inherit="false">Port</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isBehavior" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISBEHAVIOR`"/> - </property> - <property name="isConjugated" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCONJUGATED`"/> - </property> - <property name="isService" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISSERVICE`"/> - </property> - <many-to-one name="protocol" entity-name="ProtocolStateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PORT_PROTOCOL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROTOCOLSTATEMACHINE_PROTOCOL_E_ID`"/> - </many-to-one> - <bag name="redefinedPort" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="PORT_REDEFINEDPORT"> - <column name="`PORT_REDEFINEDPORT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Port"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ConstraintImpl" entity-name="Constraint" abstract="false" lazy="false" extends="PackageableElement" discriminator-value="Constraint"> - <meta attribute="eclassName" inherit="false">Constraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="constrainedElement" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONSTRAINT_CONSTRAINEDELEMENT"> - <column name="`CONSTRAINT_CONSTRAINEDELEMENT_E_ID`" unique="false"/> - </key> - <list-index column="`CONSTRAINT_CONSTRAINEDELEMENT_IDX`"/> - <one-to-many entity-name="Element"/> - </list> - <many-to-one name="context" entity-name="Namespace" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONSTRAINT_CONTEXT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_CONTEXT_E_ID`"/> - </many-to-one> - <many-to-one name="specification" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="CONSTRAINT_SPECIFICATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_SPECIFICATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TransitionImpl" entity-name="Transition" abstract="false" lazy="false" extends="Namespace" discriminator-value="Transition"> - <meta attribute="eclassName" inherit="false">Transition</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isLeaf" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISLEAF`"/> - </property> - <many-to-one name="effect" entity-name="Behavior" lazy="false" cascade="all" foreign-key="TRANSITION_EFFECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_EFFECT_E_ID`"/> - </many-to-one> - <many-to-one name="guard" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_GUARD" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_GUARD_E_ID`"/> - </many-to-one> - <property name="kind" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.TransitionKind</param> - <param name="eclassifier">TransitionKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="redefinedTransition" entity-name="Transition" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_REDEFINEDTRANSITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TRANSITION_REDEFINEDTRANSITION_E_ID`"/> - </many-to-one> - <many-to-one name="source" entity-name="Vertex" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_SOURCE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VERTEX_SOURCE_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="Vertex" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_TARGET" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VERTEX_TARGET_E_ID`"/> - </many-to-one> - <bag name="trigger" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="TRANSITION_TRIGGER"> - <column name="`TRANSITION_TRIGGER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Trigger"/> - </bag> - <many-to-one name="container" entity-name="Region" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSITION_CONTAINER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TRANSITION_CONTAINER_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ProtocolConformanceImpl" entity-name="ProtocolConformance" abstract="false" lazy="false" extends="DirectedRelationship" discriminator-value="ProtocolConformance"> - <meta attribute="eclassName" inherit="false">ProtocolConformance</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="generalMachine" entity-name="ProtocolStateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROTOCOLCONFORMANCE_GENERALMACHINE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROTOCOLSTATEMACHINE_GENERALMACHINE_E_ID`"/> - </many-to-one> - <many-to-one name="specificMachine" entity-name="ProtocolStateMachine" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROTOCOLCONFORMANCE_SPECIFICMACHINE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROTOCOLCONFORMANCE_SPECIFICMACHINE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ParameterImpl" entity-name="Parameter" abstract="false" lazy="false" extends="ConnectableElement" discriminator-value="Parameter"> - <meta attribute="eclassName" inherit="false">Parameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PARAMETER_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PARAMETER_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="defaultValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PARAMETER_DEFAULTVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_DEFAULTVALUE_E_ID`"/> - </many-to-one> - <property name="direction" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`DIRECTION`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.ParameterDirectionKind</param> - <param name="eclassifier">ParameterDirectionKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <property name="effect" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`EFFECT`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.ParameterEffectKind</param> - <param name="eclassifier">ParameterEffectKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <property name="isException" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISEXCEPTION`"/> - </property> - <property name="isStream" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISSTREAM`"/> - </property> - <bag name="parameterSet" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`PARAMETERSET_PARAMETER`"> - <key update="true"> - <column name="`PARAMETER_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ParameterSet" unique="false" foreign-key="PARAMETER_PARAMETERSET"> - <column name="`PARAMETERSET_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ParameterSetImpl" entity-name="ParameterSet" abstract="false" lazy="false" extends="NamedElement" discriminator-value="ParameterSet"> - <meta attribute="eclassName" inherit="false">ParameterSet</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="condition" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="PARAMETERSET_CONDITION"> - <column name="`PARAMETERSET_CONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="parameter" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`PARAMETERSET_PARAMETER`"> - <key update="true"> - <column name="`PARAMETERSET_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Parameter" unique="false" foreign-key="PARAMETERSET_PARAMETER"> - <column name="`PARAMETER_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DataTypeImpl" entity-name="DataType" abstract="false" lazy="false" extends="Classifier" discriminator-value="DataType"> - <meta attribute="eclassName" inherit="false">DataType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="ownedAttribute" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_DATATYPE_E_ID`" unique="false"/> - </key> - <list-index column="`DATATYPE_OWNEDATTRIBUTE_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedOperation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`OPERATION_DATATYPE_E_ID`" unique="false"/> - </key> - <list-index column="`DATATYPE_OWNEDOPERATION_IDX`"/> - <one-to-many entity-name="Operation"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.OperationTemplateParameterImpl" entity-name="OperationTemplateParameter" abstract="false" lazy="false" extends="TemplateParameter" discriminator-value="OperationTemplateParameter"> - <meta attribute="eclassName" inherit="false">OperationTemplateParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExtensionEndImpl" entity-name="ExtensionEnd" abstract="false" lazy="false" extends="Property" discriminator-value="ExtensionEnd"> - <meta attribute="eclassName" inherit="false">ExtensionEnd</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ModelImpl" entity-name="Model" abstract="false" lazy="false" extends="Package" discriminator-value="Model"> - <meta attribute="eclassName" inherit="false">Model</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="viewpoint" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VIEWPOINT`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.EnumerationImpl" entity-name="Enumeration" abstract="false" lazy="false" extends="DataType" discriminator-value="Enumeration"> - <meta attribute="eclassName" inherit="false">Enumeration</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="ownedLiteral" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ENUMERATIONLITERAL_ENUMERATION_E_ID`" unique="false"/> - </key> - <list-index column="`ENUMERATION_OWNEDLITERAL_IDX`"/> - <one-to-many entity-name="EnumerationLiteral"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InstanceSpecificationImpl" entity-name="InstanceSpecification" abstract="false" lazy="false" extends="DeploymentTarget" discriminator-value="InstanceSpecification"> - <meta attribute="eclassName" inherit="false">InstanceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <one-to-one name="owningTemplateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedParameteredElement"/> - <one-to-one name="templateParameter" entity-name="TemplateParameter" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="parameteredElement"/> - <bag name="classifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INSTANCESPECIFICATION_CLASSIFIER"> - <column name="`INSTANCESPECIFICATION_CLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <bag name="slot" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`SLOT_OWNINGINSTANCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Slot"/> - </bag> - <many-to-one name="specification" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="INSTANCESPECIFICATION_SPECIFICATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_SPECIFICATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.EnumerationLiteralImpl" entity-name="EnumerationLiteral" abstract="false" lazy="false" extends="InstanceSpecification" discriminator-value="EnumerationLiteral"> - <meta attribute="eclassName" inherit="false">EnumerationLiteral</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="enumeration" entity-name="Enumeration" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ENUMERATIONLITERAL_ENUMERATION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`ENUMERATIONLITERAL_ENUMERATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.SlotImpl" entity-name="Slot" abstract="false" lazy="false" extends="Element" discriminator-value="Slot"> - <meta attribute="eclassName" inherit="false">Slot</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="definingFeature" entity-name="StructuralFeature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SLOT_DEFININGFEATURE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STRUCTURALFEATURE_DEFININGFEATURE_E_ID`"/> - </many-to-one> - <list name="value" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="SLOT_VALUE"> - <column name="`SLOT_VALUE_E_ID`" unique="false"/> - </key> - <list-index column="`SLOT_VALUE_IDX`"/> - <one-to-many entity-name="ValueSpecification"/> - </list> - <many-to-one name="owningInstance" entity-name="InstanceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SLOT_OWNINGINSTANCE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`SLOT_OWNINGINSTANCE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PrimitiveTypeImpl" entity-name="PrimitiveType" abstract="false" lazy="false" extends="DataType" discriminator-value="PrimitiveType"> - <meta attribute="eclassName" inherit="false">PrimitiveType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.UsageImpl" entity-name="Usage" abstract="false" lazy="false" extends="Dependency" discriminator-value="Usage"> - <meta attribute="eclassName" inherit="false">Usage</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CollaborationUseImpl" entity-name="CollaborationUse" abstract="false" lazy="false" extends="NamedElement" discriminator-value="CollaborationUse"> - <meta attribute="eclassName" inherit="false">CollaborationUse</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="roleBinding" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COLLABORATIONUSE_ROLEBINDING"> - <column name="`COLLABORATIONUSE_ROLEBINDING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Dependency"/> - </bag> - <many-to-one name="type" entity-name="Collaboration" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="COLLABORATIONUSE_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`COLLABORATION_TYPE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CollaborationImpl" entity-name="Collaboration" abstract="false" lazy="false" extends="StructuredClassifier" discriminator-value="Collaboration"> - <meta attribute="eclassName" inherit="false">Collaboration</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="classifierBehavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="COLLABORATION_CLASSIFIERBEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_CLASSIFIERBEHAVIOR_E_ID`"/> - </many-to-one> - <bag name="interfaceRealization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERFACEREALIZATION_IMPLEMENTINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InterfaceRealization"/> - </bag> - <bag name="ownedBehavior" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COLLABORATION_OWNEDBEHAVIOR"> - <column name="`COLLABORATION_OWNEDBEHAVIOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <bag name="collaborationRole" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="COLLABORATION_COLLABORATIONROLE"> - <column name="`COLLABORATION_COLLABORATIONROLE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ConnectableElement"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.GeneralizationImpl" entity-name="Generalization" abstract="false" lazy="false" extends="DirectedRelationship" discriminator-value="Generalization"> - <meta attribute="eclassName" inherit="false">Generalization</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="general" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALIZATION_GENERAL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CLASSIFIER_GENERAL_E_ID`"/> - </many-to-one> - <bag name="generalizationSet" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`GENERALIZATIONSET_GENERALIZATION`"> - <key update="true"> - <column name="`GENERALIZATION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="GeneralizationSet" unique="false" foreign-key="GENERALIZATION_GENERALIZATIONSET"> - <column name="`GENERALIZATIONSET_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="isSubstitutable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISSUBSTITUTABLE`"/> - </property> - <many-to-one name="specific" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALIZATION_SPECIFIC" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`GENERALIZATION_SPECIFIC_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.GeneralizationSetImpl" entity-name="GeneralizationSet" abstract="false" lazy="false" extends="PackageableElement" discriminator-value="GeneralizationSet"> - <meta attribute="eclassName" inherit="false">GeneralizationSet</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isCovering" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCOVERING`"/> - </property> - <property name="isDisjoint" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDISJOINT`"/> - </property> - <many-to-one name="powertype" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALIZATIONSET_POWERTYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`GENERALIZATIONSET_POWERTYPE_E_ID`"/> - </many-to-one> - <bag name="generalization" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`GENERALIZATIONSET_GENERALIZATION`"> - <key update="true"> - <column name="`GENERALIZATIONSET_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Generalization" unique="false" foreign-key="GENERALIZATIONSET_GENERALIZATION"> - <column name="`GENERALIZATION_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.RedefinableTemplateSignatureImpl" entity-name="RedefinableTemplateSignature" abstract="false" lazy="false" extends="RedefinableElement" discriminator-value="RedefinableTemplateSignature"> - <meta attribute="eclassName" inherit="false">RedefinableTemplateSignature</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="ownedParameter" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`TEMPLATEPARAMETER_SIGNATURE_E_ID`" unique="false"/> - </key> - <list-index column="`REDEFINABLETEMPLATESIGNATURE_OWNEDPARAMETER_IDX`"/> - <one-to-many entity-name="TemplateParameter"/> - </list> - <list name="parameter" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="REDEFINABLETEMPLATESIGNATURE_PARAMETER"> - <column name="`REDEFINABLETEMPLATESIGNATURE_PARAMETER_E_ID`" unique="false"/> - </key> - <list-index column="`REDEFINABLETEMPLATESIGNATURE_PARAMETER_IDX`"/> - <one-to-many entity-name="TemplateParameter"/> - </list> - <one-to-one name="template" entity-name="TemplateableElement" constrained="true" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="ownedTemplateSignature"/> - <bag name="extendedSignature" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="REDEFINABLETEMPLATESIGNATURE_EXTENDEDSIGNATURE"> - <column name="`REDEFINABLETEMPLATESIGNATURE_EXTENDEDSIGNATURE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="RedefinableTemplateSignature"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.UseCaseImpl" entity-name="UseCase" abstract="false" lazy="false" extends="BehavioredClassifier" discriminator-value="UseCase"> - <meta attribute="eclassName" inherit="false">UseCase</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="extend" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EXTEND_EXTENSION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Extend"/> - </bag> - <bag name="extensionPoint" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EXTENSIONPOINT_USECASE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExtensionPoint"/> - </bag> - <bag name="include" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INCLUDE_INCLUDINGCASE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Include"/> - </bag> - <bag name="subject" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`CLASSIFIER_USECASE`"> - <key update="true"> - <column name="`USECASE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Classifier" unique="false" foreign-key="USECASE_SUBJECT"> - <column name="`CLASSIFIER_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExtendImpl" entity-name="Extend" abstract="false" lazy="false" extends="NamedElement" discriminator-value="Extend"> - <meta attribute="eclassName" inherit="false">Extend</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="condition" entity-name="Constraint" lazy="false" cascade="all" foreign-key="EXTEND_CONDITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_CONDITION_E_ID`"/> - </many-to-one> - <many-to-one name="extendedCase" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXTEND_EXTENDEDCASE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`USECASE_EXTENDEDCASE_E_ID`"/> - </many-to-one> - <list name="extensionLocation" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EXTEND_EXTENSIONLOCATION"> - <column name="`EXTEND_EXTENSIONLOCATION_E_ID`" unique="false"/> - </key> - <list-index column="`EXTEND_EXTENSIONLOCATION_IDX`"/> - <one-to-many entity-name="ExtensionPoint"/> - </list> - <many-to-one name="extension" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXTEND_EXTENSION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXTEND_EXTENSION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExtensionPointImpl" entity-name="ExtensionPoint" abstract="false" lazy="false" extends="RedefinableElement" discriminator-value="ExtensionPoint"> - <meta attribute="eclassName" inherit="false">ExtensionPoint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="useCase" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXTENSIONPOINT_USECASE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXTENSIONPOINT_USECASE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.IncludeImpl" entity-name="Include" abstract="false" lazy="false" extends="NamedElement" discriminator-value="Include"> - <meta attribute="eclassName" inherit="false">Include</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="addition" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INCLUDE_ADDITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`USECASE_ADDITION_E_ID`"/> - </many-to-one> - <many-to-one name="includingCase" entity-name="UseCase" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INCLUDE_INCLUDINGCASE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INCLUDE_INCLUDINGCASE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.SubstitutionImpl" entity-name="Substitution" abstract="false" lazy="false" extends="Realization" discriminator-value="Substitution"> - <meta attribute="eclassName" inherit="false">Substitution</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="contract" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SUBSTITUTION_CONTRACT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CLASSIFIER_CONTRACT_E_ID`"/> - </many-to-one> - <many-to-one name="substitutingClassifier" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SUBSTITUTION_SUBSTITUTINGCLASSIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`SUBSTITUTION_SUBSTITUTINGCLASSIFIER_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ClassifierTemplateParameterImpl" entity-name="ClassifierTemplateParameter" abstract="false" lazy="false" extends="TemplateParameter" discriminator-value="ClassifierTemplateParameter"> - <meta attribute="eclassName" inherit="false">ClassifierTemplateParameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="allowSubstitutable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ALLOWSUBSTITUTABLE`"/> - </property> - <bag name="constrainingClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLASSIFIERTEMPLATEPARAMETER_CONSTRAININGCLASSIFIER"> - <column name="`CLASSIFIERTEMPLATEPARAMETER_CONSTRAININGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ConnectorImpl" entity-name="Connector" abstract="false" lazy="false" extends="Feature" discriminator-value="Connector"> - <meta attribute="eclassName" inherit="false">Connector</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="contract" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONNECTOR_CONTRACT"> - <column name="`CONNECTOR_CONTRACT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Behavior"/> - </bag> - <list name="end" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CONNECTOR_END"> - <column name="`CONNECTOR_END_E_ID`" unique="false"/> - </key> - <list-index column="`CONNECTOR_END_IDX`"/> - <one-to-many entity-name="ConnectorEnd"/> - </list> - <bag name="redefinedConnector" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONNECTOR_REDEFINEDCONNECTOR"> - <column name="`CONNECTOR_REDEFINEDCONNECTOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Connector"/> - </bag> - <many-to-one name="type" entity-name="Association" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CONNECTOR_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ASSOCIATION_TYPE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ImageImpl" entity-name="Image" abstract="false" lazy="false" extends="Element" discriminator-value="Image"> - <meta attribute="eclassName" inherit="false">Image</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="content" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CONTENT`"/> - </property> - <property name="format" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FORMAT`"/> - </property> - <property name="location" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LOCATION`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.OpaqueExpressionImpl" entity-name="OpaqueExpression" abstract="false" lazy="false" extends="ValueSpecification" discriminator-value="OpaqueExpression"> - <meta attribute="eclassName" inherit="false">OpaqueExpression</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="behavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OPAQUEEXPRESSION_BEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_BEHAVIOR_E_ID`"/> - </many-to-one> - <list name="body" table="`OPAQUEEXPRESSION_BODY`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEEXPRESSION_BODY_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEEXPRESSION_BODY_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="language" table="`OPAQUEEXPRESSION_LANGUAGE`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEEXPRESSION_LANGUAGE_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEEXPRESSION_LANGUAGE_IDX`"/> - <element type="java.lang.String"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActivityNodeImpl" entity-name="ActivityNode" abstract="true" lazy="false" extends="RedefinableElement" discriminator-value="ActivityNode"> - <meta attribute="eclassName" inherit="false">ActivityNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="inPartition" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ACTIVITYNODE_ACTIVITYPARTITION`"> - <key update="true"> - <column name="`ACTIVITYNODE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityPartition" unique="false" foreign-key="ACTIVITYNODE_INPARTITION"> - <column name="`ACTIVITYPARTITION_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="inStructuredNode" entity-name="StructuredActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYNODE_INSTRUCTUREDNODE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYNODE_INSTRUCTUREDNODE_E_ID`"/> - </many-to-one> - <bag name="inInterruptibleRegion" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ACTIVITYNODE_INTERRUPTIBLEACTIVITYREGION`"> - <key update="true"> - <column name="`ACTIVITYNODE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="InterruptibleActivityRegion" unique="false" foreign-key="ACTIVITYNODE_ININTERRUPTIBLEREGION"> - <column name="`INTERRUPTIBLEACTIVITYREGION_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="outgoing" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`ACTIVITYEDGE_SOURCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <bag name="incoming" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`ACTIVITYEDGE_TARGET_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <bag name="redefinedNode" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ACTIVITYNODE_REDEFINEDNODE"> - <column name="`ACTIVITYNODE_REDEFINEDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityNode"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExecutableNodeImpl" entity-name="ExecutableNode" abstract="true" lazy="false" extends="ActivityNode" discriminator-value="ExecutableNode"> - <meta attribute="eclassName" inherit="false">ExecutableNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="handler" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EXCEPTIONHANDLER_PROTECTEDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExceptionHandler"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActionImpl" entity-name="Action" abstract="true" lazy="false" extends="ExecutableNode" discriminator-value="Action"> - <meta attribute="eclassName" inherit="false">Action</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isLocallyReentrant" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISLOCALLYREENTRANT`"/> - </property> - <bag name="localPostcondition" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTION_LOCALPOSTCONDITION"> - <column name="`ACTION_LOCALPOSTCONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <bag name="localPrecondition" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTION_LOCALPRECONDITION"> - <column name="`ACTION_LOCALPRECONDITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.AcceptEventActionImpl" entity-name="AcceptEventAction" abstract="false" lazy="false" extends="Action" discriminator-value="AcceptEventAction"> - <meta attribute="eclassName" inherit="false">AcceptEventAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isUnmarshall" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISUNMARSHALL`"/> - </property> - <bag name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACCEPTEVENTACTION_RESULT"> - <column name="`ACCEPTEVENTACTION_RESULT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="OutputPin"/> - </bag> - <bag name="trigger" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACCEPTEVENTACTION_TRIGGER"> - <column name="`ACCEPTEVENTACTION_TRIGGER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Trigger"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.AcceptCallActionImpl" entity-name="AcceptCallAction" abstract="false" lazy="false" extends="AcceptEventAction" discriminator-value="AcceptCallAction"> - <meta attribute="eclassName" inherit="false">AcceptCallAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="returnInformation" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="ACCEPTCALLACTION_RETURNINFORMATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RETURNINFORMATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActivityImpl" entity-name="Activity" abstract="false" lazy="false" extends="Behavior" discriminator-value="Activity"> - <meta attribute="eclassName" inherit="false">Activity</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="ownedGroup" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTIVITY_OWNEDGROUP"> - <column name="`ACTIVITY_OWNEDGROUP_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityGroup"/> - </bag> - <bag name="edge" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ACTIVITYEDGE_ACTIVITY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <bag name="variable" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`VARIABLE_ACTIVITYSCOPE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Variable"/> - </bag> - <bag name="ownedNode" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTIVITY_OWNEDNODE"> - <column name="`ACTIVITY_OWNEDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityNode"/> - </bag> - <property name="isReadOnly" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREADONLY`"/> - </property> - <property name="isSingleExecution" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISSINGLEEXECUTION`"/> - </property> - <bag name="partition" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ACTIVITY_PARTITION"> - <column name="`ACTIVITY_PARTITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityPartition"/> - </bag> - <bag name="structuredNode" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ACTIVITY_STRUCTUREDNODE"> - <column name="`ACTIVITY_STRUCTUREDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="StructuredActivityNode"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActivityGroupImpl" entity-name="ActivityGroup" abstract="true" lazy="false" extends="NamedElement" discriminator-value="ActivityGroup"> - <meta attribute="eclassName" inherit="false">ActivityGroup</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActivityEdgeImpl" entity-name="ActivityEdge" abstract="true" lazy="false" extends="RedefinableElement" discriminator-value="ActivityEdge"> - <meta attribute="eclassName" inherit="false">ActivityEdge</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="activity" entity-name="Activity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_ACTIVITY" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_ACTIVITY_E_ID`"/> - </many-to-one> - <many-to-one name="guard" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="ACTIVITYEDGE_GUARD" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_GUARD_E_ID`"/> - </many-to-one> - <bag name="inPartition" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ACTIVITYEDGE_ACTIVITYPARTITION`"> - <key update="true"> - <column name="`ACTIVITYEDGE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityPartition" unique="false" foreign-key="ACTIVITYEDGE_INPARTITION"> - <column name="`ACTIVITYPARTITION_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="inStructuredNode" entity-name="StructuredActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_INSTRUCTUREDNODE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_INSTRUCTUREDNODE_E_ID`"/> - </many-to-one> - <many-to-one name="interrupts" entity-name="InterruptibleActivityRegion" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_INTERRUPTS" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_INTERRUPTS_E_ID`"/> - </many-to-one> - <bag name="redefinedEdge" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ACTIVITYEDGE_REDEFINEDEDGE"> - <column name="`ACTIVITYEDGE_REDEFINEDEDGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <many-to-one name="source" entity-name="ActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_SOURCE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_SOURCE_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="ActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYEDGE_TARGET" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYEDGE_TARGET_E_ID`"/> - </many-to-one> - <many-to-one name="weight" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="ACTIVITYEDGE_WEIGHT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_WEIGHT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActivityPartitionImpl" entity-name="ActivityPartition" abstract="false" lazy="false" extends="ActivityGroup" discriminator-value="ActivityPartition"> - <meta attribute="eclassName" inherit="false">ActivityPartition</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isDimension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDIMENSION`"/> - </property> - <property name="isExternal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISEXTERNAL`"/> - </property> - <bag name="node" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ACTIVITYNODE_ACTIVITYPARTITION`"> - <key update="true"> - <column name="`ACTIVITYPARTITION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityNode" unique="false" foreign-key="ACTIVITYPARTITION_NODE"> - <column name="`ACTIVITYNODE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="represents" entity-name="Element" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYPARTITION_REPRESENTS" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ELEMENT_REPRESENTS_E_ID`"/> - </many-to-one> - <bag name="subpartition" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ACTIVITYPARTITION_SUPERPARTITION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityPartition"/> - </bag> - <many-to-one name="superPartition" entity-name="ActivityPartition" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYPARTITION_SUPERPARTITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTIVITYPARTITION_SUPERPARTITION_E_ID`"/> - </many-to-one> - <bag name="edge" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ACTIVITYEDGE_ACTIVITYPARTITION`"> - <key update="true"> - <column name="`ACTIVITYPARTITION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityEdge" unique="false" foreign-key="ACTIVITYPARTITION_EDGE"> - <column name="`ACTIVITYEDGE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StructuredActivityNodeImpl" entity-name="StructuredActivityNode" abstract="false" lazy="false" extends="Action" discriminator-value="StructuredActivityNode"> - <meta attribute="eclassName" inherit="false">StructuredActivityNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="elementImport" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ELEMENTIMPORT_IMPORTINGNAMESPACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ElementImport"/> - </bag> - <bag name="packageImport" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PACKAGEIMPORT_IMPORTINGNAMESPACE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageImport"/> - </bag> - <bag name="ownedRule" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONSTRAINT_CONTEXT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Constraint"/> - </bag> - <property name="mustIsolate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`MUSTISOLATE`"/> - </property> - <bag name="node" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ACTIVITYNODE_INSTRUCTUREDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityNode"/> - </bag> - <bag name="structuredNodeInput" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STRUCTUREDACTIVITYNODE_STRUCTUREDNODEINPUT"> - <column name="`STRUCTUREDACTIVITYNODE_STRUCTUREDNODEINPUT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InputPin"/> - </bag> - <bag name="structuredNodeOutput" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="STRUCTUREDACTIVITYNODE_STRUCTUREDNODEOUTPUT"> - <column name="`STRUCTUREDACTIVITYNODE_STRUCTUREDNODEOUTPUT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="OutputPin"/> - </bag> - <bag name="variable" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`VARIABLE_SCOPE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Variable"/> - </bag> - <bag name="edge" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ACTIVITYEDGE_INSTRUCTUREDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ObjectNodeImpl" entity-name="ObjectNode" abstract="true" lazy="false" extends="ActivityNode" discriminator-value="ObjectNode"> - <meta attribute="eclassName" inherit="false">ObjectNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="type" entity-name="Type" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OBJECTNODE_TYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TYPE_TYPE_E_ID`"/> - </many-to-one> - <bag name="inState" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="OBJECTNODE_INSTATE"> - <column name="`OBJECTNODE_INSTATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="State"/> - </bag> - <property name="isControlType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCONTROLTYPE`"/> - </property> - <property name="ordering" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`ORDERING`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.ObjectNodeOrderingKind</param> - <param name="eclassifier">ObjectNodeOrderingKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="selection" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OBJECTNODE_SELECTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_SELECTION_E_ID`"/> - </many-to-one> - <many-to-one name="upperBound" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="OBJECTNODE_UPPERBOUND" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERBOUND_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PinImpl" entity-name="Pin" abstract="true" lazy="false" extends="ObjectNode" discriminator-value="Pin"> - <meta attribute="eclassName" inherit="false">Pin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PIN_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="PIN_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - <property name="isControl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCONTROL`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InputPinImpl" entity-name="InputPin" abstract="false" lazy="false" extends="Pin" discriminator-value="InputPin"> - <meta attribute="eclassName" inherit="false">InputPin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.OutputPinImpl" entity-name="OutputPin" abstract="false" lazy="false" extends="Pin" discriminator-value="OutputPin"> - <meta attribute="eclassName" inherit="false">OutputPin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.VariableImpl" entity-name="Variable" abstract="false" lazy="false" extends="ConnectableElement" discriminator-value="Variable"> - <meta attribute="eclassName" inherit="false">Variable</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISORDERED`"/> - </property> - <property name="isUnique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISUNIQUE`"/> - </property> - <many-to-one name="lowerValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="VARIABLE_LOWERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_LOWERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="upperValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="VARIABLE_UPPERVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_UPPERVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="activityScope" entity-name="Activity" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VARIABLE_ACTIVITYSCOPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VARIABLE_ACTIVITYSCOPE_E_ID`"/> - </many-to-one> - <many-to-one name="scope" entity-name="StructuredActivityNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VARIABLE_SCOPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VARIABLE_SCOPE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InterruptibleActivityRegionImpl" entity-name="InterruptibleActivityRegion" abstract="false" lazy="false" extends="ActivityGroup" discriminator-value="InterruptibleActivityRegion"> - <meta attribute="eclassName" inherit="false">InterruptibleActivityRegion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="node" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ACTIVITYNODE_INTERRUPTIBLEACTIVITYREGION`"> - <key update="true"> - <column name="`INTERRUPTIBLEACTIVITYREGION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="ActivityNode" unique="false" foreign-key="INTERRUPTIBLEACTIVITYREGION_NODE"> - <column name="`ACTIVITYNODE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="interruptingEdge" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`ACTIVITYEDGE_INTERRUPTS_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExceptionHandlerImpl" entity-name="ExceptionHandler" abstract="false" lazy="false" extends="Element" discriminator-value="ExceptionHandler"> - <meta attribute="eclassName" inherit="false">ExceptionHandler</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="exceptionInput" entity-name="ObjectNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXCEPTIONHANDLER_EXCEPTIONINPUT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OBJECTNODE_EXCEPTIONINPUT_E_ID`"/> - </many-to-one> - <bag name="exceptionType" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="EXCEPTIONHANDLER_EXCEPTIONTYPE"> - <column name="`EXCEPTIONHANDLER_EXCEPTIONTYPE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <many-to-one name="handlerBody" entity-name="ExecutableNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXCEPTIONHANDLER_HANDLERBODY" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXECUTABLENODE_HANDLERBODY_E_ID`"/> - </many-to-one> - <many-to-one name="protectedNode" entity-name="ExecutableNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXCEPTIONHANDLER_PROTECTEDNODE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXCEPTIONHANDLER_PROTECTEDNODE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InteractionFragmentImpl" entity-name="InteractionFragment" abstract="true" lazy="false" extends="NamedElement" discriminator-value="InteractionFragment"> - <meta attribute="eclassName" inherit="false">InteractionFragment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="covered" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`INTERACTIONFRAGMENT_LIFELINE`"> - <key update="true"> - <column name="`INTERACTIONFRAGMENT_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Lifeline" unique="false" foreign-key="INTERACTIONFRAGMENT_COVERED"> - <column name="`LIFELINE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="enclosingInteraction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONFRAGMENT_ENCLOSINGINTERACTION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONFRAGMENT_ENCLOSINGINTERACTION_E_ID`"/> - </many-to-one> - <many-to-one name="enclosingOperand" entity-name="InteractionOperand" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONFRAGMENT_ENCLOSINGOPERAND" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONFRAGMENT_ENCLOSINGOPERAND_E_ID`"/> - </many-to-one> - <bag name="generalOrdering" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTIONFRAGMENT_GENERALORDERING"> - <column name="`INTERACTIONFRAGMENT_GENERALORDERING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExecutionSpecificationImpl" entity-name="ExecutionSpecification" abstract="true" lazy="false" extends="InteractionFragment" discriminator-value="ExecutionSpecification"> - <meta attribute="eclassName" inherit="false">ExecutionSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="finish" entity-name="OccurrenceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXECUTIONSPECIFICATION_FINISH" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OCCURRENCESPECIFICATION_FINISH_E_ID`"/> - </many-to-one> - <many-to-one name="start" entity-name="OccurrenceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXECUTIONSPECIFICATION_START" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OCCURRENCESPECIFICATION_START_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActionExecutionSpecificationImpl" entity-name="ActionExecutionSpecification" abstract="false" lazy="false" extends="ExecutionSpecification" discriminator-value="ActionExecutionSpecification"> - <meta attribute="eclassName" inherit="false">ActionExecutionSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="action" entity-name="Action" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIONEXECUTIONSPECIFICATION_ACTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTION_ACTION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LifelineImpl" entity-name="Lifeline" abstract="false" lazy="false" extends="NamedElement" discriminator-value="Lifeline"> - <meta attribute="eclassName" inherit="false">Lifeline</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="decomposedAs" entity-name="PartDecomposition" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LIFELINE_DECOMPOSEDAS" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARTDECOMPOSITION_DECOMPOSEDAS_E_ID`"/> - </many-to-one> - <many-to-one name="interaction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LIFELINE_INTERACTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`LIFELINE_INTERACTION_E_ID`"/> - </many-to-one> - <many-to-one name="represents" entity-name="ConnectableElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LIFELINE_REPRESENTS" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONNECTABLEELEMENT_REPRESENTS_E_ID`"/> - </many-to-one> - <many-to-one name="selector" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="LIFELINE_SELECTOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_SELECTOR_E_ID`"/> - </many-to-one> - <bag name="coveredBy" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`INTERACTIONFRAGMENT_LIFELINE`"> - <key update="true"> - <column name="`LIFELINE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="InteractionFragment" unique="false" foreign-key="LIFELINE_COVEREDBY"> - <column name="`INTERACTIONFRAGMENT_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InteractionUseImpl" entity-name="InteractionUse" abstract="false" lazy="false" extends="InteractionFragment" discriminator-value="InteractionUse"> - <meta attribute="eclassName" inherit="false">InteractionUse</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="actualGate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTIONUSE_ACTUALGATE"> - <column name="`INTERACTIONUSE_ACTUALGATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Gate"/> - </bag> - <list name="argument" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTIONUSE_ARGUMENT"> - <column name="`INTERACTIONUSE_ARGUMENT_E_ID`" unique="false"/> - </key> - <list-index column="`INTERACTIONUSE_ARGUMENT_IDX`"/> - <one-to-many entity-name="ValueSpecification"/> - </list> - <many-to-one name="refersTo" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONUSE_REFERSTO" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTION_REFERSTO_E_ID`"/> - </many-to-one> - <many-to-one name="returnValue" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="INTERACTIONUSE_RETURNVALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_RETURNVALUE_E_ID`"/> - </many-to-one> - <many-to-one name="returnValueRecipient" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONUSE_RETURNVALUERECIPIENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_RETURNVALUERECIPIENT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.PartDecompositionImpl" entity-name="PartDecomposition" abstract="false" lazy="false" extends="InteractionUse" discriminator-value="PartDecomposition"> - <meta attribute="eclassName" inherit="false">PartDecomposition</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.MessageEndImpl" entity-name="MessageEnd" abstract="true" lazy="false" extends="NamedElement" discriminator-value="MessageEnd"> - <meta attribute="eclassName" inherit="false">MessageEnd</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="message" entity-name="Message" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGEEND_MESSAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGE_MESSAGE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.GateImpl" entity-name="Gate" abstract="false" lazy="false" extends="MessageEnd" discriminator-value="Gate"> - <meta attribute="eclassName" inherit="false">Gate</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.MessageImpl" entity-name="Message" abstract="false" lazy="false" extends="NamedElement" discriminator-value="Message"> - <meta attribute="eclassName" inherit="false">Message</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="argument" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="MESSAGE_ARGUMENT"> - <column name="`MESSAGE_ARGUMENT_E_ID`" unique="false"/> - </key> - <list-index column="`MESSAGE_ARGUMENT_IDX`"/> - <one-to-many entity-name="ValueSpecification"/> - </list> - <many-to-one name="connector" entity-name="Connector" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_CONNECTOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONNECTOR_CONNECTOR_E_ID`"/> - </many-to-one> - <many-to-one name="interaction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_INTERACTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGE_INTERACTION_E_ID`"/> - </many-to-one> - <property name="messageSort" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`MESSAGESORT`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.MessageSort</param> - <param name="eclassifier">MessageSort</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <many-to-one name="receiveEvent" entity-name="MessageEnd" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_RECEIVEEVENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGEEND_RECEIVEEVENT_E_ID`"/> - </many-to-one> - <many-to-one name="sendEvent" entity-name="MessageEnd" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_SENDEVENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGEEND_SENDEVENT_E_ID`"/> - </many-to-one> - <many-to-one name="signature" entity-name="NamedElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGE_SIGNATURE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`NAMEDELEMENT_SIGNATURE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InteractionImpl" entity-name="Interaction" abstract="false" lazy="false" extends="Behavior" discriminator-value="Interaction"> - <meta attribute="eclassName" inherit="false">Interaction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="covered" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`INTERACTION_LIFELINE`"> - <key update="true"> - <column name="`INTERACTION_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Lifeline" unique="false" foreign-key="INTERACTION_COVERED"> - <column name="`LIFELINE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="enclosingInteraction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTION_ENCLOSINGINTERACTION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTION_ENCLOSINGINTERACTION_E_ID`"/> - </many-to-one> - <many-to-one name="enclosingOperand" entity-name="InteractionOperand" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTION_ENCLOSINGOPERAND" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTION_ENCLOSINGOPERAND_E_ID`"/> - </many-to-one> - <bag name="generalOrdering" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTION_GENERALORDERING"> - <column name="`INTERACTION_GENERALORDERING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - <bag name="action" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTION_ACTION"> - <column name="`INTERACTION_ACTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Action"/> - </bag> - <bag name="formalGate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTION_FORMALGATE"> - <column name="`INTERACTION_FORMALGATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Gate"/> - </bag> - <list name="fragment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERACTIONFRAGMENT_ENCLOSINGINTERACTION_E_ID`" unique="false"/> - </key> - <list-index column="`INTERACTION_FRAGMENT_IDX`"/> - <one-to-many entity-name="InteractionFragment"/> - </list> - <bag name="lifeline" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`LIFELINE_INTERACTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Lifeline"/> - </bag> - <bag name="message" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`MESSAGE_INTERACTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Message"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InteractionOperandImpl" entity-name="InteractionOperand" abstract="false" lazy="false" extends="Namespace" discriminator-value="InteractionOperand"> - <meta attribute="eclassName" inherit="false">InteractionOperand</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="covered" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`INTERACTIONOPERAND_LIFELINE`"> - <key update="true"> - <column name="`INTERACTIONOPERAND_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Lifeline" unique="false" foreign-key="INTERACTIONOPERAND_COVERED"> - <column name="`LIFELINE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="enclosingInteraction" entity-name="Interaction" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONOPERAND_ENCLOSINGINTERACTION" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONOPERAND_ENCLOSINGINTERACTION_E_ID`"/> - </many-to-one> - <many-to-one name="enclosingOperand" entity-name="InteractionOperand" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERACTIONOPERAND_ENCLOSINGOPERAND" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONOPERAND_ENCLOSINGOPERAND_E_ID`"/> - </many-to-one> - <bag name="generalOrdering" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INTERACTIONOPERAND_GENERALORDERING"> - <column name="`INTERACTIONOPERAND_GENERALORDERING_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - <many-to-one name="guard" entity-name="InteractionConstraint" lazy="false" cascade="all" foreign-key="INTERACTIONOPERAND_GUARD" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INTERACTIONCONSTRAINT_GUARD_E_ID`"/> - </many-to-one> - <list name="fragment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`INTERACTIONFRAGMENT_ENCLOSINGOPERAND_E_ID`" unique="false"/> - </key> - <list-index column="`INTERACTIONOPERAND_FRAGMENT_IDX`"/> - <one-to-many entity-name="InteractionFragment"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InteractionConstraintImpl" entity-name="InteractionConstraint" abstract="false" lazy="false" extends="Constraint" discriminator-value="InteractionConstraint"> - <meta attribute="eclassName" inherit="false">InteractionConstraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="maxint" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="INTERACTIONCONSTRAINT_MAXINT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_MAXINT_E_ID`"/> - </many-to-one> - <many-to-one name="minint" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="INTERACTIONCONSTRAINT_MININT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_MININT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.GeneralOrderingImpl" entity-name="GeneralOrdering" abstract="false" lazy="false" extends="NamedElement" discriminator-value="GeneralOrdering"> - <meta attribute="eclassName" inherit="false">GeneralOrdering</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="after" entity-name="OccurrenceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALORDERING_AFTER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`GENERALORDERING_AFTER_E_ID`"/> - </many-to-one> - <many-to-one name="before" entity-name="OccurrenceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GENERALORDERING_BEFORE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`GENERALORDERING_BEFORE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.OccurrenceSpecificationImpl" entity-name="OccurrenceSpecification" abstract="false" lazy="false" extends="InteractionFragment" discriminator-value="OccurrenceSpecification"> - <meta attribute="eclassName" inherit="false">OccurrenceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="toAfter" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`GENERALORDERING_BEFORE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - <bag name="toBefore" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`GENERALORDERING_AFTER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="GeneralOrdering"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActionInputPinImpl" entity-name="ActionInputPin" abstract="false" lazy="false" extends="InputPin" discriminator-value="ActionInputPin"> - <meta attribute="eclassName" inherit="false">ActionInputPin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="fromAction" entity-name="Action" lazy="false" cascade="all" foreign-key="ACTIONINPUTPIN_FROMACTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ACTION_FROMACTION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ControlNodeImpl" entity-name="ControlNode" abstract="true" lazy="false" extends="ActivityNode" discriminator-value="ControlNode"> - <meta attribute="eclassName" inherit="false">ControlNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.FinalNodeImpl" entity-name="FinalNode" abstract="true" lazy="false" extends="ControlNode" discriminator-value="FinalNode"> - <meta attribute="eclassName" inherit="false">FinalNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActivityFinalNodeImpl" entity-name="ActivityFinalNode" abstract="false" lazy="false" extends="FinalNode" discriminator-value="ActivityFinalNode"> - <meta attribute="eclassName" inherit="false">ActivityFinalNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActivityParameterNodeImpl" entity-name="ActivityParameterNode" abstract="false" lazy="false" extends="ObjectNode" discriminator-value="ActivityParameterNode"> - <meta attribute="eclassName" inherit="false">ActivityParameterNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="parameter" entity-name="Parameter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACTIVITYPARAMETERNODE_PARAMETER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PARAMETER_PARAMETER_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ActorImpl" entity-name="Actor" abstract="false" lazy="false" extends="BehavioredClassifier" discriminator-value="Actor"> - <meta attribute="eclassName" inherit="false">Actor</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StructuralFeatureActionImpl" entity-name="StructuralFeatureAction" abstract="true" lazy="false" extends="Action" discriminator-value="StructuralFeatureAction"> - <meta attribute="eclassName" inherit="false">StructuralFeatureAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="STRUCTURALFEATUREACTION_OBJECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <many-to-one name="structuralFeature" entity-name="StructuralFeature" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STRUCTURALFEATUREACTION_STRUCTURALFEATURE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`STRUCTURALFEATURE_STRUCTURALFEATURE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.WriteStructuralFeatureActionImpl" entity-name="WriteStructuralFeatureAction" abstract="true" lazy="false" extends="StructuralFeatureAction" discriminator-value="WriteStructuralFeatureAction"> - <meta attribute="eclassName" inherit="false">WriteStructuralFeatureAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="WRITESTRUCTURALFEATUREACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - <many-to-one name="value" entity-name="InputPin" lazy="false" cascade="all" foreign-key="WRITESTRUCTURALFEATUREACTION_VALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_VALUE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.AddStructuralFeatureValueActionImpl" entity-name="AddStructuralFeatureValueAction" abstract="false" lazy="false" extends="WriteStructuralFeatureAction" discriminator-value="AddStructuralFeatureValueAction"> - <meta attribute="eclassName" inherit="false">AddStructuralFeatureValueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="insertAt" entity-name="InputPin" lazy="false" cascade="all" foreign-key="ADDSTRUCTURALFEATUREVALUEACTION_INSERTAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_INSERTAT_E_ID`"/> - </many-to-one> - <property name="isReplaceAll" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREPLACEALL`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.VariableActionImpl" entity-name="VariableAction" abstract="true" lazy="false" extends="Action" discriminator-value="VariableAction"> - <meta attribute="eclassName" inherit="false">VariableAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="variable" entity-name="Variable" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VARIABLEACTION_VARIABLE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VARIABLE_VARIABLE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.WriteVariableActionImpl" entity-name="WriteVariableAction" abstract="true" lazy="false" extends="VariableAction" discriminator-value="WriteVariableAction"> - <meta attribute="eclassName" inherit="false">WriteVariableAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="value" entity-name="InputPin" lazy="false" cascade="all" foreign-key="WRITEVARIABLEACTION_VALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_VALUE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.AddVariableValueActionImpl" entity-name="AddVariableValueAction" abstract="false" lazy="false" extends="WriteVariableAction" discriminator-value="AddVariableValueAction"> - <meta attribute="eclassName" inherit="false">AddVariableValueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="insertAt" entity-name="InputPin" lazy="false" cascade="all" foreign-key="ADDVARIABLEVALUEACTION_INSERTAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_INSERTAT_E_ID`"/> - </many-to-one> - <property name="isReplaceAll" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREPLACEALL`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.MessageEventImpl" entity-name="MessageEvent" abstract="true" lazy="false" extends="Event" discriminator-value="MessageEvent"> - <meta attribute="eclassName" inherit="false">MessageEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.AnyReceiveEventImpl" entity-name="AnyReceiveEvent" abstract="false" lazy="false" extends="MessageEvent" discriminator-value="AnyReceiveEvent"> - <meta attribute="eclassName" inherit="false">AnyReceiveEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.AssociationClassImpl" entity-name="AssociationClass" abstract="false" lazy="false" extends="Class" discriminator-value="AssociationClass"> - <meta attribute="eclassName" inherit="false">AssociationClass</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isDerived" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDERIVED`"/> - </property> - <list name="memberEnd" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`PROPERTY_ASSOCIATION_E_ID`" unique="false"/> - </key> - <list-index column="`ASSOCIATIONCLASS_MEMBEREND_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <list name="ownedEnd" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`PROPERTY_OWNINGASSOCIATION_E_ID`" unique="false"/> - </key> - <list-index column="`ASSOCIATIONCLASS_OWNEDEND_IDX`"/> - <one-to-many entity-name="Property"/> - </list> - <bag name="navigableOwnedEnd" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="ASSOCIATIONCLASS_NAVIGABLEOWNEDEND"> - <column name="`ASSOCIATIONCLASS_NAVIGABLEOWNEDEND_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Property"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.BehaviorExecutionSpecificationImpl" entity-name="BehaviorExecutionSpecification" abstract="false" lazy="false" extends="ExecutionSpecification" discriminator-value="BehaviorExecutionSpecification"> - <meta attribute="eclassName" inherit="false">BehaviorExecutionSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="behavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BEHAVIOREXECUTIONSPECIFICATION_BEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_BEHAVIOR_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InvocationActionImpl" entity-name="InvocationAction" abstract="true" lazy="false" extends="Action" discriminator-value="InvocationAction"> - <meta attribute="eclassName" inherit="false">InvocationAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="argument" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="INVOCATIONACTION_ARGUMENT"> - <column name="`INVOCATIONACTION_ARGUMENT_E_ID`" unique="false"/> - </key> - <list-index column="`INVOCATIONACTION_ARGUMENT_IDX`"/> - <one-to-many entity-name="InputPin"/> - </list> - <many-to-one name="onPort" entity-name="Port" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INVOCATIONACTION_ONPORT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PORT_ONPORT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.BroadcastSignalActionImpl" entity-name="BroadcastSignalAction" abstract="false" lazy="false" extends="InvocationAction" discriminator-value="BroadcastSignalAction"> - <meta attribute="eclassName" inherit="false">BroadcastSignalAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="signal" entity-name="Signal" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BROADCASTSIGNALACTION_SIGNAL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`SIGNAL_SIGNAL_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CallActionImpl" entity-name="CallAction" abstract="true" lazy="false" extends="InvocationAction" discriminator-value="CallAction"> - <meta attribute="eclassName" inherit="false">CallAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isSynchronous" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISSYNCHRONOUS`"/> - </property> - <list name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CALLACTION_RESULT"> - <column name="`CALLACTION_RESULT_E_ID`" unique="false"/> - </key> - <list-index column="`CALLACTION_RESULT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CallBehaviorActionImpl" entity-name="CallBehaviorAction" abstract="false" lazy="false" extends="CallAction" discriminator-value="CallBehaviorAction"> - <meta attribute="eclassName" inherit="false">CallBehaviorAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="behavior" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CALLBEHAVIORACTION_BEHAVIOR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_BEHAVIOR_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CallEventImpl" entity-name="CallEvent" abstract="false" lazy="false" extends="MessageEvent" discriminator-value="CallEvent"> - <meta attribute="eclassName" inherit="false">CallEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="operation" entity-name="Operation" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CALLEVENT_OPERATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OPERATION_OPERATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CallOperationActionImpl" entity-name="CallOperationAction" abstract="false" lazy="false" extends="CallAction" discriminator-value="CallOperationAction"> - <meta attribute="eclassName" inherit="false">CallOperationAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="operation" entity-name="Operation" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CALLOPERATIONACTION_OPERATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OPERATION_OPERATION_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="InputPin" lazy="false" cascade="all" foreign-key="CALLOPERATIONACTION_TARGET" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_TARGET_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CentralBufferNodeImpl" entity-name="CentralBufferNode" abstract="false" lazy="false" extends="ObjectNode" discriminator-value="CentralBufferNode"> - <meta attribute="eclassName" inherit="false">CentralBufferNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ChangeEventImpl" entity-name="ChangeEvent" abstract="false" lazy="false" extends="Event" discriminator-value="ChangeEvent"> - <meta attribute="eclassName" inherit="false">ChangeEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="changeExpression" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="CHANGEEVENT_CHANGEEXPRESSION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_CHANGEEXPRESSION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ClauseImpl" entity-name="Clause" abstract="false" lazy="false" extends="Element" discriminator-value="Clause"> - <meta attribute="eclassName" inherit="false">Clause</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="body" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLAUSE_BODY"> - <column name="`CLAUSE_BODY_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - <list name="bodyOutput" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLAUSE_BODYOUTPUT"> - <column name="`CLAUSE_BODYOUTPUT_E_ID`" unique="false"/> - </key> - <list-index column="`CLAUSE_BODYOUTPUT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - <many-to-one name="decider" entity-name="OutputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLAUSE_DECIDER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_DECIDER_E_ID`"/> - </many-to-one> - <bag name="predecessorClause" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`CLAUSE_CLAUSE`"> - <key update="true"> - <column name="`CLAUSE_PREDECESSORCLAUSE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Clause" unique="false" foreign-key="CLAUSE_PREDECESSORCLAUSE"> - <column name="`CLAUSE_SUCCESSORCLAUSE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="successorClause" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`CLAUSE_CLAUSE`"> - <key update="true"> - <column name="`CLAUSE_SUCCESSORCLAUSE_E_ID`" unique="false"/> - </key> - <many-to-many entity-name="Clause" unique="false" foreign-key="CLAUSE_SUCCESSORCLAUSE"> - <column name="`CLAUSE_PREDECESSORCLAUSE_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="test" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CLAUSE_TEST"> - <column name="`CLAUSE_TEST_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ClearAssociationActionImpl" entity-name="ClearAssociationAction" abstract="false" lazy="false" extends="Action" discriminator-value="ClearAssociationAction"> - <meta attribute="eclassName" inherit="false">ClearAssociationAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="association" entity-name="Association" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CLEARASSOCIATIONACTION_ASSOCIATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ASSOCIATION_ASSOCIATION_E_ID`"/> - </many-to-one> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="CLEARASSOCIATIONACTION_OBJECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ClearStructuralFeatureActionImpl" entity-name="ClearStructuralFeatureAction" abstract="false" lazy="false" extends="StructuralFeatureAction" discriminator-value="ClearStructuralFeatureAction"> - <meta attribute="eclassName" inherit="false">ClearStructuralFeatureAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="CLEARSTRUCTURALFEATUREACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ClearVariableActionImpl" entity-name="ClearVariableAction" abstract="false" lazy="false" extends="VariableAction" discriminator-value="ClearVariableAction"> - <meta attribute="eclassName" inherit="false">ClearVariableAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CombinedFragmentImpl" entity-name="CombinedFragment" abstract="false" lazy="false" extends="InteractionFragment" discriminator-value="CombinedFragment"> - <meta attribute="eclassName" inherit="false">CombinedFragment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="cfragmentGate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COMBINEDFRAGMENT_CFRAGMENTGATE"> - <column name="`COMBINEDFRAGMENT_CFRAGMENTGATE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Gate"/> - </bag> - <property name="interactionOperator" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`INTERACTIONOPERATOR`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.InteractionOperatorKind</param> - <param name="eclassifier">InteractionOperatorKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <list name="operand" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COMBINEDFRAGMENT_OPERAND"> - <column name="`COMBINEDFRAGMENT_OPERAND_E_ID`" unique="false"/> - </key> - <list-index column="`COMBINEDFRAGMENT_OPERAND_IDX`"/> - <one-to-many entity-name="InteractionOperand"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CommunicationPathImpl" entity-name="CommunicationPath" abstract="false" lazy="false" extends="Association" discriminator-value="CommunicationPath"> - <meta attribute="eclassName" inherit="false">CommunicationPath</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ComponentImpl" entity-name="Component" abstract="false" lazy="false" extends="Class" discriminator-value="Component"> - <meta attribute="eclassName" inherit="false">Component</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isIndirectlyInstantiated" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISINDIRECTLYINSTANTIATED`"/> - </property> - <bag name="packagedElement" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="COMPONENT_PACKAGEDELEMENT"> - <column name="`COMPONENT_PACKAGEDELEMENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="PackageableElement"/> - </bag> - <bag name="realization" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`COMPONENTREALIZATION_ABSTRACTION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ComponentRealization"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ComponentRealizationImpl" entity-name="ComponentRealization" abstract="false" lazy="false" extends="Realization" discriminator-value="ComponentRealization"> - <meta attribute="eclassName" inherit="false">ComponentRealization</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="realizingClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="COMPONENTREALIZATION_REALIZINGCLASSIFIER"> - <column name="`COMPONENTREALIZATION_REALIZINGCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <many-to-one name="abstraction" entity-name="Component" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="COMPONENTREALIZATION_ABSTRACTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`COMPONENTREALIZATION_ABSTRACTION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ConditionalNodeImpl" entity-name="ConditionalNode" abstract="false" lazy="false" extends="StructuredActivityNode" discriminator-value="ConditionalNode"> - <meta attribute="eclassName" inherit="false">ConditionalNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="clause" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CONDITIONALNODE_CLAUSE"> - <column name="`CONDITIONALNODE_CLAUSE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Clause"/> - </bag> - <property name="isAssured" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISASSURED`"/> - </property> - <property name="isDeterminate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDETERMINATE`"/> - </property> - <list name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="CONDITIONALNODE_RESULT"> - <column name="`CONDITIONALNODE_RESULT_E_ID`" unique="false"/> - </key> - <list-index column="`CONDITIONALNODE_RESULT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ConsiderIgnoreFragmentImpl" entity-name="ConsiderIgnoreFragment" abstract="false" lazy="false" extends="CombinedFragment" discriminator-value="ConsiderIgnoreFragment"> - <meta attribute="eclassName" inherit="false">ConsiderIgnoreFragment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="message" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="CONSIDERIGNOREFRAGMENT_MESSAGE"> - <column name="`CONSIDERIGNOREFRAGMENT_MESSAGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ContinuationImpl" entity-name="Continuation" abstract="false" lazy="false" extends="InteractionFragment" discriminator-value="Continuation"> - <meta attribute="eclassName" inherit="false">Continuation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="setting" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`SETTING`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ControlFlowImpl" entity-name="ControlFlow" abstract="false" lazy="false" extends="ActivityEdge" discriminator-value="ControlFlow"> - <meta attribute="eclassName" inherit="false">ControlFlow</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LinkActionImpl" entity-name="LinkAction" abstract="true" lazy="false" extends="Action" discriminator-value="LinkAction"> - <meta attribute="eclassName" inherit="false">LinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="endData" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LINKACTION_ENDDATA"> - <column name="`LINKACTION_ENDDATA_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="LinkEndData"/> - </bag> - <bag name="inputValue" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LINKACTION_INPUTVALUE"> - <column name="`LINKACTION_INPUTVALUE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InputPin"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.WriteLinkActionImpl" entity-name="WriteLinkAction" abstract="true" lazy="false" extends="LinkAction" discriminator-value="WriteLinkAction"> - <meta attribute="eclassName" inherit="false">WriteLinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CreateLinkActionImpl" entity-name="CreateLinkAction" abstract="false" lazy="false" extends="WriteLinkAction" discriminator-value="CreateLinkAction"> - <meta attribute="eclassName" inherit="false">CreateLinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LinkEndDataImpl" entity-name="LinkEndData" abstract="false" lazy="false" extends="Element" discriminator-value="LinkEndData"> - <meta attribute="eclassName" inherit="false">LinkEndData</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="end" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LINKENDDATA_END" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_END_E_ID`"/> - </many-to-one> - <bag name="qualifier" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LINKENDDATA_QUALIFIER"> - <column name="`LINKENDDATA_QUALIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="QualifierValue"/> - </bag> - <many-to-one name="value" entity-name="InputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LINKENDDATA_VALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_VALUE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.QualifierValueImpl" entity-name="QualifierValue" abstract="false" lazy="false" extends="Element" discriminator-value="QualifierValue"> - <meta attribute="eclassName" inherit="false">QualifierValue</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="qualifier" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="QUALIFIERVALUE_QUALIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_QUALIFIER_E_ID`"/> - </many-to-one> - <many-to-one name="value" entity-name="InputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="QUALIFIERVALUE_VALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_VALUE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LinkEndCreationDataImpl" entity-name="LinkEndCreationData" abstract="false" lazy="false" extends="LinkEndData" discriminator-value="LinkEndCreationData"> - <meta attribute="eclassName" inherit="false">LinkEndCreationData</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="insertAt" entity-name="InputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LINKENDCREATIONDATA_INSERTAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_INSERTAT_E_ID`"/> - </many-to-one> - <property name="isReplaceAll" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREPLACEALL`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CreateLinkObjectActionImpl" entity-name="CreateLinkObjectAction" abstract="false" lazy="false" extends="CreateLinkAction" discriminator-value="CreateLinkObjectAction"> - <meta attribute="eclassName" inherit="false">CreateLinkObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="CREATELINKOBJECTACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.CreateObjectActionImpl" entity-name="CreateObjectAction" abstract="false" lazy="false" extends="Action" discriminator-value="CreateObjectAction"> - <meta attribute="eclassName" inherit="false">CreateObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="classifier" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CREATEOBJECTACTION_CLASSIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CLASSIFIER_CLASSIFIER_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="CREATEOBJECTACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DataStoreNodeImpl" entity-name="DataStoreNode" abstract="false" lazy="false" extends="CentralBufferNode" discriminator-value="DataStoreNode"> - <meta attribute="eclassName" inherit="false">DataStoreNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DecisionNodeImpl" entity-name="DecisionNode" abstract="false" lazy="false" extends="ControlNode" discriminator-value="DecisionNode"> - <meta attribute="eclassName" inherit="false">DecisionNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="decisionInput" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DECISIONNODE_DECISIONINPUT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_DECISIONINPUT_E_ID`"/> - </many-to-one> - <many-to-one name="decisionInputFlow" entity-name="ObjectFlow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DECISIONNODE_DECISIONINPUTFLOW" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OBJECTFLOW_DECISIONINPUTFLOW_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ObjectFlowImpl" entity-name="ObjectFlow" abstract="false" lazy="false" extends="ActivityEdge" discriminator-value="ObjectFlow"> - <meta attribute="eclassName" inherit="false">ObjectFlow</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isMulticast" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISMULTICAST`"/> - </property> - <property name="isMultireceive" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISMULTIRECEIVE`"/> - </property> - <many-to-one name="selection" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OBJECTFLOW_SELECTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_SELECTION_E_ID`"/> - </many-to-one> - <many-to-one name="transformation" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="OBJECTFLOW_TRANSFORMATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_TRANSFORMATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DestroyLinkActionImpl" entity-name="DestroyLinkAction" abstract="false" lazy="false" extends="WriteLinkAction" discriminator-value="DestroyLinkAction"> - <meta attribute="eclassName" inherit="false">DestroyLinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LinkEndDestructionDataImpl" entity-name="LinkEndDestructionData" abstract="false" lazy="false" extends="LinkEndData" discriminator-value="LinkEndDestructionData"> - <meta attribute="eclassName" inherit="false">LinkEndDestructionData</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="destroyAt" entity-name="InputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LINKENDDESTRUCTIONDATA_DESTROYAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_DESTROYAT_E_ID`"/> - </many-to-one> - <property name="isDestroyDuplicates" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDESTROYDUPLICATES`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DestroyObjectActionImpl" entity-name="DestroyObjectAction" abstract="false" lazy="false" extends="Action" discriminator-value="DestroyObjectAction"> - <meta attribute="eclassName" inherit="false">DestroyObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isDestroyLinks" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDESTROYLINKS`"/> - </property> - <property name="isDestroyOwnedObjects" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDESTROYOWNEDOBJECTS`"/> - </property> - <many-to-one name="target" entity-name="InputPin" lazy="false" cascade="all" foreign-key="DESTROYOBJECTACTION_TARGET" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_TARGET_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.MessageOccurrenceSpecificationImpl" entity-name="MessageOccurrenceSpecification" abstract="false" lazy="false" extends="OccurrenceSpecification" discriminator-value="MessageOccurrenceSpecification"> - <meta attribute="eclassName" inherit="false">MessageOccurrenceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="message" entity-name="Message" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MESSAGEOCCURRENCESPECIFICATION_MESSAGE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`MESSAGE_MESSAGE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DestructionOccurrenceSpecificationImpl" entity-name="DestructionOccurrenceSpecification" abstract="false" lazy="false" extends="MessageOccurrenceSpecification" discriminator-value="DestructionOccurrenceSpecification"> - <meta attribute="eclassName" inherit="false">DestructionOccurrenceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.NodeImpl" entity-name="Node" abstract="false" lazy="false" extends="Class" discriminator-value="Node"> - <meta attribute="eclassName" inherit="false">Node</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="deployment" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DEPLOYMENT_LOCATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Deployment"/> - </bag> - <bag name="nestedNode" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="NODE_NESTEDNODE"> - <column name="`NODE_NESTEDNODE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Node"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DeviceImpl" entity-name="Device" abstract="false" lazy="false" extends="Node" discriminator-value="Device"> - <meta attribute="eclassName" inherit="false">Device</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DurationImpl" entity-name="Duration" abstract="false" lazy="false" extends="ValueSpecification" discriminator-value="Duration"> - <meta attribute="eclassName" inherit="false">Duration</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="expr" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="DURATION_EXPR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_EXPR_E_ID`"/> - </many-to-one> - <bag name="observation" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="DURATION_OBSERVATION"> - <column name="`DURATION_OBSERVATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Observation"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ObservationImpl" entity-name="Observation" abstract="true" lazy="false" extends="PackageableElement" discriminator-value="Observation"> - <meta attribute="eclassName" inherit="false">Observation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.IntervalConstraintImpl" entity-name="IntervalConstraint" abstract="false" lazy="false" extends="Constraint" discriminator-value="IntervalConstraint"> - <meta attribute="eclassName" inherit="false">IntervalConstraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DurationConstraintImpl" entity-name="DurationConstraint" abstract="false" lazy="false" extends="IntervalConstraint" discriminator-value="DurationConstraint"> - <meta attribute="eclassName" inherit="false">DurationConstraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="firstEvent" table="`DURATIONCONSTRAINT_FIRSTEVENT`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DURATIONCONSTRAINT_FIRSTEVENT_E_ID`" unique="false"/> - </key> - <element type="boolean"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.IntervalImpl" entity-name="Interval" abstract="false" lazy="false" extends="ValueSpecification" discriminator-value="Interval"> - <meta attribute="eclassName" inherit="false">Interval</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="max" entity-name="ValueSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERVAL_MAX" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_MAX_E_ID`"/> - </many-to-one> - <many-to-one name="min" entity-name="ValueSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INTERVAL_MIN" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_MIN_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DurationIntervalImpl" entity-name="DurationInterval" abstract="false" lazy="false" extends="Interval" discriminator-value="DurationInterval"> - <meta attribute="eclassName" inherit="false">DurationInterval</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.DurationObservationImpl" entity-name="DurationObservation" abstract="false" lazy="false" extends="Observation" discriminator-value="DurationObservation"> - <meta attribute="eclassName" inherit="false">DurationObservation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="event" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="DURATIONOBSERVATION_EVENT"> - <column name="`DURATIONOBSERVATION_EVENT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - <bag name="firstEvent" table="`DURATIONOBSERVATION_FIRSTEVENT`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DURATIONOBSERVATION_FIRSTEVENT_E_ID`" unique="false"/> - </key> - <element type="boolean"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExecutionEnvironmentImpl" entity-name="ExecutionEnvironment" abstract="false" lazy="false" extends="Node" discriminator-value="ExecutionEnvironment"> - <meta attribute="eclassName" inherit="false">ExecutionEnvironment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExecutionOccurrenceSpecificationImpl" entity-name="ExecutionOccurrenceSpecification" abstract="false" lazy="false" extends="OccurrenceSpecification" discriminator-value="ExecutionOccurrenceSpecification"> - <meta attribute="eclassName" inherit="false">ExecutionOccurrenceSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="execution" entity-name="ExecutionSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXECUTIONOCCURRENCESPECIFICATION_EXECUTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXECUTIONSPECIFICATION_EXECUTION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExpansionNodeImpl" entity-name="ExpansionNode" abstract="false" lazy="false" extends="ObjectNode" discriminator-value="ExpansionNode"> - <meta attribute="eclassName" inherit="false">ExpansionNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="regionAsInput" entity-name="ExpansionRegion" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXPANSIONNODE_REGIONASINPUT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXPANSIONNODE_REGIONASINPUT_E_ID`"/> - </many-to-one> - <many-to-one name="regionAsOutput" entity-name="ExpansionRegion" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EXPANSIONNODE_REGIONASOUTPUT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`EXPANSIONNODE_REGIONASOUTPUT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ExpansionRegionImpl" entity-name="ExpansionRegion" abstract="false" lazy="false" extends="StructuredActivityNode" discriminator-value="ExpansionRegion"> - <meta attribute="eclassName" inherit="false">ExpansionRegion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="mode" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`MODE`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.uml2.uml.ExpansionKind</param> - <param name="eclassifier">ExpansionKind</param> - <param name="epackage">http://www.eclipse.org/uml2/4.0.0/UML</param> - </type> - </property> - <bag name="outputElement" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`EXPANSIONNODE_REGIONASOUTPUT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExpansionNode"/> - </bag> - <bag name="inputElement" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true"> - <column name="`EXPANSIONNODE_REGIONASINPUT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExpansionNode"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.FinalStateImpl" entity-name="FinalState" abstract="false" lazy="false" extends="State" discriminator-value="FinalState"> - <meta attribute="eclassName" inherit="false">FinalState</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.FlowFinalNodeImpl" entity-name="FlowFinalNode" abstract="false" lazy="false" extends="FinalNode" discriminator-value="FlowFinalNode"> - <meta attribute="eclassName" inherit="false">FlowFinalNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ForkNodeImpl" entity-name="ForkNode" abstract="false" lazy="false" extends="ControlNode" discriminator-value="ForkNode"> - <meta attribute="eclassName" inherit="false">ForkNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.OpaqueBehaviorImpl" entity-name="OpaqueBehavior" abstract="false" lazy="false" extends="Behavior" discriminator-value="OpaqueBehavior"> - <meta attribute="eclassName" inherit="false">OpaqueBehavior</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="body" table="`OPAQUEBEHAVIOR_BODY`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEBEHAVIOR_BODY_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEBEHAVIOR_BODY_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="language" table="`OPAQUEBEHAVIOR_LANGUAGE`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEBEHAVIOR_LANGUAGE_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEBEHAVIOR_LANGUAGE_IDX`"/> - <element type="java.lang.String"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.FunctionBehaviorImpl" entity-name="FunctionBehavior" abstract="false" lazy="false" extends="OpaqueBehavior" discriminator-value="FunctionBehavior"> - <meta attribute="eclassName" inherit="false">FunctionBehavior</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InformationFlowImpl" entity-name="InformationFlow" abstract="false" lazy="false" extends="PackageableElement" discriminator-value="InformationFlow"> - <meta attribute="eclassName" inherit="false">InformationFlow</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="conveyed" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_CONVEYED"> - <column name="`INFORMATIONFLOW_CONVEYED_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <bag name="informationSource" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_INFORMATIONSOURCE"> - <column name="`INFORMATIONFLOW_INFORMATIONSOURCE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - <bag name="informationTarget" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_INFORMATIONTARGET"> - <column name="`INFORMATIONFLOW_INFORMATIONTARGET_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="NamedElement"/> - </bag> - <bag name="realization" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_REALIZATION"> - <column name="`INFORMATIONFLOW_REALIZATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Relationship"/> - </bag> - <bag name="realizingActivityEdge" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_REALIZINGACTIVITYEDGE"> - <column name="`INFORMATIONFLOW_REALIZINGACTIVITYEDGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ActivityEdge"/> - </bag> - <bag name="realizingConnector" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_REALIZINGCONNECTOR"> - <column name="`INFORMATIONFLOW_REALIZINGCONNECTOR_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Connector"/> - </bag> - <bag name="realizingMessage" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONFLOW_REALIZINGMESSAGE"> - <column name="`INFORMATIONFLOW_REALIZINGMESSAGE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Message"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InformationItemImpl" entity-name="InformationItem" abstract="false" lazy="false" extends="Classifier" discriminator-value="InformationItem"> - <meta attribute="eclassName" inherit="false">InformationItem</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <bag name="represented" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="INFORMATIONITEM_REPRESENTED"> - <column name="`INFORMATIONITEM_REPRESENTED_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InitialNodeImpl" entity-name="InitialNode" abstract="false" lazy="false" extends="ControlNode" discriminator-value="InitialNode"> - <meta attribute="eclassName" inherit="false">InitialNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.InstanceValueImpl" entity-name="InstanceValue" abstract="false" lazy="false" extends="ValueSpecification" discriminator-value="InstanceValue"> - <meta attribute="eclassName" inherit="false">InstanceValue</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="instance" entity-name="InstanceSpecification" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="INSTANCEVALUE_INSTANCE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INSTANCESPECIFICATION_INSTANCE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.JoinNodeImpl" entity-name="JoinNode" abstract="false" lazy="false" extends="ControlNode" discriminator-value="JoinNode"> - <meta attribute="eclassName" inherit="false">JoinNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isCombineDuplicate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCOMBINEDUPLICATE`"/> - </property> - <many-to-one name="joinSpec" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="JOINNODE_JOINSPEC" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_JOINSPEC_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LiteralSpecificationImpl" entity-name="LiteralSpecification" abstract="true" lazy="false" extends="ValueSpecification" discriminator-value="LiteralSpecification"> - <meta attribute="eclassName" inherit="false">LiteralSpecification</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LiteralBooleanImpl" entity-name="LiteralBoolean" abstract="false" lazy="false" extends="LiteralSpecification" discriminator-value="LiteralBoolean"> - <meta attribute="eclassName" inherit="false">LiteralBoolean</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LiteralIntegerImpl" entity-name="LiteralInteger" abstract="false" lazy="false" extends="LiteralSpecification" discriminator-value="LiteralInteger"> - <meta attribute="eclassName" inherit="false">LiteralInteger</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LiteralNullImpl" entity-name="LiteralNull" abstract="false" lazy="false" extends="LiteralSpecification" discriminator-value="LiteralNull"> - <meta attribute="eclassName" inherit="false">LiteralNull</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LiteralRealImpl" entity-name="LiteralReal" abstract="false" lazy="false" extends="LiteralSpecification" discriminator-value="LiteralReal"> - <meta attribute="eclassName" inherit="false">LiteralReal</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LiteralStringImpl" entity-name="LiteralString" abstract="false" lazy="false" extends="LiteralSpecification" discriminator-value="LiteralString"> - <meta attribute="eclassName" inherit="false">LiteralString</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LiteralUnlimitedNaturalImpl" entity-name="LiteralUnlimitedNatural" abstract="false" lazy="false" extends="LiteralSpecification" discriminator-value="LiteralUnlimitedNatural"> - <meta attribute="eclassName" inherit="false">LiteralUnlimitedNatural</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.LoopNodeImpl" entity-name="LoopNode" abstract="false" lazy="false" extends="StructuredActivityNode" discriminator-value="LoopNode"> - <meta attribute="eclassName" inherit="false">LoopNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="bodyOutput" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_BODYOUTPUT"> - <column name="`LOOPNODE_BODYOUTPUT_E_ID`" unique="false"/> - </key> - <list-index column="`LOOPNODE_BODYOUTPUT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - <bag name="bodyPart" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_BODYPART"> - <column name="`LOOPNODE_BODYPART_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - <many-to-one name="decider" entity-name="OutputPin" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="LOOPNODE_DECIDER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_DECIDER_E_ID`"/> - </many-to-one> - <property name="isTestedFirst" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISTESTEDFIRST`"/> - </property> - <list name="loopVariable" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_LOOPVARIABLE"> - <column name="`LOOPNODE_LOOPVARIABLE_E_ID`" unique="false"/> - </key> - <list-index column="`LOOPNODE_LOOPVARIABLE_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - <list name="loopVariableInput" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LOOPNODE_LOOPVARIABLEINPUT"> - <column name="`LOOPNODE_LOOPVARIABLEINPUT_E_ID`" unique="false"/> - </key> - <list-index column="`LOOPNODE_LOOPVARIABLEINPUT_IDX`"/> - <one-to-many entity-name="InputPin"/> - </list> - <list name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="LOOPNODE_RESULT"> - <column name="`LOOPNODE_RESULT_E_ID`" unique="false"/> - </key> - <list-index column="`LOOPNODE_RESULT_IDX`"/> - <one-to-many entity-name="OutputPin"/> - </list> - <bag name="setupPart" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_SETUPPART"> - <column name="`LOOPNODE_SETUPPART_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - <bag name="test" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="LOOPNODE_TEST"> - <column name="`LOOPNODE_TEST_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="ExecutableNode"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.MergeNodeImpl" entity-name="MergeNode" abstract="false" lazy="false" extends="ControlNode" discriminator-value="MergeNode"> - <meta attribute="eclassName" inherit="false">MergeNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.OpaqueActionImpl" entity-name="OpaqueAction" abstract="false" lazy="false" extends="Action" discriminator-value="OpaqueAction"> - <meta attribute="eclassName" inherit="false">OpaqueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="body" table="`OPAQUEACTION_BODY`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEACTION_BODY_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEACTION_BODY_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="inputValue" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="OPAQUEACTION_INPUTVALUE"> - <column name="`OPAQUEACTION_INPUTVALUE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InputPin"/> - </bag> - <list name="language" table="`OPAQUEACTION_LANGUAGE`" lazy="true" cascade="all"> - <key update="true"> - <column name="`OPAQUEACTION_LANGUAGE_E_ID`" unique="false"/> - </key> - <list-index column="`OPAQUEACTION_LANGUAGE_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="outputValue" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="OPAQUEACTION_OUTPUTVALUE"> - <column name="`OPAQUEACTION_OUTPUTVALUE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="OutputPin"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ProtocolTransitionImpl" entity-name="ProtocolTransition" abstract="false" lazy="false" extends="Transition" discriminator-value="ProtocolTransition"> - <meta attribute="eclassName" inherit="false">ProtocolTransition</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="postCondition" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROTOCOLTRANSITION_POSTCONDITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_POSTCONDITION_E_ID`"/> - </many-to-one> - <many-to-one name="preCondition" entity-name="Constraint" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PROTOCOLTRANSITION_PRECONDITION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_PRECONDITION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.RaiseExceptionActionImpl" entity-name="RaiseExceptionAction" abstract="false" lazy="false" extends="Action" discriminator-value="RaiseExceptionAction"> - <meta attribute="eclassName" inherit="false">RaiseExceptionAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="exception" entity-name="InputPin" lazy="false" cascade="all" foreign-key="RAISEEXCEPTIONACTION_EXCEPTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_EXCEPTION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReadExtentActionImpl" entity-name="ReadExtentAction" abstract="false" lazy="false" extends="Action" discriminator-value="ReadExtentAction"> - <meta attribute="eclassName" inherit="false">ReadExtentAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="classifier" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="READEXTENTACTION_CLASSIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CLASSIFIER_CLASSIFIER_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READEXTENTACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReadIsClassifiedObjectActionImpl" entity-name="ReadIsClassifiedObjectAction" abstract="false" lazy="false" extends="Action" discriminator-value="ReadIsClassifiedObjectAction"> - <meta attribute="eclassName" inherit="false">ReadIsClassifiedObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="classifier" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="READISCLASSIFIEDOBJECTACTION_CLASSIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CLASSIFIER_CLASSIFIER_E_ID`"/> - </many-to-one> - <property name="isDirect" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISDIRECT`"/> - </property> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="READISCLASSIFIEDOBJECTACTION_OBJECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READISCLASSIFIEDOBJECTACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReadLinkActionImpl" entity-name="ReadLinkAction" abstract="false" lazy="false" extends="LinkAction" discriminator-value="ReadLinkAction"> - <meta attribute="eclassName" inherit="false">ReadLinkAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READLINKACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReadLinkObjectEndActionImpl" entity-name="ReadLinkObjectEndAction" abstract="false" lazy="false" extends="Action" discriminator-value="ReadLinkObjectEndAction"> - <meta attribute="eclassName" inherit="false">ReadLinkObjectEndAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="end" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="READLINKOBJECTENDACTION_END" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_END_E_ID`"/> - </many-to-one> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="READLINKOBJECTENDACTION_OBJECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READLINKOBJECTENDACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReadLinkObjectEndQualifierActionImpl" entity-name="ReadLinkObjectEndQualifierAction" abstract="false" lazy="false" extends="Action" discriminator-value="ReadLinkObjectEndQualifierAction"> - <meta attribute="eclassName" inherit="false">ReadLinkObjectEndQualifierAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="READLINKOBJECTENDQUALIFIERACTION_OBJECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <many-to-one name="qualifier" entity-name="Property" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="READLINKOBJECTENDQUALIFIERACTION_QUALIFIER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`PROPERTY_QUALIFIER_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READLINKOBJECTENDQUALIFIERACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReadSelfActionImpl" entity-name="ReadSelfAction" abstract="false" lazy="false" extends="Action" discriminator-value="ReadSelfAction"> - <meta attribute="eclassName" inherit="false">ReadSelfAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READSELFACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReadStructuralFeatureActionImpl" entity-name="ReadStructuralFeatureAction" abstract="false" lazy="false" extends="StructuralFeatureAction" discriminator-value="ReadStructuralFeatureAction"> - <meta attribute="eclassName" inherit="false">ReadStructuralFeatureAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READSTRUCTURALFEATUREACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReadVariableActionImpl" entity-name="ReadVariableAction" abstract="false" lazy="false" extends="VariableAction" discriminator-value="ReadVariableAction"> - <meta attribute="eclassName" inherit="false">ReadVariableAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="READVARIABLEACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReclassifyObjectActionImpl" entity-name="ReclassifyObjectAction" abstract="false" lazy="false" extends="Action" discriminator-value="ReclassifyObjectAction"> - <meta attribute="eclassName" inherit="false">ReclassifyObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isReplaceAll" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREPLACEALL`"/> - </property> - <bag name="newClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="RECLASSIFYOBJECTACTION_NEWCLASSIFIER"> - <column name="`RECLASSIFYOBJECTACTION_NEWCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="RECLASSIFYOBJECTACTION_OBJECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <bag name="oldClassifier" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="RECLASSIFYOBJECTACTION_OLDCLASSIFIER"> - <column name="`RECLASSIFYOBJECTACTION_OLDCLASSIFIER_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Classifier"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReduceActionImpl" entity-name="ReduceAction" abstract="false" lazy="false" extends="Action" discriminator-value="ReduceAction"> - <meta attribute="eclassName" inherit="false">ReduceAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="collection" entity-name="InputPin" lazy="false" cascade="all" foreign-key="REDUCEACTION_COLLECTION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_COLLECTION_E_ID`"/> - </many-to-one> - <property name="isOrdered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISORDERED`"/> - </property> - <many-to-one name="reducer" entity-name="Behavior" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REDUCEACTION_REDUCER" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`BEHAVIOR_REDUCER_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="REDUCEACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.RemoveStructuralFeatureValueActionImpl" entity-name="RemoveStructuralFeatureValueAction" abstract="false" lazy="false" extends="WriteStructuralFeatureAction" discriminator-value="RemoveStructuralFeatureValueAction"> - <meta attribute="eclassName" inherit="false">RemoveStructuralFeatureValueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isRemoveDuplicates" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREMOVEDUPLICATES`"/> - </property> - <many-to-one name="removeAt" entity-name="InputPin" lazy="false" cascade="all" foreign-key="REMOVESTRUCTURALFEATUREVALUEACTION_REMOVEAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_REMOVEAT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.RemoveVariableValueActionImpl" entity-name="RemoveVariableValueAction" abstract="false" lazy="false" extends="WriteVariableAction" discriminator-value="RemoveVariableValueAction"> - <meta attribute="eclassName" inherit="false">RemoveVariableValueAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isRemoveDuplicates" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISREMOVEDUPLICATES`"/> - </property> - <many-to-one name="removeAt" entity-name="InputPin" lazy="false" cascade="all" foreign-key="REMOVEVARIABLEVALUEACTION_REMOVEAT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_REMOVEAT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ReplyActionImpl" entity-name="ReplyAction" abstract="false" lazy="false" extends="Action" discriminator-value="ReplyAction"> - <meta attribute="eclassName" inherit="false">ReplyAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="replyToCall" entity-name="Trigger" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="REPLYACTION_REPLYTOCALL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TRIGGER_REPLYTOCALL_E_ID`"/> - </many-to-one> - <bag name="replyValue" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="REPLYACTION_REPLYVALUE"> - <column name="`REPLYACTION_REPLYVALUE_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="InputPin"/> - </bag> - <many-to-one name="returnInformation" entity-name="InputPin" lazy="false" cascade="all" foreign-key="REPLYACTION_RETURNINFORMATION" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_RETURNINFORMATION_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.SendObjectActionImpl" entity-name="SendObjectAction" abstract="false" lazy="false" extends="InvocationAction" discriminator-value="SendObjectAction"> - <meta attribute="eclassName" inherit="false">SendObjectAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="request" entity-name="InputPin" lazy="false" cascade="all" foreign-key="SENDOBJECTACTION_REQUEST" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_REQUEST_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="InputPin" lazy="false" cascade="all" foreign-key="SENDOBJECTACTION_TARGET" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_TARGET_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.SendSignalActionImpl" entity-name="SendSignalAction" abstract="false" lazy="false" extends="InvocationAction" discriminator-value="SendSignalAction"> - <meta attribute="eclassName" inherit="false">SendSignalAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="signal" entity-name="Signal" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SENDSIGNALACTION_SIGNAL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`SIGNAL_SIGNAL_E_ID`"/> - </many-to-one> - <many-to-one name="target" entity-name="InputPin" lazy="false" cascade="all" foreign-key="SENDSIGNALACTION_TARGET" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_TARGET_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.SequenceNodeImpl" entity-name="SequenceNode" abstract="false" lazy="false" extends="StructuredActivityNode" discriminator-value="SequenceNode"> - <meta attribute="eclassName" inherit="false">SequenceNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <list name="executableNode" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="SEQUENCENODE_EXECUTABLENODE"> - <column name="`SEQUENCENODE_EXECUTABLENODE_E_ID`" unique="false"/> - </key> - <list-index column="`SEQUENCENODE_EXECUTABLENODE_IDX`"/> - <one-to-many entity-name="ExecutableNode"/> - </list> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.SignalEventImpl" entity-name="SignalEvent" abstract="false" lazy="false" extends="MessageEvent" discriminator-value="SignalEvent"> - <meta attribute="eclassName" inherit="false">SignalEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="signal" entity-name="Signal" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SIGNALEVENT_SIGNAL" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`SIGNAL_SIGNAL_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StartClassifierBehaviorActionImpl" entity-name="StartClassifierBehaviorAction" abstract="false" lazy="false" extends="Action" discriminator-value="StartClassifierBehaviorAction"> - <meta attribute="eclassName" inherit="false">StartClassifierBehaviorAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="STARTCLASSIFIERBEHAVIORACTION_OBJECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StartObjectBehaviorActionImpl" entity-name="StartObjectBehaviorAction" abstract="false" lazy="false" extends="CallAction" discriminator-value="StartObjectBehaviorAction"> - <meta attribute="eclassName" inherit="false">StartObjectBehaviorAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="STARTOBJECTBEHAVIORACTION_OBJECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.StateInvariantImpl" entity-name="StateInvariant" abstract="false" lazy="false" extends="InteractionFragment" discriminator-value="StateInvariant"> - <meta attribute="eclassName" inherit="false">StateInvariant</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="invariant" entity-name="Constraint" lazy="false" cascade="all" foreign-key="STATEINVARIANT_INVARIANT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CONSTRAINT_INVARIANT_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TestIdentityActionImpl" entity-name="TestIdentityAction" abstract="false" lazy="false" extends="Action" discriminator-value="TestIdentityAction"> - <meta attribute="eclassName" inherit="false">TestIdentityAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="first" entity-name="InputPin" lazy="false" cascade="all" foreign-key="TESTIDENTITYACTION_FIRST" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_FIRST_E_ID`"/> - </many-to-one> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="TESTIDENTITYACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - <many-to-one name="second" entity-name="InputPin" lazy="false" cascade="all" foreign-key="TESTIDENTITYACTION_SECOND" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_SECOND_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TimeConstraintImpl" entity-name="TimeConstraint" abstract="false" lazy="false" extends="IntervalConstraint" discriminator-value="TimeConstraint"> - <meta attribute="eclassName" inherit="false">TimeConstraint</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="firstEvent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`FIRSTEVENT`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TimeIntervalImpl" entity-name="TimeInterval" abstract="false" lazy="false" extends="Interval" discriminator-value="TimeInterval"> - <meta attribute="eclassName" inherit="false">TimeInterval</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TimeExpressionImpl" entity-name="TimeExpression" abstract="false" lazy="false" extends="ValueSpecification" discriminator-value="TimeExpression"> - <meta attribute="eclassName" inherit="false">TimeExpression</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="expr" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="TIMEEXPRESSION_EXPR" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_EXPR_E_ID`"/> - </many-to-one> - <bag name="observation" lazy="true" cascade="persist,merge,refresh,save-update,lock"> - <key update="true" foreign-key="TIMEEXPRESSION_OBSERVATION"> - <column name="`TIMEEXPRESSION_OBSERVATION_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="Observation"/> - </bag> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TimeEventImpl" entity-name="TimeEvent" abstract="false" lazy="false" extends="Event" discriminator-value="TimeEvent"> - <meta attribute="eclassName" inherit="false">TimeEvent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <property name="isRelative" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISRELATIVE`"/> - </property> - <many-to-one name="when" entity-name="TimeExpression" lazy="false" cascade="all" foreign-key="TIMEEVENT_WHEN" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`TIMEEXPRESSION_WHEN_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.TimeObservationImpl" entity-name="TimeObservation" abstract="false" lazy="false" extends="Observation" discriminator-value="TimeObservation"> - <meta attribute="eclassName" inherit="false">TimeObservation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="event" entity-name="NamedElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TIMEOBSERVATION_EVENT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`NAMEDELEMENT_EVENT_E_ID`"/> - </many-to-one> - <property name="firstEvent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`FIRSTEVENT`"/> - </property> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.UnmarshallActionImpl" entity-name="UnmarshallAction" abstract="false" lazy="false" extends="Action" discriminator-value="UnmarshallAction"> - <meta attribute="eclassName" inherit="false">UnmarshallAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="object" entity-name="InputPin" lazy="false" cascade="all" foreign-key="UNMARSHALLACTION_OBJECT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`INPUTPIN_OBJECT_E_ID`"/> - </many-to-one> - <bag name="result" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="UNMARSHALLACTION_RESULT"> - <column name="`UNMARSHALLACTION_RESULT_E_ID`" unique="false"/> - </key> - <one-to-many entity-name="OutputPin"/> - </bag> - <many-to-one name="unmarshallType" entity-name="Classifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="UNMARSHALLACTION_UNMARSHALLTYPE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`CLASSIFIER_UNMARSHALLTYPE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ValuePinImpl" entity-name="ValuePin" abstract="false" lazy="false" extends="InputPin" discriminator-value="ValuePin"> - <meta attribute="eclassName" inherit="false">ValuePin</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="value" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="VALUEPIN_VALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_VALUE_E_ID`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.uml2.uml.internal.impl.ValueSpecificationActionImpl" entity-name="ValueSpecificationAction" abstract="false" lazy="false" extends="Action" discriminator-value="ValueSpecificationAction"> - <meta attribute="eclassName" inherit="false">ValueSpecificationAction</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/uml2/4.0.0/UML</meta> - <many-to-one name="result" entity-name="OutputPin" lazy="false" cascade="all" foreign-key="VALUESPECIFICATIONACTION_RESULT" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`OUTPUTPIN_RESULT_E_ID`"/> - </many-to-one> - <many-to-one name="value" entity-name="ValueSpecification" lazy="false" cascade="all" foreign-key="VALUESPECIFICATIONACTION_VALUE" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`VALUESPECIFICATION_VALUE_E_ID`"/> - </many-to-one> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 853af3ffa..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,42 +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="org.eclipse.emf.teneo.samples.emf.hibernate.transientotm.impl.TBookImpl" entity-name="TBook" abstract="false" lazy="false" discriminator-value="TBook" table="`tbook`"> - <meta attribute="eclassName">TBook</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/hibernate/transientotm</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 type="string"> - <column name="dtype" index="tbookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.transientotm.impl.TWriterImpl" entity-name="TWriter" abstract="false" lazy="false" discriminator-value="TWriter" table="`twriter`"> - <meta attribute="eclassName">TWriter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/hibernate/transientotm</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 type="string"> - <column name="dtype" index="twriterdtype" length="255" not-null="true"/> - </discriminator> - <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="book" entity-name="TBook" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twriter_book" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`tbook_book_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index eacecdfcc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.emf.hibernate.transientotm.impl.TBookImpl" entity-name="TBook" abstract="false" lazy="false" table="`tbook`"> - <meta attribute="eclassName" inherit="false">TBook</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/hibernate/transientotm</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.transientotm.impl.TWriterImpl" entity-name="TWriter" abstract="false" lazy="false" table="`twriter`"> - <meta attribute="eclassName" inherit="false">TWriter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/hibernate/transientotm</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> - <many-to-one name="book" entity-name="TBook" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twriter_book" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`tbook_book_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index eacecdfcc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.emf.hibernate.transientotm.impl.TBookImpl" entity-name="TBook" abstract="false" lazy="false" table="`tbook`"> - <meta attribute="eclassName" inherit="false">TBook</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/hibernate/transientotm</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.hibernate.transientotm.impl.TWriterImpl" entity-name="TWriter" abstract="false" lazy="false" table="`twriter`"> - <meta attribute="eclassName" inherit="false">TWriter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/hibernate/transientotm</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> - <many-to-one name="book" entity-name="TBook" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twriter_book" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`tbook_book_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 89a3b3db4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.update.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" discriminator-value="Child" table="`child`"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/update</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="childdtype" length="255" not-null="true"/> - </discriminator> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.update.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" discriminator-value="Parent" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/update</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="parentdtype" length="255" not-null="true"/> - </discriminator> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <list name="children" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_children"> - <column name="`parent_children_name`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 13c5720ac..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,32 +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="org.eclipse.emf.teneo.samples.issues.update.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" table="`child`"> - <meta attribute="eclassName" inherit="false">Child</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/update</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.update.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" table="`parent`"> - <meta attribute="eclassName" inherit="false">Parent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/update</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <list name="children" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_children"> - <column name="`parent_children_name`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 13c5720ac..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,32 +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="org.eclipse.emf.teneo.samples.issues.update.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" table="`child`"> - <meta attribute="eclassName" inherit="false">Child</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/update</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.update.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" table="`parent`"> - <meta attribute="eclassName" inherit="false">Parent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/update</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <list name="children" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="parent_children"> - <column name="`parent_children_name`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c0fef8824..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,69 +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="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id type="long" name="myid" column="myid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="postalCode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postalcode`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="employeedtype" length="255" not-null="true"/> - </discriminator> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`employee_address_id`"/> - </many-to-one> - <property name="department" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`department`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" discriminator-value="Student" table="`student`"> - <meta attribute="eclassName">Student</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="studentdtype" length="255" not-null="true"/> - </discriminator> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <property name="faculty" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`faculty`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index aaf933472..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,60 +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="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id type="long" name="myid" column="myid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">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">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="postalCode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postalcode`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`employee_address_id`"/> - </many-to-one> - <property name="department" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`department`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" table="`student`"> - <meta attribute="eclassName">Student</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <property name="faculty" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`faculty`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index aaf933472..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,60 +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="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id type="long" name="myid" column="myid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">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">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="postalCode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postalcode`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`employee_address_id`"/> - </many-to-one> - <property name="department" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`department`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" table="`student`"> - <meta attribute="eclassName">Student</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <property name="faculty" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`faculty`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index aaf933472..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,60 +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="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id type="long" name="myid" column="myid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">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">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="postalCode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postalcode`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`employee_address_id`"/> - </many-to-one> - <property name="department" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`department`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" table="`student`"> - <meta attribute="eclassName">Student</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <property name="faculty" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`faculty`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index c0fef8824..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,69 +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="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id type="long" name="myid" column="myid" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="postalCode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postalcode`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="employeedtype" length="255" not-null="true"/> - </discriminator> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`employee_address_id`"/> - </many-to-one> - <property name="department" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`department`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" discriminator-value="Student" table="`student`"> - <meta attribute="eclassName">Student</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="studentdtype" length="255" not-null="true"/> - </discriminator> - <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="address" entity-name="Address" lazy="false" cascade="all" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <property name="faculty" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`faculty`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AttributeOverridesAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AttributeOverridesAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 1741f2cc0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AttributeOverridesAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http:///org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides.ecore</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <component name="bornIn" class="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl"> - <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="`bornnamecolumn`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`bornin_country`"/> - </property> - </component> - <component name="livesIn" class="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl"> - <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="`namecolumn`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`countrycolumn`"/> - </property> - </component> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AttributeOverridesAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AttributeOverridesAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 69184ed37..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AttributeOverridesAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,35 +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="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http:///org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides.ecore</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> - <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> - <component name="bornIn" class="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl"> - <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="`bornnamecolumn`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`bornin_country`"/> - </property> - </component> - <component name="livesIn" class="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl"> - <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="`namecolumn`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`countrycolumn`"/> - </property> - </component> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AttributeOverridesAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AttributeOverridesAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 69184ed37..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AttributeOverridesAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,35 +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="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http:///org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides.ecore</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> - <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> - <component name="bornIn" class="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl"> - <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="`bornnamecolumn`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`bornin_country`"/> - </property> - </component> - <component name="livesIn" class="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl"> - <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="`namecolumn`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`countrycolumn`"/> - </property> - </component> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BasicAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BasicAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 37dc6c7dd..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BasicAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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="org.eclipse.emf.teneo.samples.emf.annotations.basic.impl.BasicImpl" entity-name="Basic" abstract="false" lazy="false" discriminator-value="Basic" table="`basic`"> - <meta attribute="eclassName">Basic</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/basic</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 type="string"> - <column name="dtype" index="basicdtype" length="255" not-null="true"/> - </discriminator> - <version name="myVersion" type="long"> - <column not-null="true" unique="false" name="`myversion`"/> - </version> - <property name="myOptionalBasic" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`myoptionalbasic`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BasicAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BasicAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e700fa97b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BasicAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,19 +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="org.eclipse.emf.teneo.samples.emf.annotations.basic.impl.BasicImpl" entity-name="Basic" abstract="false" lazy="false" table="`basic`"> - <meta attribute="eclassName">Basic</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/basic</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> - <version name="myVersion" type="long"> - <column not-null="true" unique="false" name="`myversion`"/> - </version> - <property name="myOptionalBasic" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`myoptionalbasic`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BasicAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BasicAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index e700fa97b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BasicAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,19 +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="org.eclipse.emf.teneo.samples.emf.annotations.basic.impl.BasicImpl" entity-name="Basic" abstract="false" lazy="false" table="`basic`"> - <meta attribute="eclassName">Basic</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/basic</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> - <version name="myVersion" type="long"> - <column not-null="true" unique="false" name="`myversion`"/> - </version> - <property name="myOptionalBasic" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`myoptionalbasic`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BookAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BookAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 4a28bcc5d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BookAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,31 +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="org.eclipse.emf.teneo.samples.emf.annotations.column.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`mybooktable`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/column</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 type="string"> - <column name="dtype" index="mybooktabledtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`titel`" length="25"/> - </property> - <property name="pages" lazy="false" insert="false" update="false" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="weight" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`author`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BookAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BookAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 2871c98ac..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BookAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.emf.annotations.column.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`mybooktable`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/column</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`titel`" length="25"/> - </property> - <property name="pages" lazy="false" insert="false" update="false" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="weight" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`author`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BookAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BookAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 2871c98ac..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/BookAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.emf.annotations.column.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`mybooktable`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/column</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`titel`" length="25"/> - </property> - <property name="pages" lazy="false" insert="false" update="false" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="weight" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`author`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index b33374da1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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"> - <typedef name="cascadenotall.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index dd626ea46..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,86 +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"> - <typedef name="cascadenotall.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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> - <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> - <list name="writers" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index dd626ea46..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,86 +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"> - <typedef name="cascadenotall.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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> - <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> - <list name="writers" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index dd626ea46..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,86 +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"> - <typedef name="cascadenotall.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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> - <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> - <list name="writers" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index b33374da1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CascadeNotallAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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"> - <typedef name="cascadenotall.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CompositeIdAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CompositeIdAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f75b850a1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CompositeIdAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,39 +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="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> - <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <discriminator type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" extends="Person" discriminator-value="Parent"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> - <list name="children" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="parent_children"> - <column name="`myparentfirstname`" not-null="false" unique="false"/> - <column name="`myparentlastname`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Person" discriminator-value="Child"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CompositeIdAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CompositeIdAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f69ba6902..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CompositeIdAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,44 +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="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> - <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" extends="Person" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> - <key> - <column name="`person_firstname`"/> - <column name="`person_lastname`"/> - </key> - <list name="children" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="parent_children"> - <column name="`myparentfirstname`" not-null="false" unique="false"/> - <column name="`myparentlastname`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Person" table="`child`"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> - <key> - <column name="`person_firstname`"/> - <column name="`person_lastname`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CompositeIdAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CompositeIdAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f69ba6902..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/CompositeIdAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,44 +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="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> - <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" extends="Person" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> - <key> - <column name="`person_firstname`"/> - <column name="`person_lastname`"/> - </key> - <list name="children" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="parent_children"> - <column name="`myparentfirstname`" not-null="false" unique="false"/> - <column name="`myparentlastname`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Person" table="`child`"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> - <key> - <column name="`person_firstname`"/> - <column name="`person_lastname`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file 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 diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 2b6f3f89d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,344 +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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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 diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 2b6f3f89d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ConnectionsAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,344 +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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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" 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> - <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 diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/DuplicatesAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/DuplicatesAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d0e9c4fc7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/DuplicatesAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ChildItemImpl" entity-name="ChildItem" abstract="false" lazy="false" discriminator-value="ChildItem" table="`childitem`"> - <meta attribute="eclassName">ChildItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/duplicates</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 type="string"> - <column name="dtype" index="childitemdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/duplicates</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 type="string"> - <column name="dtype" index="itemdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="childItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="item_childitem"> - <column name="`item_childitem_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`item_childitem_idx`"/> - <one-to-many entity-name="ChildItem"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/DuplicatesAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/DuplicatesAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 1a7c4681f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/DuplicatesAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ChildItemImpl" entity-name="ChildItem" abstract="false" lazy="false" table="`childitem`"> - <meta attribute="eclassName">ChildItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/duplicates</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/duplicates</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> - <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> - <list name="childItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="item_childitem"> - <column name="`item_childitem_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`item_childitem_idx`"/> - <one-to-many entity-name="ChildItem"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/DuplicatesAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/DuplicatesAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 1a7c4681f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/DuplicatesAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ChildItemImpl" entity-name="ChildItem" abstract="false" lazy="false" table="`childitem`"> - <meta attribute="eclassName">ChildItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/duplicates</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/duplicates</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> - <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> - <list name="childItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="item_childitem"> - <column name="`item_childitem_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`item_childitem_idx`"/> - <one-to-many entity-name="ChildItem"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 251a51ac3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,31 +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="org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`mybooktable`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/edatatype_column</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 type="string"> - <column name="dtype" index="mybooktabledtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`titel`" length="25"/> - </property> - <property name="pages" lazy="false" insert="false" update="false" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="weight" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`author`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 421d8f68b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`mybooktable`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/edatatype_column</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`titel`" length="25"/> - </property> - <property name="pages" lazy="false" insert="false" update="false" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="weight" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`author`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 421d8f68b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`mybooktable`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/edatatype_column</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`titel`" length="25"/> - </property> - <property name="pages" lazy="false" insert="false" update="false" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="weight" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`author`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index 421d8f68b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`mybooktable`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/edatatype_column</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`titel`" length="25"/> - </property> - <property name="pages" lazy="false" insert="false" update="false" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="weight" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`author`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index 251a51ac3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EDataTypeAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,31 +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="org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`mybooktable`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/edatatype_column</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 type="string"> - <column name="dtype" index="mybooktabledtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`titel`" length="25"/> - </property> - <property name="pages" lazy="false" insert="false" update="false" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="weight" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> - </property> - <property name="author" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`author`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 9ba8dd165..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,89 +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="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbedderImpl" entity-name="Embedder" abstract="false" lazy="false" discriminator-value="Embedder" table="`embedder`"> - <meta attribute="eclassName">Embedder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embedded</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 type="string"> - <column name="dtype" index="embedderdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <component name="firstEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnstring3`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`firstembedded_myinteger`"/> - </property> - </component> - <component name="secondEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnstring1`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`columninteger1`"/> - </property> - </component> - <component name="thirdEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnstring2`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`columninteger2`"/> - </property> - </component> - <list name="fourthEmbedded" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`embedder_fourthembedded_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`embedder_fourthembedded_idx`"/> - <composite-element class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`mystring`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`myinteger`"/> - </property> - </composite-element> - </list> - <component name="fifthEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`fifthembedded_mystring`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`fifthembedded_myinteger`"/> - </property> - </component> - <component name="alsoEmbeddable" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AlsoEmbeddableImpl"> - <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="`alsoembeddable_name`"/> - </property> - </component> - <component name="anotherEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AnotherEmbeddableImpl"> - <property name="anotherName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`anotherembedded_anothername`"/> - </property> - <list name="aOneToMany" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`anotherembeddable_aonetomany_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`anotherembeddable_aonetomany_idx`"/> - <composite-element class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AOneToManyImpl"> - <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="`anotherembedded_name`"/> - </property> - </composite-element> - </list> - <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="`anotherembedded_name`"/> - </property> - </component> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index b064080ad..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,86 +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="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbedderImpl" entity-name="Embedder" abstract="false" lazy="false" table="`embedder`"> - <meta attribute="eclassName">Embedder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embedded</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <component name="firstEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnstring3`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`firstembedded_myinteger`"/> - </property> - </component> - <component name="secondEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnstring1`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`columninteger1`"/> - </property> - </component> - <component name="thirdEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnstring2`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`columninteger2`"/> - </property> - </component> - <list name="fourthEmbedded" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`embedder_fourthembedded_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`embedder_fourthembedded_idx`"/> - <composite-element class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`mystring`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`myinteger`"/> - </property> - </composite-element> - </list> - <component name="fifthEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`fifthembedded_mystring`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`fifthembedded_myinteger`"/> - </property> - </component> - <component name="alsoEmbeddable" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AlsoEmbeddableImpl"> - <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="`alsoembeddable_name`"/> - </property> - </component> - <component name="anotherEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AnotherEmbeddableImpl"> - <property name="anotherName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`anotherembedded_anothername`"/> - </property> - <list name="aOneToMany" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`anotherembeddable_aonetomany_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`anotherembeddable_aonetomany_idx`"/> - <composite-element class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AOneToManyImpl"> - <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="`anotherembedded_name`"/> - </property> - </composite-element> - </list> - <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="`anotherembedded_name`"/> - </property> - </component> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d2e188240..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,91 +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="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbedderImpl" entity-name="Embedder" abstract="false" lazy="false" table="`embedder`"> - <meta attribute="eclassName">Embedder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embedded</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <component name="firstEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnstring3`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`firstembedded_myinteger`"/> - </property> - </component> - <component name="secondEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnstring1`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`columninteger1`"/> - </property> - </component> - <component name="thirdEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnstring2`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`columninteger2`"/> - </property> - </component> - <list name="fourthEmbedded" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`embedder_fourthembedded_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`embedder_fourthembedded_idx`"/> - <composite-element class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`mystring`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`myinteger`"/> - </property> - </composite-element> - </list> - <component name="fifthEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl"> - <property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`fifthembedded_mystring`"/> - </property> - <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`fifthembedded_myinteger`"/> - </property> - </component> - <component name="alsoEmbeddable" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AlsoEmbeddableImpl"> - <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="`alsoembeddable_name`"/> - </property> - </component> - <component name="anotherEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AnotherEmbeddableImpl"> - <property name="anotherName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`anotherembedded_anothername`"/> - </property> - <list name="aOneToMany" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`anotherembeddable_aonetomany_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`anotherembeddable_aonetomany_idx`"/> - <composite-element class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AOneToManyImpl"> - <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="`anotherembedded_name`"/> - </property> - </composite-element> - </list> - <component name="nestedEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.NestedEmbeddableImpl"> - <property name="nestedName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ne_nestedname`"/> - </property> - </component> - <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="`anotherembedded_name`"/> - </property> - </component> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e85eb5305..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,26 +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="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <discriminator type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 22828e5f4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,23 +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="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 22828e5f4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,23 +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="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index 22828e5f4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,23 +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="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index e85eb5305..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedIdAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,26 +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="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> - <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> - <key-property name="firstName" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </key-property> - <key-property name="lastName" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </key-property> - </composite-id> - <discriminator type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EntityAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EntityAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index b23c91454..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EntityAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,39 +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="org.eclipse.emf.teneo.samples.emf.annotations.entity.impl.BookImpl" entity-name="Boek" abstract="false" lazy="false" discriminator-value="Boek" table="`boek`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/entity</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 type="string"> - <column name="dtype" index="boekdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.entity.impl.WriterImpl" entity-name="Schrijver" abstract="false" lazy="false" discriminator-value="Schrijver" table="`schrijver`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/entity</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 type="string"> - <column name="dtype" index="schrijverdtype" length="255" not-null="true"/> - </discriminator> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EntityAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EntityAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 851c37f30..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EntityAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,33 +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="org.eclipse.emf.teneo.samples.emf.annotations.entity.impl.BookImpl" entity-name="Boek" abstract="false" lazy="false" table="`boek`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/entity</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.entity.impl.WriterImpl" entity-name="Schrijver" abstract="false" lazy="false" table="`schrijver`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/entity</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EntityAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EntityAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 851c37f30..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EntityAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,33 +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="org.eclipse.emf.teneo.samples.emf.annotations.entity.impl.BookImpl" entity-name="Boek" abstract="false" lazy="false" table="`boek`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/entity</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.entity.impl.WriterImpl" entity-name="Schrijver" abstract="false" lazy="false" table="`schrijver`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/entity</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExternalAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExternalAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 4f13c8606..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExternalAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,41 +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="org.eclipse.emf.teneo.samples.emf.annotations.external.impl.ExternalTestImpl" entity-name="ExternalTest" abstract="false" lazy="false" discriminator-value="ExternalTest" table="`externaltest`"> - <meta attribute="eclassName">ExternalTest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/external</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 type="string"> - <column name="dtype" index="externaltestdtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="eObject" lazy="false" insert="true" update="true" not-null="false" unique="false"> - <column not-null="false" unique="false" name="`eobject`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ExternalType"> - <param name="eclassName">EObject</param> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - </type> - </property> - <list name="eObjects" table="`externaltest_eobjects`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`externaltest_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`externaltest_eobjects_idx`"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ExternalType"> - <param name="eclassName">EObject</param> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - </type> - </element> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExternalAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExternalAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e387ac0c6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExternalAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.emf.annotations.external.impl.ExternalTestImpl" entity-name="ExternalTest" abstract="false" lazy="false" table="`externaltest`"> - <meta attribute="eclassName">ExternalTest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/external</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> - <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> - <property name="eObject" lazy="false" insert="true" update="true" not-null="false" unique="false"> - <column not-null="false" unique="false" name="`eobject`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ExternalType"> - <param name="eclassName">EObject</param> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - </type> - </property> - <list name="eObjects" table="`externaltest_eobjects`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`externaltest_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`externaltest_eobjects_idx`"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ExternalType"> - <param name="eclassName">EObject</param> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - </type> - </element> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExternalAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExternalAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index e387ac0c6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExternalAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.emf.annotations.external.impl.ExternalTestImpl" entity-name="ExternalTest" abstract="false" lazy="false" table="`externaltest`"> - <meta attribute="eclassName">ExternalTest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/external</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> - <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> - <property name="eObject" lazy="false" insert="true" update="true" not-null="false" unique="false"> - <column not-null="false" unique="false" name="`eobject`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ExternalType"> - <param name="eclassName">EObject</param> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - </type> - </property> - <list name="eObjects" table="`externaltest_eobjects`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`externaltest_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`externaltest_eobjects_idx`"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ExternalType"> - <param name="eclassName">EObject</param> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - </type> - </element> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExtraLazyAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExtraLazyAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 8f6da5032..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExtraLazyAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="authors" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="book_authors"> - <column name="`book_authors_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_authors_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExtraLazyAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExtraLazyAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index da5f38c1e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExtraLazyAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="authors" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="book_authors"> - <column name="`book_authors_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_authors_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExtraLazyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExtraLazyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 160cb73d2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ExtraLazyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="authors" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="book_authors"> - <column name="`book_authors_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_authors_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 3955997ec..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,61 +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="org.eclipse.emf.teneo.samples.emf.annotations.forcedidbag.impl.RoleImpl" entity-name="Role" abstract="false" lazy="false" discriminator-value="Role" table="`role`"> - <meta attribute="eclassName">Role</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/Forcedidbag</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 type="string"> - <column name="dtype" index="roledtype" length="255" not-null="true"/> - </discriminator> - <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> - <idbag name="users" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`role_user`"> - <collection-id column="idbag_id" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`role_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="User" unique="false" foreign-key="role_users"> - <column name="`user_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.forcedidbag.impl.UserImpl" entity-name="User" abstract="false" lazy="false" discriminator-value="User" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/Forcedidbag</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 type="string"> - <column name="dtype" index="userdtype" length="255" not-null="true"/> - </discriminator> - <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> - <idbag name="roles" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`myjoin`"> - <collection-id column="idbag_id" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`user_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Role" unique="false" foreign-key="user_roles"> - <column name="`role_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f771ed9de..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,55 +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="org.eclipse.emf.teneo.samples.emf.annotations.forcedidbag.impl.RoleImpl" entity-name="Role" abstract="false" lazy="false" table="`role`"> - <meta attribute="eclassName">Role</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/Forcedidbag</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> - <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> - <idbag name="users" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`role_user`"> - <collection-id column="idbag_id" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`role_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="User" unique="false" foreign-key="role_users"> - <column name="`user_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.forcedidbag.impl.UserImpl" entity-name="User" abstract="false" lazy="false" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/Forcedidbag</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> - <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> - <idbag name="roles" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`myjoin`"> - <collection-id column="idbag_id" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`user_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Role" unique="false" foreign-key="user_roles"> - <column name="`role_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f771ed9de..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ForcedIdBagAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,55 +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="org.eclipse.emf.teneo.samples.emf.annotations.forcedidbag.impl.RoleImpl" entity-name="Role" abstract="false" lazy="false" table="`role`"> - <meta attribute="eclassName">Role</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/Forcedidbag</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> - <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> - <idbag name="users" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`role_user`"> - <collection-id column="idbag_id" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`role_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="User" unique="false" foreign-key="role_users"> - <column name="`user_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.forcedidbag.impl.UserImpl" entity-name="User" abstract="false" lazy="false" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/Forcedidbag</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> - <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> - <idbag name="roles" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`myjoin`"> - <collection-id column="idbag_id" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`user_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Role" unique="false" foreign-key="user_roles"> - <column name="`role_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 102adf6fa..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,77 +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="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <map name="writersByName" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writersbyname"> - <column name="`join_column_writer`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"> - <column not-null="false" unique="false" name="`thenameofthewriter`"/> - </map-key> - <one-to-many entity-name="Writer"/> - </map> - <map name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_citybywriter"> - <column name="`join_column_city`" not-null="false" unique="false"/> - </key> - <map-key-many-to-many entity-name="Writer"> - <column not-null="true" unique="false" name="`the_citywriter_id`"/> - </map-key-many-to-many> - <one-to-many entity-name="City"/> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.CityImpl" entity-name="City" abstract="false" lazy="false" discriminator-value="City" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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 type="string"> - <column name="dtype" index="citydtype" length="255" not-null="true"/> - </discriminator> - <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="cityWriter" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="city_citywriter" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`the_citywriter_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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="`thenameofthewriter`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index c9f2b5e6f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <map name="writersByName" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writersbyname"> - <column name="`join_column_writer`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"> - <column not-null="false" unique="false" name="`thenameofthewriter`"/> - </map-key> - <one-to-many entity-name="Writer"/> - </map> - <map name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_citybywriter"> - <column name="`join_column_city`" not-null="false" unique="false"/> - </key> - <map-key-many-to-many entity-name="Writer"> - <column not-null="true" unique="false" name="`the_citywriter_id`"/> - </map-key-many-to-many> - <one-to-many entity-name="City"/> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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> - <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="cityWriter" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="city_citywriter" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`the_citywriter_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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> - <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="`thenameofthewriter`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c9f2b5e6f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <map name="writersByName" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writersbyname"> - <column name="`join_column_writer`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"> - <column not-null="false" unique="false" name="`thenameofthewriter`"/> - </map-key> - <one-to-many entity-name="Writer"/> - </map> - <map name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_citybywriter"> - <column name="`join_column_city`" not-null="false" unique="false"/> - </key> - <map-key-many-to-many entity-name="Writer"> - <column not-null="true" unique="false" name="`the_citywriter_id`"/> - </map-key-many-to-many> - <one-to-many entity-name="City"/> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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> - <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="cityWriter" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="city_citywriter" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`the_citywriter_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.hbmapkeys.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys</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> - <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="`thenameofthewriter`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 6715ef6d7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,103 +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="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`"> - <meta attribute="eclassName">IdentityID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="identity"/> - </id> - <discriminator type="string"> - <column name="dtype" index="identityiddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" discriminator-value="SimpleID" table="`simpleid`"> - <meta attribute="eclassName">SimpleID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autod`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="simpleiddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" discriminator-value="TableID" table="`tableid`"> - <meta attribute="eclassName">TableID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">uid_table</param> - <param name="column">next_hi_value_column</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="tableiddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl" entity-name="TableGeneratorID" abstract="false" lazy="false" discriminator-value="TableGeneratorID" table="`tablegeneratorid`"> - <meta attribute="eclassName">TableGeneratorID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">TGEN</param> - <param name="column">VAL_COL</param> - <param name="max_lo">49</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="tablegeneratoriddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl" entity-name="AutoID" abstract="false" lazy="false" discriminator-value="AutoID" table="`autoid`"> - <meta attribute="eclassName">AutoID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autoid`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="autoiddtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl" entity-name="OtherTableGeneratorID" abstract="false" lazy="false" discriminator-value="OtherTableGeneratorID" table="`othertablegeneratorid`"> - <meta attribute="eclassName">OtherTableGeneratorID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">OTHERTGEN</param> - <param name="column">VAL_COL</param> - <param name="max_lo">49</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="othertablegeneratoriddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index b71c3c73c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`"> - <meta attribute="eclassName">IdentityID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="identity"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" table="`simpleid`"> - <meta attribute="eclassName">SimpleID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autod`"/> - <generator class="native"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" table="`tableid`"> - <meta attribute="eclassName">TableID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">uid_table</param> - <param name="column">next_hi_value_column</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl" entity-name="TableGeneratorID" abstract="false" lazy="false" table="`tablegeneratorid`"> - <meta attribute="eclassName">TableGeneratorID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">TGEN</param> - <param name="column">VAL_COL</param> - <param name="max_lo">49</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl" entity-name="AutoID" abstract="false" lazy="false" table="`autoid`"> - <meta attribute="eclassName">AutoID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autoid`"/> - <generator class="native"/> - </id> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl" entity-name="OtherTableGeneratorID" abstract="false" lazy="false" table="`othertablegeneratorid`"> - <meta attribute="eclassName">OtherTableGeneratorID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">OTHERTGEN</param> - <param name="column">VAL_COL</param> - <param name="max_lo">49</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index b71c3c73c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`"> - <meta attribute="eclassName">IdentityID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="identity"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" table="`simpleid`"> - <meta attribute="eclassName">SimpleID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autod`"/> - <generator class="native"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" table="`tableid`"> - <meta attribute="eclassName">TableID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">uid_table</param> - <param name="column">next_hi_value_column</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl" entity-name="TableGeneratorID" abstract="false" lazy="false" table="`tablegeneratorid`"> - <meta attribute="eclassName">TableGeneratorID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">TGEN</param> - <param name="column">VAL_COL</param> - <param name="max_lo">49</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl" entity-name="AutoID" abstract="false" lazy="false" table="`autoid`"> - <meta attribute="eclassName">AutoID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="autoID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`autoid`"/> - <generator class="native"/> - </id> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl" entity-name="OtherTableGeneratorID" abstract="false" lazy="false" table="`othertablegeneratorid`"> - <meta attribute="eclassName">OtherTableGeneratorID</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> - <id name="myid" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - <generator class="hilo"> - <param name="table">OTHERTGEN</param> - <param name="column">VAL_COL</param> - <param name="max_lo">49</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a9fe620e5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,31 +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="org.eclipse.emf.teneo.samples.emf.annotations.idbag.impl.UserImpl" entity-name="User" abstract="false" lazy="false" discriminator-value="User" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/idbag</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 type="string"> - <column name="dtype" index="userdtype" length="255" not-null="true"/> - </discriminator> - <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> - <idbag name="roles" table="`user_roles`" lazy="true" cascade="all,delete-orphan"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`user_roles_e_id`" not-null="true" unique="false"/> - </key> - <element type="java.lang.String"/> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 26a9bfb13..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.emf.annotations.idbag.impl.UserImpl" entity-name="User" abstract="false" lazy="false" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/idbag</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> - <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> - <idbag name="roles" table="`user_roles`" lazy="true" cascade="all,delete-orphan"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`user_roles_e_id`" not-null="true" unique="false"/> - </key> - <element type="java.lang.String"/> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 2c7ab85db..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.emf.annotations.idbag.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/idbag</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.idbag.impl.UserImpl" entity-name="User" abstract="false" lazy="false" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/idbag</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> - <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> - <idbag name="roles" table="`user_roles`" lazy="true" cascade="all,delete-orphan"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`user_roles_e_id`" not-null="true" unique="false"/> - </key> - <element type="java.lang.String"/> - </idbag> - <idbag name="addresses" lazy="true" cascade="all,delete-orphan"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true" foreign-key="user_addresses"> - <column name="`user_addresses_e_id`" not-null="false" unique="false"/> - </key> - <many-to-many entity-name="Address"/> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index 26a9bfb13..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.emf.annotations.idbag.impl.UserImpl" entity-name="User" abstract="false" lazy="false" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/idbag</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> - <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> - <idbag name="roles" table="`user_roles`" lazy="true" cascade="all,delete-orphan"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`user_roles_e_id`" not-null="true" unique="false"/> - </key> - <element type="java.lang.String"/> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index a9fe620e5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdBagAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,31 +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="org.eclipse.emf.teneo.samples.emf.annotations.idbag.impl.UserImpl" entity-name="User" abstract="false" lazy="false" discriminator-value="User" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/idbag</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 type="string"> - <column name="dtype" index="userdtype" length="255" not-null="true"/> - </discriminator> - <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> - <idbag name="roles" table="`user_roles`" lazy="true" cascade="all,delete-orphan"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`user_roles_e_id`" not-null="true" unique="false"/> - </key> - <element type="java.lang.String"/> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 4ef4e5b86..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,186 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" discriminator-value="ContentList" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="contentlistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="DISCRIMINATOR" index="discrIndex,ohterindex" length="120"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <union-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </union-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" discriminator-value="UKAddressList" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ukaddresslistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" discriminator-value="ParentOne" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="parentonedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" discriminator-value="ParentTwo" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="parenttwodtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentOne" discriminator-value="ChildOne"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 41053b1c3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,177 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="DISCRIMINATOR" index="discrIndex,ohterindex" length="120"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <union-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </union-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentOne" table="`childone`"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`parentone_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 41053b1c3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,177 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="DISCRIMINATOR" index="discrIndex,ohterindex" length="120"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <union-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </union-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentOne" table="`childone`"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`parentone_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index 86a59879b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,188 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="DISCRIMINATOR" index="mypriceDISCRIMINATOR" length="255" not-null="true"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <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> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`customer_e_id`"/> - </key> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <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> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentTwo" table="`childone`"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`parentone_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index 84ead78d0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,197 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" discriminator-value="ContentList" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="contentlistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="DISCRIMINATOR" index="mypriceDISCRIMINATOR" length="255" not-null="true"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" discriminator-value="Customer" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="customerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" discriminator-value="SpecificCustomer"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" discriminator-value="UKAddressList" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="ukaddresslistdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" discriminator-value="ParentOne" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="parentonedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" discriminator-value="ParentTwo" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="parenttwodtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentTwo" discriminator-value="ChildOne"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 4ef4e5b86..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,186 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" discriminator-value="ContentList" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="contentlistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="DISCRIMINATOR" index="discrIndex,ohterindex" length="120"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <union-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </union-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" discriminator-value="UKAddressList" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ukaddresslistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" discriminator-value="ParentOne" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="parentonedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" discriminator-value="ParentTwo" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="parenttwodtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentOne" discriminator-value="ChildOne"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 41053b1c3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,177 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="DISCRIMINATOR" index="discrIndex,ohterindex" length="120"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <union-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </union-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentOne" table="`childone`"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`parentone_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 41053b1c3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,177 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="DISCRIMINATOR" index="discrIndex,ohterindex" length="120"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <union-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </union-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentOne" table="`childone`"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`parentone_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index efcbd7bb6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,181 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <union-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" table="`internationalprice`"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`currency`"/> - </property> - </union-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <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> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`customer_e_id`"/> - </key> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <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> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentOne" table="`childone`"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`parentone_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index 66184f2ba..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/InheritanceAnnotationTablePerClassAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,190 +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"> - <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" discriminator-value="ContentList" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="contentlistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <union-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" table="`internationalprice`"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`currency`"/> - </property> - </union-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" discriminator-value="Customer" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="customerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" discriminator-value="SpecificCustomer"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" discriminator-value="UKAddressList" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="ukaddresslistdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" discriminator-value="ParentOne" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="parentonedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" entity-name="ParentTwo" abstract="false" lazy="false" discriminator-value="ParentTwo" table="`parenttwo`"> - <meta attribute="eclassName">ParentTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</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 type="string"> - <column name="dtype" index="parenttwodtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" entity-name="ChildOne" abstract="false" lazy="false" extends="ParentOne" discriminator-value="ChildOne"> - <meta attribute="eclassName">ChildOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 506985450..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,53 +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="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SuperImpl" entity-name="Super" abstract="false" lazy="false" discriminator-value="80248667" table="`super_table`"> - <meta attribute="eclassName">Super</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</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 type="integer"> - <column name="DISC" index="SUPER_TABLEDISC" not-null="true"/> - </discriminator> - <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> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SubImpl" entity-name="Sub" abstract="false" lazy="false" extends="Super" discriminator-value="83488"> - <meta attribute="eclassName">Sub</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.OtherSubImpl" entity-name="OtherSub" abstract="false" lazy="false" extends="Super" discriminator-value="500"> - <meta attribute="eclassName">OtherSub</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> - <subclass entity-name="AbstractSub" abstract="true" lazy="false" extends="Super" discriminator-value="950694558"> - <meta attribute="eclassName">AbstractSub</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SuperFormulaImpl" entity-name="SuperFormula" abstract="false" lazy="false" discriminator-value="1" table="`superformula`"> - <meta attribute="eclassName">SuperFormula</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</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 formula="case when name like 'R%' then 0 when name like 'G%' then 1 else 2 end"/> - <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> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SubFormulaImpl" entity-name="SubFormula" abstract="false" lazy="false" extends="SuperFormula" discriminator-value="0"> - <meta attribute="eclassName">SubFormula</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 506985450..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,53 +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="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SuperImpl" entity-name="Super" abstract="false" lazy="false" discriminator-value="80248667" table="`super_table`"> - <meta attribute="eclassName">Super</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</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 type="integer"> - <column name="DISC" index="SUPER_TABLEDISC" not-null="true"/> - </discriminator> - <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> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SubImpl" entity-name="Sub" abstract="false" lazy="false" extends="Super" discriminator-value="83488"> - <meta attribute="eclassName">Sub</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.OtherSubImpl" entity-name="OtherSub" abstract="false" lazy="false" extends="Super" discriminator-value="500"> - <meta attribute="eclassName">OtherSub</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> - <subclass entity-name="AbstractSub" abstract="true" lazy="false" extends="Super" discriminator-value="950694558"> - <meta attribute="eclassName">AbstractSub</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SuperFormulaImpl" entity-name="SuperFormula" abstract="false" lazy="false" discriminator-value="1" table="`superformula`"> - <meta attribute="eclassName">SuperFormula</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</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 formula="case when name like 'R%' then 0 when name like 'G%' then 1 else 2 end"/> - <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> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SubFormulaImpl" entity-name="SubFormula" abstract="false" lazy="false" extends="SuperFormula" discriminator-value="0"> - <meta attribute="eclassName">SubFormula</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 506985450..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,53 +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="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SuperImpl" entity-name="Super" abstract="false" lazy="false" discriminator-value="80248667" table="`super_table`"> - <meta attribute="eclassName">Super</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</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 type="integer"> - <column name="DISC" index="SUPER_TABLEDISC" not-null="true"/> - </discriminator> - <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> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SubImpl" entity-name="Sub" abstract="false" lazy="false" extends="Super" discriminator-value="83488"> - <meta attribute="eclassName">Sub</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.OtherSubImpl" entity-name="OtherSub" abstract="false" lazy="false" extends="Super" discriminator-value="500"> - <meta attribute="eclassName">OtherSub</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> - <subclass entity-name="AbstractSub" abstract="true" lazy="false" extends="Super" discriminator-value="950694558"> - <meta attribute="eclassName">AbstractSub</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SuperFormulaImpl" entity-name="SuperFormula" abstract="false" lazy="false" discriminator-value="1" table="`superformula`"> - <meta attribute="eclassName">SuperFormula</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</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 formula="case when name like 'R%' then 0 when name like 'G%' then 1 else 2 end"/> - <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> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SubFormulaImpl" entity-name="SubFormula" abstract="false" lazy="false" extends="SuperFormula" discriminator-value="0"> - <meta attribute="eclassName">SubFormula</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LazyLibraryAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LazyLibraryAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d3cc89d96..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LazyLibraryAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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"> - <typedef name="lazy.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.lazy.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LazyLibraryAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LazyLibraryAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 091eb79b0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LazyLibraryAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,86 +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"> - <typedef name="lazy.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.lazy.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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> - <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> - <list name="writers" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LazyLibraryAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LazyLibraryAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 091eb79b0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LazyLibraryAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,86 +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"> - <typedef name="lazy.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.lazy.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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> - <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> - <list name="writers" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 84d1215d0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,27 +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="org.eclipse.emf.teneo.samples.emf.annotations.lob.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lob</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`photo`" length="1000000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 2d0258238..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,24 +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="org.eclipse.emf.teneo.samples.emf.annotations.lob.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lob</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`photo`" length="1000000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 2d0258238..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,24 +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="org.eclipse.emf.teneo.samples.emf.annotations.lob.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lob</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`photo`" length="1000000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index 26b334b3b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.emf.annotations.lob.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lob</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <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> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`photo`" length="1000000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index 21361fc82..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,31 +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="org.eclipse.emf.teneo.samples.emf.annotations.lob.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lob</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <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> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`address`"/> - </property> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`photo`" length="1000000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file 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 deleted file mode 100755 index 69fb86755..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,81 +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="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> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany</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 type="string"> - <column name="dtype" index="cntrdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="rght" lazy="false" cascade="merge,persist,save-update,lock" table="`rightcenter`"> - <key update="true"> - <column name="`cntr_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Rght" unique="false" foreign-key="cntr_rght"> - <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`"> - <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" foreign-key="cntr_lft"> - <column name="`lft_e_id`" not-null="true" unique="false"/> - </many-to-many> - </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> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany</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 type="string"> - <column name="dtype" index="lftdtype" length="255" not-null="true"/> - </discriminator> - <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`"> - <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" foreign-key="lft_cntr"> - <column name="`cntr_e_id`" not-null="true" unique="false"/> - </many-to-many> - </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> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany</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 type="string"> - <column name="dtype" index="rghtdtype" length="255" not-null="true"/> - </discriminator> - <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="`rightcenter`"> - <key update="true"> - <column name="`rght_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Cntr" unique="false" foreign-key="rght_cntr"> - <column name="`cntr_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index fc0b8598d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,72 +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="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl" entity-name="Cntr" abstract="false" lazy="false" table="`cntr`"> - <meta attribute="eclassName">Cntr</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="rght" lazy="false" cascade="merge,persist,save-update,lock" table="`rightcenter`"> - <key update="true"> - <column name="`cntr_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Rght" unique="false" foreign-key="cntr_rght"> - <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`"> - <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" foreign-key="cntr_lft"> - <column name="`lft_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl" entity-name="Lft" abstract="false" lazy="false" table="`lft`"> - <meta attribute="eclassName">Lft</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany</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> - <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`"> - <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" foreign-key="lft_cntr"> - <column name="`cntr_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl" entity-name="Rght" abstract="false" lazy="false" table="`rght`"> - <meta attribute="eclassName">Rght</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany</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> - <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="`rightcenter`"> - <key update="true"> - <column name="`rght_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Cntr" unique="false" foreign-key="rght_cntr"> - <column name="`cntr_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index fc0b8598d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ManyToManyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,72 +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="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl" entity-name="Cntr" abstract="false" lazy="false" table="`cntr`"> - <meta attribute="eclassName">Cntr</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="rght" lazy="false" cascade="merge,persist,save-update,lock" table="`rightcenter`"> - <key update="true"> - <column name="`cntr_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Rght" unique="false" foreign-key="cntr_rght"> - <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`"> - <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" foreign-key="cntr_lft"> - <column name="`lft_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl" entity-name="Lft" abstract="false" lazy="false" table="`lft`"> - <meta attribute="eclassName">Lft</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany</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> - <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`"> - <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" foreign-key="lft_cntr"> - <column name="`cntr_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl" entity-name="Rght" abstract="false" lazy="false" table="`rght`"> - <meta attribute="eclassName">Rght</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany</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> - <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="`rightcenter`"> - <key update="true"> - <column name="`rght_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Cntr" unique="false" foreign-key="rght_cntr"> - <column name="`cntr_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f3257d236..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`BOOK`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</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 type="string"> - <column name="DTYPE" index="BOOKDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`TITLE`"/> - </property> - <map name="writers" where="name='martin'" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BOOK_WRITERS"> - <column name="`BOOK_WRITERS_E_ID`" not-null="false" unique="false"/> - </key> - <map-key column="`NAME`" type="java.lang.String"/> - <one-to-many entity-name="Writer"/> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`WRITER`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</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 type="string"> - <column name="DTYPE" index="WRITERDTYPE" length="255" not-null="true"/> - </discriminator> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a3349280a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`BOOK`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`TITLE`"/> - </property> - <map name="writers" where="name='martin'" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BOOK_WRITERS"> - <column name="`BOOK_WRITERS_E_ID`" not-null="false" unique="false"/> - </key> - <map-key column="`NAME`" type="java.lang.String"/> - <one-to-many entity-name="Writer"/> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`WRITER`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a3349280a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`BOOK`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`TITLE`"/> - </property> - <map name="writers" where="name='martin'" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="BOOK_WRITERS"> - <column name="`BOOK_WRITERS_E_ID`" not-null="false" unique="false"/> - </key> - <map-key column="`NAME`" type="java.lang.String"/> - <one-to-many entity-name="Writer"/> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`WRITER`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a92764da5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,50 +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="org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.impl.AddIDDocumentImpl" entity-name="AddIDDocument" abstract="false" lazy="false" discriminator-value="AddIDDocument" table="`addiddocument`"> - <meta attribute="eclassName">AddIDDocument</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclass</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="addiddocumentdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="myGenericInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`mygenericinfo`"/> - </property> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.impl.SpecificDocumentImpl" entity-name="SpecificDocument" abstract="false" lazy="false" discriminator-value="SpecificDocument" table="`specificdocument`"> - <meta attribute="eclassName">SpecificDocument</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclass</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="specificdocumentdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="myGenericInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`mygenericinfo`"/> - </property> - <property name="myName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`parentdocument_name`" length="50"/> - </property> - <property name="mySpecificInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`myspecificinfo`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e4029ef12..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,44 +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="org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.impl.AddIDDocumentImpl" entity-name="AddIDDocument" abstract="false" lazy="false" table="`addiddocument`"> - <meta attribute="eclassName">AddIDDocument</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclass</meta> - <cache usage="read-write"/> - <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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="myGenericInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`mygenericinfo`"/> - </property> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.impl.SpecificDocumentImpl" entity-name="SpecificDocument" abstract="false" lazy="false" table="`specificdocument`"> - <meta attribute="eclassName">SpecificDocument</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclass</meta> - <cache usage="read-write"/> - <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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="myGenericInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`mygenericinfo`"/> - </property> - <property name="myName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`parentdocument_name`" length="50"/> - </property> - <property name="mySpecificInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`myspecificinfo`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index e4029ef12..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,44 +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="org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.impl.AddIDDocumentImpl" entity-name="AddIDDocument" abstract="false" lazy="false" table="`addiddocument`"> - <meta attribute="eclassName">AddIDDocument</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclass</meta> - <cache usage="read-write"/> - <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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="myGenericInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`mygenericinfo`"/> - </property> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.impl.SpecificDocumentImpl" entity-name="SpecificDocument" abstract="false" lazy="false" table="`specificdocument`"> - <meta attribute="eclassName">SpecificDocument</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclass</meta> - <cache usage="read-write"/> - <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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="myGenericInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`mygenericinfo`"/> - </property> - <property name="myName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`parentdocument_name`" length="50"/> - </property> - <property name="mySpecificInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`myspecificinfo`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 9a7ab19af..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,58 +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="org.eclipse.emf.teneo.samples.emf.annotations.naturalId.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalid</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <natural-id mutable="false"> - <property name="firstName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - <many-to-one name="family" entity-name="Family" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_family" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`family_family_id`"/> - </many-to-one> - </natural-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="age" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`age`"/> - </property> - <property name="callName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`callname`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.naturalId.impl.FamilyImpl" entity-name="Family" abstract="false" lazy="false" discriminator-value="Family" table="`family`"> - <meta attribute="eclassName">Family</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalid</meta> - <id name="id" type="int" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="familydtype" length="255" not-null="true"/> - </discriminator> - <natural-id mutable="false"> - <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> - </natural-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="age" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`age`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 6cc97e462..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,52 +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="org.eclipse.emf.teneo.samples.emf.annotations.naturalId.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalid</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> - <natural-id mutable="false"> - <property name="firstName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - <many-to-one name="family" entity-name="Family" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_family" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`family_family_id`"/> - </many-to-one> - </natural-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="age" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`age`"/> - </property> - <property name="callName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`callname`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.naturalId.impl.FamilyImpl" entity-name="Family" abstract="false" lazy="false" table="`family`"> - <meta attribute="eclassName">Family</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalid</meta> - <id name="id" type="int" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <natural-id mutable="false"> - <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> - </natural-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="age" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`age`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 6cc97e462..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,52 +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="org.eclipse.emf.teneo.samples.emf.annotations.naturalId.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalid</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> - <natural-id mutable="false"> - <property name="firstName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - <many-to-one name="family" entity-name="Family" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_family" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`family_family_id`"/> - </many-to-one> - </natural-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="age" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`age`"/> - </property> - <property name="callName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`callname`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.naturalId.impl.FamilyImpl" entity-name="Family" abstract="false" lazy="false" table="`family`"> - <meta attribute="eclassName">Family</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalid</meta> - <id name="id" type="int" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <natural-id mutable="false"> - <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> - </natural-id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="age" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`age`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OnetoonePKAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OnetoonePKAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 6936c9df1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OnetoonePKAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.emf.annotations.otopk.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/otopk</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">employeeInfo</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="employeedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="employeeInfo" entity-name="EmployeeInfo" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="false" foreign-key="employee_employeeinfo" insert="true" update="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.otopk.impl.EmployeeInfoImpl" entity-name="EmployeeInfo" abstract="false" lazy="false" discriminator-value="EmployeeInfo" table="`employeeinfo`"> - <meta attribute="eclassName">EmployeeInfo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/otopk</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="employeeinfodtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OnetoonePKAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OnetoonePKAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 034c1449e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OnetoonePKAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,30 +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="org.eclipse.emf.teneo.samples.emf.annotations.otopk.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/otopk</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">employeeInfo</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="employeeInfo" entity-name="EmployeeInfo" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="false" foreign-key="employee_employeeinfo" insert="true" update="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.otopk.impl.EmployeeInfoImpl" entity-name="EmployeeInfo" abstract="false" lazy="false" table="`employeeinfo`"> - <meta attribute="eclassName">EmployeeInfo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/otopk</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OnetoonePKAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OnetoonePKAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 034c1449e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OnetoonePKAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,30 +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="org.eclipse.emf.teneo.samples.emf.annotations.otopk.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/otopk</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="foreign"> - <param name="property">employeeInfo</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="employeeInfo" entity-name="EmployeeInfo" cascade="merge,persist,save-update,lock,refresh" not-null="false" lazy="false" foreign-key="employee_employeeinfo" insert="true" update="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.otopk.impl.EmployeeInfoImpl" entity-name="EmployeeInfo" abstract="false" lazy="false" table="`employeeinfo`"> - <meta attribute="eclassName">EmployeeInfo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/otopk</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OverrideSecondaryAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OverrideSecondaryAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 3fdd54abb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OverrideSecondaryAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`age`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" extends="Person" discriminator-value="Employee"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</meta> - <join table="`secondary_table`"> - <key/> - <component name="address" class="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.AddressImpl"> - <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="`other_name`"/> - </property> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`other_street`"/> - </property> - <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="`other_city`"/> - </property> - <many-to-one name="country" entity-name="Country" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`addr_country`"/> - </many-to-one> - </component> - <property name="employeeNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`emp_num`"/> - </property> - </join> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.NonEmployeeImpl" entity-name="NonEmployee" abstract="false" lazy="false" extends="Person" discriminator-value="NonEmployee"> - <meta attribute="eclassName">NonEmployee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</meta> - <component name="address" class="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.AddressImpl"> - <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="`address_name`"/> - </property> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`address_street`"/> - </property> - <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="`address_city`"/> - </property> - <many-to-one name="country" entity-name="Country" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`country_country_e_id`"/> - </many-to-one> - </component> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.CountryImpl" entity-name="Country" abstract="false" lazy="false" discriminator-value="Country" table="`country`"> - <meta attribute="eclassName">Country</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</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 type="string"> - <column name="dtype" index="countrydtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OverrideSecondaryAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OverrideSecondaryAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index c4a381845..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OverrideSecondaryAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,81 +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="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`age`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" extends="Person" discriminator-value="Employee"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</meta> - <join table="`secondary_table`"> - <key/> - <component name="address" class="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.AddressImpl"> - <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="`other_name`"/> - </property> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`other_street`"/> - </property> - <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="`other_city`"/> - </property> - <many-to-one name="country" entity-name="Country" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`addr_country`"/> - </many-to-one> - </component> - <property name="employeeNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`emp_num`"/> - </property> - </join> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.NonEmployeeImpl" entity-name="NonEmployee" abstract="false" lazy="false" extends="Person" discriminator-value="NonEmployee"> - <meta attribute="eclassName">NonEmployee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</meta> - <component name="address" class="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.AddressImpl"> - <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="`address_name`"/> - </property> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`address_street`"/> - </property> - <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="`address_city`"/> - </property> - <many-to-one name="country" entity-name="Country" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`country_country_e_id`"/> - </many-to-one> - </component> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.CountryImpl" entity-name="Country" abstract="false" lazy="false" table="`country`"> - <meta attribute="eclassName">Country</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</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> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OverrideSecondaryAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OverrideSecondaryAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c4a381845..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/OverrideSecondaryAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,81 +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="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`age`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" extends="Person" discriminator-value="Employee"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</meta> - <join table="`secondary_table`"> - <key/> - <component name="address" class="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.AddressImpl"> - <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="`other_name`"/> - </property> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`other_street`"/> - </property> - <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="`other_city`"/> - </property> - <many-to-one name="country" entity-name="Country" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`addr_country`"/> - </many-to-one> - </component> - <property name="employeeNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`emp_num`"/> - </property> - </join> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.NonEmployeeImpl" entity-name="NonEmployee" abstract="false" lazy="false" extends="Person" discriminator-value="NonEmployee"> - <meta attribute="eclassName">NonEmployee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</meta> - <component name="address" class="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.AddressImpl"> - <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="`address_name`"/> - </property> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`address_street`"/> - </property> - <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="`address_city`"/> - </property> - <many-to-one name="country" entity-name="Country" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`country_country_e_id`"/> - </many-to-one> - </component> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.attroverridesecondarytable.impl.CountryImpl" entity-name="Country" abstract="false" lazy="false" table="`country`"> - <meta attribute="eclassName">Country</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/attroverridesecondarytable</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> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/PKeyJoinAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/PKeyJoinAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d8d35b3d3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/PKeyJoinAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,35 +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="org.eclipse.emf.teneo.samples.emf.annotations.primarykeyjoin.impl.BodyImpl" entity-name="Body" abstract="false" lazy="false" discriminator-value="Body" table="`body`"> - <meta attribute="eclassName">Body</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> - <id name="theID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`theid`"/> - <generator class="foreign"> - <param name="property">head</param> - </generator> - </id> - <discriminator type="string"> - <column name="dtype" index="bodydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="head" entity-name="Head" cascade="all" not-null="true" lazy="false" foreign-key="body_head" insert="true" update="true" unique="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.primarykeyjoin.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`"> - <meta attribute="eclassName">Head</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> - <id name="myID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="headdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/PKeyJoinAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/PKeyJoinAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 751c24f38..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/PKeyJoinAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,29 +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="org.eclipse.emf.teneo.samples.emf.annotations.primarykeyjoin.impl.BodyImpl" entity-name="Body" abstract="false" lazy="false" table="`body`"> - <meta attribute="eclassName">Body</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> - <id name="theID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`theid`"/> - <generator class="foreign"> - <param name="property">head</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="head" entity-name="Head" cascade="all" not-null="true" lazy="false" foreign-key="body_head" insert="true" update="true" unique="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.primarykeyjoin.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" table="`head`"> - <meta attribute="eclassName">Head</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> - <id name="myID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/PKeyJoinAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/PKeyJoinAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 751c24f38..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/PKeyJoinAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,29 +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="org.eclipse.emf.teneo.samples.emf.annotations.primarykeyjoin.impl.BodyImpl" entity-name="Body" abstract="false" lazy="false" table="`body`"> - <meta attribute="eclassName">Body</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> - <id name="theID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`theid`"/> - <generator class="foreign"> - <param name="property">head</param> - </generator> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="head" entity-name="Head" cascade="all" not-null="true" lazy="false" foreign-key="body_head" insert="true" update="true" unique="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.primarykeyjoin.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" table="`head`"> - <meta attribute="eclassName">Head</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> - <id name="myID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`myid`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ecc00b32a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,37 +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="org.eclipse.emf.teneo.samples.emf.annotations.secondarytablehibernate.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`PERSON`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytablehibernate</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <discriminator type="string"> - <column name="DTYPE" index="PERSONDTYPE" length="255" not-null="true"/> - </discriminator> - <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> - <join table="`PERSON_ADDRESS`"> - <key> - <column name="`ID`"/> - </key> - <property name="address" lazy="false" insert="true" update="true" not-null="true" unique="false" type="text"> - <column not-null="true" unique="false" name="`ADDRESS`"/> - </property> - </join> - <join table="`PERSON_PHOTO`"> - <key> - <column name="`ID`"/> - </key> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> - </property> - </join> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 2de4bd693..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,34 +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="org.eclipse.emf.teneo.samples.emf.annotations.secondarytablehibernate.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`PERSON`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytablehibernate</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <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> - <join table="`PERSON_ADDRESS`"> - <key> - <column name="`ID`"/> - </key> - <property name="address" lazy="false" insert="true" update="true" not-null="true" unique="false" type="text"> - <column not-null="true" unique="false" name="`ADDRESS`"/> - </property> - </join> - <join table="`PERSON_PHOTO`"> - <key> - <column name="`ID`"/> - </key> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> - </property> - </join> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 2de4bd693..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,34 +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="org.eclipse.emf.teneo.samples.emf.annotations.secondarytablehibernate.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`PERSON`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytablehibernate</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <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> - <join table="`PERSON_ADDRESS`"> - <key> - <column name="`ID`"/> - </key> - <property name="address" lazy="false" insert="true" update="true" not-null="true" unique="false" type="text"> - <column not-null="true" unique="false" name="`ADDRESS`"/> - </property> - </join> - <join table="`PERSON_PHOTO`"> - <key> - <column name="`ID`"/> - </key> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> - </property> - </join> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index 7a542ac8e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,34 +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="org.eclipse.emf.teneo.samples.emf.annotations.secondarytablehibernate.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`PERSON`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytablehibernate</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <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> - <join table="`PERSON_ADDRESS`"> - <key> - <column name="`ID`"/> - </key> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`ADDRESS`"/> - </property> - </join> - <join table="`PERSON_PHOTO`"> - <key> - <column name="`ID`"/> - </key> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> - </property> - </join> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index 63ebe7c4e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SecondarytableHibernateAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,37 +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="org.eclipse.emf.teneo.samples.emf.annotations.secondarytablehibernate.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`PERSON`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytablehibernate</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <discriminator type="string"> - <column name="DTYPE" index="PERSONDTYPE" length="255" not-null="true"/> - </discriminator> - <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> - <join table="`PERSON_ADDRESS`"> - <key> - <column name="`ID`"/> - </key> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`ADDRESS`"/> - </property> - </join> - <join table="`PERSON_PHOTO`"> - <key> - <column name="`ID`"/> - </key> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> - </property> - </join> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 542a8de78..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,77 +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="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" discriminator-value="testSet.ContainedItem" table="`TESTSET_CONTAINEDITEM`"> - <meta attribute="eclassName">ContainedItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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 type="string"> - <column name="DTYPE" index="TESTSET_CONTAINEDITEMDTYPE" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" discriminator-value="testSet.Item" table="`TESTSET_ITEM`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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 type="string"> - <column name="DTYPE" index="TESTSET_ITEMDTYPE" length="255" not-null="true"/> - </discriminator> - <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="itemList" entity-name="testSet.ItemList" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TESTSET_ITEM_ITEMLIST" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ITEM_ITEMLIST_E_ID`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" discriminator-value="testSet.ItemList" table="`TESTSET_ITEMLIST`"> - <meta attribute="eclassName">ItemList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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 type="string"> - <column name="DTYPE" index="TESTSET_ITEMLISTDTYPE" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="TESTSET_ITEMLIST_CONTAINEDITEM"> - <column name="`ITEMLIST_CONTAINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.ContainedItem"/> - </bag> - <bag name="item" order-by="`NAME` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ITEM_ITEMLIST_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - <bag name="joinedItem" order-by="`NAME` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="TESTSET_ITEMLIST_JOINEDITEM"> - <column name="`ITEMLIST_JOINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index dd3c2ac71..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" table="`TESTSET_CONTAINEDITEM`"> - <meta attribute="eclassName">ContainedItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" table="`TESTSET_ITEM`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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="itemList" entity-name="testSet.ItemList" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TESTSET_ITEM_ITEMLIST" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ITEM_ITEMLIST_E_ID`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" table="`TESTSET_ITEMLIST`"> - <meta attribute="eclassName">ItemList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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> - <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="TESTSET_ITEMLIST_CONTAINEDITEM"> - <column name="`ITEMLIST_CONTAINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.ContainedItem"/> - </bag> - <bag name="item" order-by="`NAME` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ITEM_ITEMLIST_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - <bag name="joinedItem" order-by="`NAME` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="TESTSET_ITEMLIST_JOINEDITEM"> - <column name="`ITEMLIST_JOINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index dd3c2ac71..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" table="`TESTSET_CONTAINEDITEM`"> - <meta attribute="eclassName">ContainedItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" table="`TESTSET_ITEM`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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="itemList" entity-name="testSet.ItemList" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TESTSET_ITEM_ITEMLIST" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ITEM_ITEMLIST_E_ID`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" table="`TESTSET_ITEMLIST`"> - <meta attribute="eclassName">ItemList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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> - <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="TESTSET_ITEMLIST_CONTAINEDITEM"> - <column name="`ITEMLIST_CONTAINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.ContainedItem"/> - </bag> - <bag name="item" order-by="`NAME` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ITEM_ITEMLIST_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - <bag name="joinedItem" order-by="`NAME` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="TESTSET_ITEMLIST_JOINEDITEM"> - <column name="`ITEMLIST_JOINEDITEM_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="testSet.Item"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 0cf055e9b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,55 +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="org.eclipse.emf.teneo.samples.emf.annotations.nmset.impl.MyItemImpl" entity-name="MyItem" abstract="false" lazy="false" discriminator-value="MyItem" table="`myitem`"> - <meta attribute="eclassName">MyItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/nmset</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 type="string"> - <column name="dtype" index="myitemdtype" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="yourItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`myitem_youritem`"> - <key update="true"> - <column name="`myitem_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="YourItem" unique="false" foreign-key="myitem_youritem"> - <column name="`youritem_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.nmset.impl.YourItemImpl" entity-name="YourItem" abstract="false" lazy="false" discriminator-value="YourItem" table="`youritem`"> - <meta attribute="eclassName">YourItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/nmset</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 type="string"> - <column name="dtype" index="youritemdtype" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="myItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`myitem_youritem`"> - <key update="true"> - <column name="`youritem_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="MyItem" unique="false" foreign-key="youritem_myitem"> - <column name="`myitem_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7988fd35b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,49 +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="org.eclipse.emf.teneo.samples.emf.annotations.nmset.impl.MyItemImpl" entity-name="MyItem" abstract="false" lazy="false" table="`myitem`"> - <meta attribute="eclassName">MyItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/nmset</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> - <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> - <bag name="yourItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`myitem_youritem`"> - <key update="true"> - <column name="`myitem_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="YourItem" unique="false" foreign-key="myitem_youritem"> - <column name="`youritem_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.nmset.impl.YourItemImpl" entity-name="YourItem" abstract="false" lazy="false" table="`youritem`"> - <meta attribute="eclassName">YourItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/nmset</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> - <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> - <bag name="myItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`myitem_youritem`"> - <key update="true"> - <column name="`youritem_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="MyItem" unique="false" foreign-key="youritem_myitem"> - <column name="`myitem_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 7988fd35b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetNMAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,49 +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="org.eclipse.emf.teneo.samples.emf.annotations.nmset.impl.MyItemImpl" entity-name="MyItem" abstract="false" lazy="false" table="`myitem`"> - <meta attribute="eclassName">MyItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/nmset</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> - <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> - <bag name="yourItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`myitem_youritem`"> - <key update="true"> - <column name="`myitem_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="YourItem" unique="false" foreign-key="myitem_youritem"> - <column name="`youritem_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.nmset.impl.YourItemImpl" entity-name="YourItem" abstract="false" lazy="false" table="`youritem`"> - <meta attribute="eclassName">YourItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/nmset</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> - <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> - <bag name="myItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`myitem_youritem`"> - <key update="true"> - <column name="`youritem_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="MyItem" unique="false" foreign-key="youritem_myitem"> - <column name="`myitem_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f28794516..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,77 +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="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="ContainedItem" abstract="false" lazy="false" discriminator-value="ContainedItem" table="`containeditem`"> - <meta attribute="eclassName">ContainedItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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 type="string"> - <column name="dtype" index="containeditemdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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 type="string"> - <column name="dtype" index="itemdtype" length="255" not-null="true"/> - </discriminator> - <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="itemList" entity-name="ItemList" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_itemlist" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`item_itemlist_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="ItemList" abstract="false" lazy="false" discriminator-value="ItemList" table="`itemlist`"> - <meta attribute="eclassName">ItemList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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 type="string"> - <column name="dtype" index="itemlistdtype" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="itemlist_containeditem"> - <column name="`itemlist_containeditem_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ContainedItem"/> - </bag> - <bag name="item" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`item_itemlist_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Item"/> - </bag> - <bag name="joinedItem" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="itemlist_joineditem"> - <column name="`itemlist_joineditem_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Item"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e128fa42b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="ContainedItem" abstract="false" lazy="false" table="`containeditem`"> - <meta attribute="eclassName">ContainedItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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="itemList" entity-name="ItemList" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_itemlist" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`item_itemlist_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="ItemList" abstract="false" lazy="false" table="`itemlist`"> - <meta attribute="eclassName">ItemList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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> - <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="itemlist_containeditem"> - <column name="`itemlist_containeditem_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ContainedItem"/> - </bag> - <bag name="item" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`item_itemlist_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Item"/> - </bag> - <bag name="joinedItem" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="itemlist_joineditem"> - <column name="`itemlist_joineditem_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Item"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c114afa60..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="ContainedItem" abstract="false" lazy="false" table="`containeditem`"> - <meta attribute="eclassName">ContainedItem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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 name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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="itemList" entity-name="ItemList" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_itemlist" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`item_itemlist_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="ItemList" abstract="false" lazy="false" table="`itemlist`"> - <meta attribute="eclassName">ItemList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</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> - <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> - <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="itemlist_containeditem"> - <column name="`itemlist_containeditem_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ContainedItem"/> - </bag> - <bag name="item" order-by="`name` desc" inverse="true" lazy="extra" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`item_itemlist_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Item"/> - </bag> - <bag name="joinedItem" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="itemlist_joineditem"> - <column name="`itemlist_joineditem_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Item"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 0462fcdfe..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,76 +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="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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 type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.ArmImpl" entity-name="Arm" abstract="false" lazy="false" discriminator-value="Arm" table="`arm`"> - <meta attribute="eclassName">Arm</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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 type="string"> - <column name="dtype" index="armdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`length`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`"> - <meta attribute="eclassName">Head</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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 type="string"> - <column name="dtype" index="headdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="hairColor" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`haircolor`"/> - </property> - <one-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="head" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <many-to-one name="head" entity-name="Head" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <many-to-one name="leftArm" entity-name="Arm" not-null="false" lazy="false" foreign-key="person_leftarm" insert="true" update="true"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 3658199e7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,64 +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="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.ArmImpl" entity-name="Arm" abstract="false" lazy="false" table="`arm`"> - <meta attribute="eclassName">Arm</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`length`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" table="`head`"> - <meta attribute="eclassName">Head</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="hairColor" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`haircolor`"/> - </property> - <one-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="head" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <many-to-one name="head" entity-name="Head" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <many-to-one name="leftArm" entity-name="Arm" not-null="false" lazy="false" foreign-key="person_leftarm" insert="true" update="true"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 3658199e7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,64 +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="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.ArmImpl" entity-name="Arm" abstract="false" lazy="false" table="`arm`"> - <meta attribute="eclassName">Arm</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`length`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" table="`head`"> - <meta attribute="eclassName">Head</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="hairColor" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`haircolor`"/> - </property> - <one-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="head" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <many-to-one name="head" entity-name="Head" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <many-to-one name="leftArm" entity-name="Arm" not-null="false" lazy="false" foreign-key="person_leftarm" insert="true" update="true"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index cc9166ceb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,66 +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="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.ArmImpl" entity-name="Arm" abstract="false" lazy="false" table="`arm`"> - <meta attribute="eclassName">Arm</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`length`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" table="`head`"> - <meta attribute="eclassName">Head</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="hairColor" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`haircolor`"/> - </property> - <one-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="head" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <many-to-one name="head" entity-name="Head" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <many-to-one name="leftArm" entity-name="Arm" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_leftarm" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`arm_leftarm_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index 8b1c4f3af..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/ToOneAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,78 +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="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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 type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.ArmImpl" entity-name="Arm" abstract="false" lazy="false" discriminator-value="Arm" table="`arm`"> - <meta attribute="eclassName">Arm</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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 type="string"> - <column name="dtype" index="armdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`length`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`"> - <meta attribute="eclassName">Head</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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 type="string"> - <column name="dtype" index="headdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="hairColor" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`haircolor`"/> - </property> - <one-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="head" constrained="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/toone</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <many-to-one name="head" entity-name="Head" cascade="all" not-null="false" lazy="false" insert="true" update="true"/> - <many-to-one name="leftArm" entity-name="Arm" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_leftarm" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`arm_leftarm_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 8c737e6d8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,18 +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="org.eclipse.emf.teneo.samples.emf.annotations.transent.impl.BodyImpl" entity-name="Body" abstract="false" lazy="false" discriminator-value="Body" table="`body`"> - <meta attribute="eclassName">Body</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/transent</meta> - <id name="theID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`theid`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bodydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7cc2c8e07..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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="org.eclipse.emf.teneo.samples.emf.annotations.transent.impl.BodyImpl" entity-name="Body" abstract="false" lazy="false" table="`body`"> - <meta attribute="eclassName">Body</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/transent</meta> - <id name="theID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`theid`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 7cc2c8e07..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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="org.eclipse.emf.teneo.samples.emf.annotations.transent.impl.BodyImpl" entity-name="Body" abstract="false" lazy="false" table="`body`"> - <meta attribute="eclassName">Body</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/transent</meta> - <id name="theID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`theid`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index 7cc2c8e07..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,15 +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="org.eclipse.emf.teneo.samples.emf.annotations.transent.impl.BodyImpl" entity-name="Body" abstract="false" lazy="false" table="`body`"> - <meta attribute="eclassName">Body</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/transent</meta> - <id name="theID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`theid`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index 8c737e6d8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/TransientAction_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,18 +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="org.eclipse.emf.teneo.samples.emf.annotations.transent.impl.BodyImpl" entity-name="Body" abstract="false" lazy="false" discriminator-value="Body" table="`body`"> - <meta attribute="eclassName">Body</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/transent</meta> - <id name="theID" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`theid`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bodydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/UniqueConstraintsAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/UniqueConstraintsAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index cf3f95caa..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/UniqueConstraintsAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,45 +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="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`myitemtable`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/uniqueconstraints</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 type="string"> - <column name="dtype" index="MYITEMTABLEdtype" length="255" not-null="true"/> - </discriminator> - <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="`mystr`" unique-key="c0"/> - </property> - <many-to-one name="project" entity-name="Project" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_project" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`myproject`" unique-key="c0"/> - </many-to-one> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`myint`" unique-key="c0"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ProjectImpl" entity-name="Project" abstract="false" lazy="false" discriminator-value="Project" table="`project`"> - <meta attribute="eclassName">Project</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/uniqueconstraints</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 type="string"> - <column name="dtype" index="projectdtype" length="255" not-null="true"/> - </discriminator> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/UniqueConstraintsAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/UniqueConstraintsAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 953ef13ed..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/UniqueConstraintsAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,39 +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="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`myitemtable`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/uniqueconstraints</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> - <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="`mystr`" unique-key="c0"/> - </property> - <many-to-one name="project" entity-name="Project" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_project" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`myproject`" unique-key="c0"/> - </many-to-one> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`myint`" unique-key="c0"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ProjectImpl" entity-name="Project" abstract="false" lazy="false" table="`project`"> - <meta attribute="eclassName">Project</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/uniqueconstraints</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/UniqueConstraintsAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/UniqueConstraintsAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 953ef13ed..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/UniqueConstraintsAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,39 +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="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`myitemtable`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/uniqueconstraints</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> - <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="`mystr`" unique-key="c0"/> - </property> - <many-to-one name="project" entity-name="Project" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_project" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`myproject`" unique-key="c0"/> - </many-to-one> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`myint`" unique-key="c0"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ProjectImpl" entity-name="Project" abstract="false" lazy="false" table="`project`"> - <meta attribute="eclassName">Project</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/uniqueconstraints</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/VariousAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/VariousAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 456e8bb59..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/VariousAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.emf.annotations.various.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" batch-size="9" discriminator-value="Parent" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/various</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 type="string" force="true"> - <column name="dtype" index="parentdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="children" batch-size="11" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="parent_children"> - <column name="`parent_children_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - <property name="totalPeople" lazy="false" not-null="false" type="int"> - <formula>(select count(*) from parent)</formula> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.various.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Parent" discriminator-value="Child"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/various</meta> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.various.impl.ImmutableCityImpl" entity-name="ImmutableCity" abstract="false" lazy="false" mutable="false" table="`immutablecity`"> - <meta attribute="eclassName">ImmutableCity</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/various</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> - <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="parents" mutable="false" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="immutablecity_parents"> - <column name="`immutablecity_parents_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`immutablecity_parents_idx`"/> - <one-to-many entity-name="Parent"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/VariousAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/VariousAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 8d0a1a328..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/VariousAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.emf.annotations.various.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" batch-size="9" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/various</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="children" batch-size="11" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="parent_children"> - <column name="`parent_children_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - <property name="totalPeople" lazy="false" not-null="false" type="int"> - <formula>(select count(*) from parent)</formula> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.various.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Parent" table="`child`"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/various</meta> - <key> - <column name="`parent_e_id`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.various.impl.ImmutableCityImpl" entity-name="ImmutableCity" abstract="false" lazy="false" mutable="false" table="`immutablecity`"> - <meta attribute="eclassName">ImmutableCity</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/various</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> - <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="parents" mutable="false" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="immutablecity_parents"> - <column name="`immutablecity_parents_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`immutablecity_parents_idx`"/> - <one-to-many entity-name="Parent"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/VariousAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/VariousAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 8d0a1a328..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/VariousAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.emf.annotations.various.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" batch-size="9" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/various</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="children" batch-size="11" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="parent_children"> - <column name="`parent_children_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`parent_children_idx`"/> - <one-to-many entity-name="Child"/> - </list> - <property name="totalPeople" lazy="false" not-null="false" type="int"> - <formula>(select count(*) from parent)</formula> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.annotations.various.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Parent" table="`child`"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/various</meta> - <key> - <column name="`parent_e_id`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.annotations.various.impl.ImmutableCityImpl" entity-name="ImmutableCity" abstract="false" lazy="false" mutable="false" table="`immutablecity`"> - <meta attribute="eclassName">ImmutableCity</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/various</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> - <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="parents" mutable="false" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="immutablecity_parents"> - <column name="`immutablecity_parents_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`immutablecity_parents_idx`"/> - <one-to-many entity-name="Parent"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.detach/DetachEListAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.detach/DetachEListAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 549e51dee..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.detach/DetachEListAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,57 +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="org.eclipse.emf.teneo.samples.emf.detach.detachelist.impl.ContactsImpl" entity-name="Contacts" abstract="false" lazy="false" discriminator-value="Contacts" table="`contacts`"> - <meta attribute="eclassName">Contacts</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachelist</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 type="string"> - <column name="dtype" index="contactsdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="persons" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contacts_persons"> - <column name="`contacts_persons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`contacts_persons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - <list name="containedPersons" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="contacts_containedpersons"> - <column name="`contacts_containedpersons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`contacts_containedpersons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachelist.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachelist</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="children" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_children"> - <column name="`person_children_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_children_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.detach/DetachEListAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.detach/DetachEListAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7f8a10e99..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.detach/DetachEListAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.emf.detach.detachelist.impl.ContactsImpl" entity-name="Contacts" abstract="false" lazy="false" table="`contacts`"> - <meta attribute="eclassName">Contacts</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachelist</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="persons" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contacts_persons"> - <column name="`contacts_persons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`contacts_persons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - <list name="containedPersons" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="contacts_containedpersons"> - <column name="`contacts_containedpersons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`contacts_containedpersons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachelist.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachelist</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> - <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> - <list name="children" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_children"> - <column name="`person_children_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_children_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.detach/DetachEListAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.detach/DetachEListAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 7f8a10e99..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.detach/DetachEListAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.emf.detach.detachelist.impl.ContactsImpl" entity-name="Contacts" abstract="false" lazy="false" table="`contacts`"> - <meta attribute="eclassName">Contacts</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachelist</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="persons" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contacts_persons"> - <column name="`contacts_persons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`contacts_persons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - <list name="containedPersons" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="contacts_containedpersons"> - <column name="`contacts_containedpersons_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`contacts_containedpersons_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.detach.detachelist.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/detach/detachelist</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> - <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> - <list name="children" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_children"> - <column name="`person_children_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_children_idx`"/> - <one-to-many entity-name="Person"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.elist/FeatureMapAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.elist/FeatureMapAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 53a27d920..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.elist/FeatureMapAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,139 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" discriminator-value="PriceByQuantityType" table="`pricebyquantitytype`"> - <meta attribute="eclassName">PriceByQuantityType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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 type="string"> - <column name="dtype" index="pricebyquantitytypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="producttypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`producttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group_idx`"/> - <one-to-many entity-name="ProductType_group"/> - </list> - <property name="productClassification" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`productclassification`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param> - <param name="eclassifier">ProductClassification</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - </type> - </property> - <list name="group1" table="`producttype_group1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group1_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group1_idx`"/> - <one-to-many entity-name="ProductType_group1"/> - </list> - </class> - <class entity-name="ProductType_group" lazy="false" table="`producttype_group`"> - <meta attribute="featureMap">ProductType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_description`"/> - </property> - <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_translateddescription" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_translateddescriptiontype_translateddescription_e_id`"/> - </many-to-one> - </class> - <class entity-name="ProductType_group1" lazy="false" table="`producttype_group1`"> - <meta attribute="featureMap">ProductType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="priceByQuantity" entity-name="PriceByQuantityType" lazy="false" cascade="all" foreign-key="producttype_pricebyquantity" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_pricebyquantitytype_pricebyquantity_e_id`"/> - </many-to-one> - <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_pricefromsupplier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_supplierpricetype_pricefromsupplier_e_id`"/> - </many-to-one> - <property name="simplePrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`group1_simpleprice`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" discriminator-value="SupplierPriceType" table="`supplierpricetype`"> - <meta attribute="eclassName">SupplierPriceType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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 type="string"> - <column name="dtype" index="supplierpricetypedtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" discriminator-value="TranslatedDescriptionType" table="`translateddescriptiontype`"> - <meta attribute="eclassName">TranslatedDescriptionType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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 type="string"> - <column name="dtype" index="translateddescriptiontypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="language" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`language`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.elist/FeatureMapAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.elist/FeatureMapAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 0060516f4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.elist/FeatureMapAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,127 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" table="`pricebyquantitytype`"> - <meta attribute="eclassName">PriceByQuantityType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`producttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group_idx`"/> - <one-to-many entity-name="ProductType_group"/> - </list> - <property name="productClassification" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`productclassification`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param> - <param name="eclassifier">ProductClassification</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - </type> - </property> - <list name="group1" table="`producttype_group1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group1_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group1_idx`"/> - <one-to-many entity-name="ProductType_group1"/> - </list> - </class> - <class entity-name="ProductType_group" lazy="false" table="`producttype_group`"> - <meta attribute="featureMap">ProductType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_description`"/> - </property> - <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_translateddescription" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_translateddescriptiontype_translateddescription_e_id`"/> - </many-to-one> - </class> - <class entity-name="ProductType_group1" lazy="false" table="`producttype_group1`"> - <meta attribute="featureMap">ProductType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="priceByQuantity" entity-name="PriceByQuantityType" lazy="false" cascade="all" foreign-key="producttype_pricebyquantity" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_pricebyquantitytype_pricebyquantity_e_id`"/> - </many-to-one> - <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_pricefromsupplier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_supplierpricetype_pricefromsupplier_e_id`"/> - </many-to-one> - <property name="simplePrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`group1_simpleprice`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" table="`supplierpricetype`"> - <meta attribute="eclassName">SupplierPriceType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <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> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" table="`translateddescriptiontype`"> - <meta attribute="eclassName">TranslatedDescriptionType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="language" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`language`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.elist/FeatureMapAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.elist/FeatureMapAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 0060516f4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.elist/FeatureMapAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,127 +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"> - <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - <param name="edatatype">ProductClassificationObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" entity-name="PriceByQuantityType" abstract="false" lazy="false" table="`pricebyquantitytype`"> - <meta attribute="eclassName">PriceByQuantityType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantity`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`producttype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group_idx`"/> - <one-to-many entity-name="ProductType_group"/> - </list> - <property name="productClassification" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`productclassification`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param> - <param name="eclassifier">ProductClassification</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> - </type> - </property> - <list name="group1" table="`producttype_group1`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`producttype_group1_name`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_group1_idx`"/> - <one-to-many entity-name="ProductType_group1"/> - </list> - </class> - <class entity-name="ProductType_group" lazy="false" table="`producttype_group`"> - <meta attribute="featureMap">ProductType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_description`"/> - </property> - <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_translateddescription" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_translateddescriptiontype_translateddescription_e_id`"/> - </many-to-one> - </class> - <class entity-name="ProductType_group1" lazy="false" table="`producttype_group1`"> - <meta attribute="featureMap">ProductType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="priceByQuantity" entity-name="PriceByQuantityType" lazy="false" cascade="all" foreign-key="producttype_pricebyquantity" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_pricebyquantitytype_pricebyquantity_e_id`"/> - </many-to-one> - <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_pricefromsupplier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group1_supplierpricetype_pricefromsupplier_e_id`"/> - </many-to-one> - <property name="simplePrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`group1_simpleprice`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.SupplierPriceTypeImpl" entity-name="SupplierPriceType" abstract="false" lazy="false" table="`supplierpricetype`"> - <meta attribute="eclassName">SupplierPriceType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <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> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.TranslatedDescriptionTypeImpl" entity-name="TranslatedDescriptionType" abstract="false" lazy="false" table="`translateddescriptiontype`"> - <meta attribute="eclassName">TranslatedDescriptionType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="language" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`language`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1to1Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1to1Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 05aba12ee..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1to1Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,159 +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="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.ContainedChildNRImpl" entity-name="ContainedChildNR" abstract="false" lazy="false" discriminator-value="ContainedChildNR" table="`containedchildnr`"> - <meta attribute="eclassName">ContainedChildNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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 type="string"> - <column name="dtype" index="containedchildnrdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.ContainedChildRImpl" entity-name="ContainedChildR" abstract="false" lazy="false" discriminator-value="ContainedChildR" table="`containedchildr`"> - <meta attribute="eclassName">ContainedChildR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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 type="string"> - <column name="dtype" index="containedchildrdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.MainImpl" 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/relation1to1</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 type="string"> - <column name="dtype" index="maindtype" length="255" not-null="true"/> - </discriminator> - <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> - <many-to-one name="containedonewayrequired" entity-name="ContainedChildR" lazy="false" cascade="all" foreign-key="main_containedonewayrequired" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`containedchildr_containedonewayrequired_e_id`"/> - </many-to-one> - <many-to-one name="containedoneWaynotrequired" entity-name="ContainedChildNR" lazy="false" cascade="all" foreign-key="main_containedonewaynotrequired" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`containedchildnr_containedonewaynotrequired_e_id`"/> - </many-to-one> - <many-to-one name="notcontainedonewayrequired" entity-name="NotContainedChildR" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="main_notcontainedonewayrequired" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`notcontainedchildr_notcontainedonewayrequired_e_id`"/> - </many-to-one> - <many-to-one name="notcontainedonewaynotrequired" entity-name="NotContainedChildNR" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="main_notcontainedonewaynotrequired" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`notcontainedchildnr_notcontainedonewaynotrequired_e_id`"/> - </many-to-one> - <one-to-one name="notcontainedtwowaynotrequired" entity-name="NotContainedChildNRT" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="main"/> - <one-to-one name="notcontainedtwowayrequirednr" entity-name="NotContainedChildRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="main" constrained="true"/> - <one-to-one name="notcontainedtwowaynotrequirednr" entity-name="NotContainedChildNRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="main"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildNRImpl" entity-name="NotContainedChildNR" abstract="false" lazy="false" discriminator-value="NotContainedChildNR" table="`notcontainedchildnr`"> - <meta attribute="eclassName">NotContainedChildNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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 type="string"> - <column name="dtype" index="notcontainedchildnrdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildNRTImpl" entity-name="NotContainedChildNRT" abstract="false" lazy="false" discriminator-value="NotContainedChildNRT" table="`notcontainedchildnrt`"> - <meta attribute="eclassName">NotContainedChildNRT</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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 type="string"> - <column name="dtype" index="notcontainedchildnrtdtype" length="255" not-null="true"/> - </discriminator> - <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" not-null="true" lazy="false" insert="true" update="true" unique="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildNRTNRImpl" entity-name="NotContainedChildNRTNR" abstract="false" lazy="false" discriminator-value="NotContainedChildNRTNR" table="`notcontainedchildnrtnr`"> - <meta attribute="eclassName">NotContainedChildNRTNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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 type="string"> - <column name="dtype" index="notcontainedchildnrtnrdtype" length="255" not-null="true"/> - </discriminator> - <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" not-null="false" lazy="false" insert="true" update="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildRImpl" entity-name="NotContainedChildR" abstract="false" lazy="false" discriminator-value="NotContainedChildR" table="`notcontainedchildr`"> - <meta attribute="eclassName">NotContainedChildR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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 type="string"> - <column name="dtype" index="notcontainedchildrdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildRTNRImpl" entity-name="NotContainedChildRTNR" abstract="false" lazy="false" discriminator-value="NotContainedChildRTNR" table="`notcontainedchildrtnr`"> - <meta attribute="eclassName">NotContainedChildRTNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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 type="string"> - <column name="dtype" index="notcontainedchildrtnrdtype" length="255" not-null="true"/> - </discriminator> - <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" not-null="false" lazy="false" insert="true" update="true"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1to1Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1to1Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 57967f607..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1to1Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,135 +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="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.ContainedChildNRImpl" entity-name="ContainedChildNR" abstract="false" lazy="false" table="`containedchildnr`"> - <meta attribute="eclassName">ContainedChildNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.ContainedChildRImpl" entity-name="ContainedChildR" abstract="false" lazy="false" table="`containedchildr`"> - <meta attribute="eclassName">ContainedChildR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.MainImpl" entity-name="Main" abstract="false" lazy="false" table="`main`"> - <meta attribute="eclassName">Main</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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> - <many-to-one name="containedonewayrequired" entity-name="ContainedChildR" lazy="false" cascade="all" foreign-key="main_containedonewayrequired" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`containedchildr_containedonewayrequired_e_id`"/> - </many-to-one> - <many-to-one name="containedoneWaynotrequired" entity-name="ContainedChildNR" lazy="false" cascade="all" foreign-key="main_containedonewaynotrequired" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`containedchildnr_containedonewaynotrequired_e_id`"/> - </many-to-one> - <many-to-one name="notcontainedonewayrequired" entity-name="NotContainedChildR" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="main_notcontainedonewayrequired" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`notcontainedchildr_notcontainedonewayrequired_e_id`"/> - </many-to-one> - <many-to-one name="notcontainedonewaynotrequired" entity-name="NotContainedChildNR" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="main_notcontainedonewaynotrequired" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`notcontainedchildnr_notcontainedonewaynotrequired_e_id`"/> - </many-to-one> - <one-to-one name="notcontainedtwowaynotrequired" entity-name="NotContainedChildNRT" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="main"/> - <one-to-one name="notcontainedtwowayrequirednr" entity-name="NotContainedChildRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="main" constrained="true"/> - <one-to-one name="notcontainedtwowaynotrequirednr" entity-name="NotContainedChildNRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="main"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildNRImpl" entity-name="NotContainedChildNR" abstract="false" lazy="false" table="`notcontainedchildnr`"> - <meta attribute="eclassName">NotContainedChildNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildNRTImpl" entity-name="NotContainedChildNRT" abstract="false" lazy="false" table="`notcontainedchildnrt`"> - <meta attribute="eclassName">NotContainedChildNRT</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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" not-null="true" lazy="false" insert="true" update="true" unique="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildNRTNRImpl" entity-name="NotContainedChildNRTNR" abstract="false" lazy="false" table="`notcontainedchildnrtnr`"> - <meta attribute="eclassName">NotContainedChildNRTNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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" not-null="false" lazy="false" insert="true" update="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildRImpl" entity-name="NotContainedChildR" abstract="false" lazy="false" table="`notcontainedchildr`"> - <meta attribute="eclassName">NotContainedChildR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildRTNRImpl" entity-name="NotContainedChildRTNR" abstract="false" lazy="false" table="`notcontainedchildrtnr`"> - <meta attribute="eclassName">NotContainedChildRTNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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" not-null="false" lazy="false" insert="true" update="true"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1to1Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1to1Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 57967f607..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1to1Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,135 +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="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.ContainedChildNRImpl" entity-name="ContainedChildNR" abstract="false" lazy="false" table="`containedchildnr`"> - <meta attribute="eclassName">ContainedChildNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.ContainedChildRImpl" entity-name="ContainedChildR" abstract="false" lazy="false" table="`containedchildr`"> - <meta attribute="eclassName">ContainedChildR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.MainImpl" entity-name="Main" abstract="false" lazy="false" table="`main`"> - <meta attribute="eclassName">Main</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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> - <many-to-one name="containedonewayrequired" entity-name="ContainedChildR" lazy="false" cascade="all" foreign-key="main_containedonewayrequired" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`containedchildr_containedonewayrequired_e_id`"/> - </many-to-one> - <many-to-one name="containedoneWaynotrequired" entity-name="ContainedChildNR" lazy="false" cascade="all" foreign-key="main_containedonewaynotrequired" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`containedchildnr_containedonewaynotrequired_e_id`"/> - </many-to-one> - <many-to-one name="notcontainedonewayrequired" entity-name="NotContainedChildR" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="main_notcontainedonewayrequired" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`notcontainedchildr_notcontainedonewayrequired_e_id`"/> - </many-to-one> - <many-to-one name="notcontainedonewaynotrequired" entity-name="NotContainedChildNR" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="main_notcontainedonewaynotrequired" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`notcontainedchildnr_notcontainedonewaynotrequired_e_id`"/> - </many-to-one> - <one-to-one name="notcontainedtwowaynotrequired" entity-name="NotContainedChildNRT" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="main"/> - <one-to-one name="notcontainedtwowayrequirednr" entity-name="NotContainedChildRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="main" constrained="true"/> - <one-to-one name="notcontainedtwowaynotrequirednr" entity-name="NotContainedChildNRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" property-ref="main"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildNRImpl" entity-name="NotContainedChildNR" abstract="false" lazy="false" table="`notcontainedchildnr`"> - <meta attribute="eclassName">NotContainedChildNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildNRTImpl" entity-name="NotContainedChildNRT" abstract="false" lazy="false" table="`notcontainedchildnrt`"> - <meta attribute="eclassName">NotContainedChildNRT</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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" not-null="true" lazy="false" insert="true" update="true" unique="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildNRTNRImpl" entity-name="NotContainedChildNRTNR" abstract="false" lazy="false" table="`notcontainedchildnrtnr`"> - <meta attribute="eclassName">NotContainedChildNRTNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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" not-null="false" lazy="false" insert="true" update="true"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildRImpl" entity-name="NotContainedChildR" abstract="false" lazy="false" table="`notcontainedchildr`"> - <meta attribute="eclassName">NotContainedChildR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.NotContainedChildRTNRImpl" entity-name="NotContainedChildRTNR" abstract="false" lazy="false" table="`notcontainedchildrtnr`"> - <meta attribute="eclassName">NotContainedChildRTNR</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relation1to1</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> - <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" not-null="false" lazy="false" insert="true" update="true"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1tonAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1tonAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f814f1a85..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1tonAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,226 +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="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.MainImpl" 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 type="string"> - <column name="dtype" index="maindtype" length="255" not-null="true"/> - </discriminator> - <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" foreign-key="main_onecr"> - <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" foreign-key="main_onecn"> - <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" foreign-key="main_onenr"> - <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" foreign-key="main_onenn"> - <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" foreign-key="main_twocr"> - <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" foreign-key="main_twocn"> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneCNImpl" 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 type="string"> - <column name="dtype" index="onecndtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneCRImpl" 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 type="string"> - <column name="dtype" index="onecrdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneNNImpl" 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 type="string"> - <column name="dtype" index="onenndtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneNRImpl" 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 type="string"> - <column name="dtype" index="onenrdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoCNImpl" 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 type="string"> - <column name="dtype" index="twocndtype" length="255" not-null="true"/> - </discriminator> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twocn_main" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`twocn_main_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoCRImpl" 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 type="string"> - <column name="dtype" index="twocrdtype" length="255" not-null="true"/> - </discriminator> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twocr_main" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`twocr_main_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoNNImpl" 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 type="string"> - <column name="dtype" index="twonndtype" length="255" not-null="true"/> - </discriminator> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twonn_main" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`twonn_main_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoNRImpl" 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 type="string"> - <column name="dtype" index="twonrdtype" length="255" not-null="true"/> - </discriminator> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twonr_main" 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 diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1tonAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1tonAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index ab5b7efca..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1tonAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,199 +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="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.MainImpl" entity-name="Main" abstract="false" lazy="false" 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> - <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" foreign-key="main_onecr"> - <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" foreign-key="main_onecn"> - <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" foreign-key="main_onenr"> - <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" foreign-key="main_onenn"> - <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" foreign-key="main_twocr"> - <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" foreign-key="main_twocn"> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneCNImpl" entity-name="OneCN" abstract="false" lazy="false" 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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneCRImpl" entity-name="OneCR" abstract="false" lazy="false" 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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneNNImpl" entity-name="OneNN" abstract="false" lazy="false" 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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneNRImpl" entity-name="OneNR" abstract="false" lazy="false" 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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoCNImpl" entity-name="TwoCN" abstract="false" lazy="false" 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> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twocn_main" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`twocn_main_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoCRImpl" entity-name="TwoCR" abstract="false" lazy="false" 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> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twocr_main" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`twocr_main_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoNNImpl" entity-name="TwoNN" abstract="false" lazy="false" 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> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twonn_main" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`twonn_main_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoNRImpl" entity-name="TwoNR" abstract="false" lazy="false" 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> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twonr_main" 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 diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1tonAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1tonAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ab5b7efca..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/Relation1tonAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,199 +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="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.MainImpl" entity-name="Main" abstract="false" lazy="false" 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> - <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" foreign-key="main_onecr"> - <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" foreign-key="main_onecn"> - <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" foreign-key="main_onenr"> - <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" foreign-key="main_onenn"> - <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" foreign-key="main_twocr"> - <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" foreign-key="main_twocn"> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneCNImpl" entity-name="OneCN" abstract="false" lazy="false" 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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneCRImpl" entity-name="OneCR" abstract="false" lazy="false" 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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneNNImpl" entity-name="OneNN" abstract="false" lazy="false" 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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.OneNRImpl" entity-name="OneNR" abstract="false" lazy="false" 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> - <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 name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoCNImpl" entity-name="TwoCN" abstract="false" lazy="false" 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> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twocn_main" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`twocn_main_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoCRImpl" entity-name="TwoCR" abstract="false" lazy="false" 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> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twocr_main" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`twocr_main_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoNNImpl" entity-name="TwoNN" abstract="false" lazy="false" 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> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twonn_main" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`twonn_main_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.TwoNRImpl" entity-name="TwoNR" abstract="false" lazy="false" 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> - <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" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="twonr_main" 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 diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 110484a5a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,127 +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="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MainImpl" 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/relationntom</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 type="string"> - <column name="dtype" index="maindtype" length="255" not-null="true"/> - </discriminator> - <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="multinr" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`main_multinr`"> - <key update="true"> - <column name="`main_e_id`" not-null="true" 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`" not-null="true" 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`" not-null="true" 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" discriminator-value="MultiNN" table="`multinn`"> - <meta attribute="eclassName">MultiNN</meta> - <meta attribute="epackage">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">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="multinndtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`multinn_main`"> - <key update="true"> - <column name="`multinn_e_id`" not-null="true" 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" discriminator-value="MultiNR" table="`multinr`"> - <meta attribute="eclassName">MultiNR</meta> - <meta attribute="epackage">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">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="multinrdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`multinr_main`"> - <key update="true"> - <column name="`multinr_e_id`" not-null="true" 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" discriminator-value="MultiRN" table="`multirn`"> - <meta attribute="eclassName">MultiRN</meta> - <meta attribute="epackage">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">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="multirndtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`multirn_main`"> - <key update="true"> - <column name="`multirn_e_id`" not-null="true" 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 diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 41aa59e9c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,115 +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="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MainImpl" entity-name="Main" abstract="false" lazy="false" table="`main`"> - <meta attribute="eclassName">Main</meta> - <meta attribute="epackage">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">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">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`" not-null="true" 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`" not-null="true" 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`" not-null="true" 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">MultiNN</meta> - <meta attribute="epackage">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">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">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`" not-null="true" 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">MultiNR</meta> - <meta attribute="epackage">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">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">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`" not-null="true" 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">MultiRN</meta> - <meta attribute="epackage">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">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">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`" not-null="true" 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 diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 41aa59e9c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.relation/RelationntomAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,115 +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="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MainImpl" entity-name="Main" abstract="false" lazy="false" table="`main`"> - <meta attribute="eclassName">Main</meta> - <meta attribute="epackage">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">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">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`" not-null="true" 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`" not-null="true" 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`" not-null="true" 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">MultiNN</meta> - <meta attribute="epackage">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">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">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`" not-null="true" 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">MultiNR</meta> - <meta attribute="epackage">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">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">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`" not-null="true" 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">MultiRN</meta> - <meta attribute="epackage">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">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">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`" not-null="true" 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 diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 3106c4758..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,133 +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.example.car.impl.CarFrameImpl" entity-name="CarFrame" abstract="false" lazy="false" discriminator-value="CarFrame" table="`carframe`"> - <meta attribute="eclassName">CarFrame</meta> - <meta attribute="epackage">http://www.example.com/car.xsd</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 type="string"> - <column name="dtype" index="carframedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="carWheel" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carframe_carwheel"> - <column name="`carframe_carwheel_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carframe_carwheel_idx`"/> - <one-to-many entity-name="CarWheel"/> - </list> - <many-to-one name="carLinkRef" entity-name="CarLink" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="carframe_carlinkref" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`carlink_carlinkref_e_id`"/> - </many-to-one> - <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> - </class> - <class name="com.example.car.impl.CarLinkImpl" entity-name="CarLink" abstract="false" lazy="false" discriminator-value="CarLink" table="`carlink`"> - <meta attribute="eclassName">CarLink</meta> - <meta attribute="epackage">http://www.example.com/car.xsd</meta> - <id name="carLinkId" type="java.lang.String"> - <column not-null="true" unique="false" name="`carlinkid`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="carlinkdtype" length="255" not-null="true"/> - </discriminator> - <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 name="com.example.car.impl.CarsListImpl" entity-name="CarsList" abstract="false" lazy="false" discriminator-value="CarsList" table="`carslist`"> - <meta attribute="eclassName">CarsList</meta> - <meta attribute="epackage">http://www.example.com/car.xsd</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 type="string"> - <column name="dtype" index="carslistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="carType" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carslist_cartype"> - <column name="`carslist_cartype_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carslist_cartype_idx`"/> - <one-to-many entity-name="CarType"/> - </list> - <list name="carLink" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carslist_carlink"> - <column name="`carslist_carlink_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carslist_carlink_idx`"/> - <one-to-many entity-name="CarLink"/> - </list> - </class> - <class name="com.example.car.impl.CarTireImpl" entity-name="CarTire" abstract="false" lazy="false" discriminator-value="CarTire" table="`cartire`"> - <meta attribute="eclassName">CarTire</meta> - <meta attribute="epackage">http://www.example.com/car.xsd</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="cartiredtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="com.example.car.impl.CarTypeImpl" entity-name="CarType" abstract="false" lazy="false" discriminator-value="CarType" table="`cartype`"> - <meta attribute="eclassName">CarType</meta> - <meta attribute="epackage">http://www.example.com/car.xsd</meta> - <id name="carID" type="java.lang.String"> - <column not-null="true" unique="false" name="`carid`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="cartypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="carFrame" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="cartype_carframe"> - <column name="`cartype_carframe_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`cartype_carframe_idx`"/> - <one-to-many entity-name="CarFrame"/> - </list> - </class> - <class name="com.example.car.impl.CarWheelImpl" entity-name="CarWheel" abstract="false" lazy="false" discriminator-value="CarWheel" table="`carwheel`"> - <meta attribute="eclassName">CarWheel</meta> - <meta attribute="epackage">http://www.example.com/car.xsd</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 type="string"> - <column name="dtype" index="carwheeldtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="carTire" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carwheel_cartire"> - <column name="`carwheel_cartire_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carwheel_cartire_idx`"/> - <one-to-many entity-name="CarTire"/> - </list> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 4239ed1c3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,115 +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.example.car.impl.CarFrameImpl" entity-name="CarFrame" abstract="false" lazy="false" table="`carframe`"> - <meta attribute="eclassName" inherit="false">CarFrame</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</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> - <list name="carWheel" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carframe_carwheel"> - <column name="`carframe_carwheel_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carframe_carwheel_idx`"/> - <one-to-many entity-name="CarWheel"/> - </list> - <many-to-one name="carLinkRef" entity-name="CarLink" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="carframe_carlinkref" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`carlink_carlinkref_e_id`"/> - </many-to-one> - <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> - </class> - <class name="com.example.car.impl.CarLinkImpl" entity-name="CarLink" abstract="false" lazy="false" table="`carlink`"> - <meta attribute="eclassName" inherit="false">CarLink</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta> - <id name="carLinkId" type="java.lang.String"> - <column not-null="true" unique="false" name="`carlinkid`"/> - </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> - </class> - <class name="com.example.car.impl.CarsListImpl" entity-name="CarsList" abstract="false" lazy="false" table="`carslist`"> - <meta attribute="eclassName" inherit="false">CarsList</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</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> - <list name="carType" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carslist_cartype"> - <column name="`carslist_cartype_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carslist_cartype_idx`"/> - <one-to-many entity-name="CarType"/> - </list> - <list name="carLink" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carslist_carlink"> - <column name="`carslist_carlink_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carslist_carlink_idx`"/> - <one-to-many entity-name="CarLink"/> - </list> - </class> - <class name="com.example.car.impl.CarTireImpl" entity-name="CarTire" abstract="false" lazy="false" table="`cartire`"> - <meta attribute="eclassName" inherit="false">CarTire</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <class name="com.example.car.impl.CarTypeImpl" entity-name="CarType" abstract="false" lazy="false" table="`cartype`"> - <meta attribute="eclassName" inherit="false">CarType</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta> - <id name="carID" type="java.lang.String"> - <column not-null="true" unique="false" name="`carid`"/> - </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> - <list name="carFrame" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="cartype_carframe"> - <column name="`cartype_carframe_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`cartype_carframe_idx`"/> - <one-to-many entity-name="CarFrame"/> - </list> - </class> - <class name="com.example.car.impl.CarWheelImpl" entity-name="CarWheel" abstract="false" lazy="false" table="`carwheel`"> - <meta attribute="eclassName" inherit="false">CarWheel</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</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> - <list name="carTire" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carwheel_cartire"> - <column name="`carwheel_cartire_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carwheel_cartire_idx`"/> - <one-to-many entity-name="CarTire"/> - </list> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 4239ed1c3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,115 +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.example.car.impl.CarFrameImpl" entity-name="CarFrame" abstract="false" lazy="false" table="`carframe`"> - <meta attribute="eclassName" inherit="false">CarFrame</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</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> - <list name="carWheel" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carframe_carwheel"> - <column name="`carframe_carwheel_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carframe_carwheel_idx`"/> - <one-to-many entity-name="CarWheel"/> - </list> - <many-to-one name="carLinkRef" entity-name="CarLink" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="carframe_carlinkref" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`carlink_carlinkref_e_id`"/> - </many-to-one> - <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> - </class> - <class name="com.example.car.impl.CarLinkImpl" entity-name="CarLink" abstract="false" lazy="false" table="`carlink`"> - <meta attribute="eclassName" inherit="false">CarLink</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta> - <id name="carLinkId" type="java.lang.String"> - <column not-null="true" unique="false" name="`carlinkid`"/> - </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> - </class> - <class name="com.example.car.impl.CarsListImpl" entity-name="CarsList" abstract="false" lazy="false" table="`carslist`"> - <meta attribute="eclassName" inherit="false">CarsList</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</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> - <list name="carType" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carslist_cartype"> - <column name="`carslist_cartype_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carslist_cartype_idx`"/> - <one-to-many entity-name="CarType"/> - </list> - <list name="carLink" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carslist_carlink"> - <column name="`carslist_carlink_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carslist_carlink_idx`"/> - <one-to-many entity-name="CarLink"/> - </list> - </class> - <class name="com.example.car.impl.CarTireImpl" entity-name="CarTire" abstract="false" lazy="false" table="`cartire`"> - <meta attribute="eclassName" inherit="false">CarTire</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <class name="com.example.car.impl.CarTypeImpl" entity-name="CarType" abstract="false" lazy="false" table="`cartype`"> - <meta attribute="eclassName" inherit="false">CarType</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta> - <id name="carID" type="java.lang.String"> - <column not-null="true" unique="false" name="`carid`"/> - </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> - <list name="carFrame" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="cartype_carframe"> - <column name="`cartype_carframe_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`cartype_carframe_idx`"/> - <one-to-many entity-name="CarFrame"/> - </list> - </class> - <class name="com.example.car.impl.CarWheelImpl" entity-name="CarWheel" abstract="false" lazy="false" table="`carwheel`"> - <meta attribute="eclassName" inherit="false">CarWheel</meta> - <meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</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> - <list name="carTire" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="carwheel_cartire"> - <column name="`carwheel_cartire_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`carwheel_cartire_idx`"/> - <one-to-many entity-name="CarTire"/> - </list> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ae02795c3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,121 +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="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.CatalogTypeImpl" entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`"> - <meta attribute="eclassName">CatalogType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="catalogtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_subcatalog"> - <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/> - </key> - <list-index column="`catalogtype_subcatalog_idx`"/> - <one-to-many entity-name="CatalogType"/> - </list> - <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_product"> - <column name="`catalogtype_product_name`" not-null="false" unique="false"/> - </key> - <list-index column="`catalogtype_product_idx`"/> - <one-to-many entity-name="ProductType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.PriceTypeImpl" entity-name="PriceType" abstract="false" lazy="false" discriminator-value="PriceType" table="`pricetype`"> - <meta attribute="eclassName">PriceType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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 type="string"> - <column name="dtype" index="pricetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantityTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantityto`"/> - </property> - <many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="pricetype_supplier" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <id name="code" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="producttypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <list name="remark" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="producttype_remark"> - <column name="`producttype_remark_code`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_remark_idx`"/> - <one-to-many entity-name="StringType"/> - </list> - <many-to-one name="price" entity-name="PriceType" lazy="false" cascade="all" foreign-key="producttype_price" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`pricetype_price_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.StringTypeImpl" entity-name="StringType" abstract="false" lazy="false" discriminator-value="StringType" table="`stringtype`"> - <meta attribute="eclassName">StringType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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 type="string"> - <column name="dtype" index="stringtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" discriminator-value="SupplierType" table="`suppliertype`"> - <meta attribute="eclassName">SupplierType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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 type="string"> - <column name="dtype" index="suppliertypedtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`noofemployees`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index f2f4a71b7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,106 +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="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.CatalogTypeImpl" entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`"> - <meta attribute="eclassName" inherit="false">CatalogType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_subcatalog"> - <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/> - </key> - <list-index column="`catalogtype_subcatalog_idx`"/> - <one-to-many entity-name="CatalogType"/> - </list> - <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_product"> - <column name="`catalogtype_product_name`" not-null="false" unique="false"/> - </key> - <list-index column="`catalogtype_product_idx`"/> - <one-to-many entity-name="ProductType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.PriceTypeImpl" entity-name="PriceType" abstract="false" lazy="false" table="`pricetype`"> - <meta attribute="eclassName" inherit="false">PriceType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantityTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantityto`"/> - </property> - <many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="pricetype_supplier" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName" inherit="false">ProductType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <id name="code" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </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="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <list name="remark" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="producttype_remark"> - <column name="`producttype_remark_code`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_remark_idx`"/> - <one-to-many entity-name="StringType"/> - </list> - <many-to-one name="price" entity-name="PriceType" lazy="false" cascade="all" foreign-key="producttype_price" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`pricetype_price_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.StringTypeImpl" entity-name="StringType" abstract="false" lazy="false" table="`stringtype`"> - <meta attribute="eclassName" inherit="false">StringType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`"> - <meta attribute="eclassName" inherit="false">SupplierType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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> - <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`noofemployees`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f2f4a71b7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,106 +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="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.CatalogTypeImpl" entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`"> - <meta attribute="eclassName" inherit="false">CatalogType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_subcatalog"> - <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/> - </key> - <list-index column="`catalogtype_subcatalog_idx`"/> - <one-to-many entity-name="CatalogType"/> - </list> - <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="catalogtype_product"> - <column name="`catalogtype_product_name`" not-null="false" unique="false"/> - </key> - <list-index column="`catalogtype_product_idx`"/> - <one-to-many entity-name="ProductType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.PriceTypeImpl" entity-name="PriceType" abstract="false" lazy="false" table="`pricetype`"> - <meta attribute="eclassName" inherit="false">PriceType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="quantityTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`quantityto`"/> - </property> - <many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="pricetype_supplier" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName" inherit="false">ProductType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> - <id name="code" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </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="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <list name="remark" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="producttype_remark"> - <column name="`producttype_remark_code`" not-null="false" unique="false"/> - </key> - <list-index column="`producttype_remark_idx`"/> - <one-to-many entity-name="StringType"/> - </list> - <many-to-one name="price" entity-name="PriceType" lazy="false" cascade="all" foreign-key="producttype_price" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`pricetype_price_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.StringTypeImpl" entity-name="StringType" abstract="false" lazy="false" table="`stringtype`"> - <meta attribute="eclassName" inherit="false">StringType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`"> - <meta attribute="eclassName" inherit="false">SupplierType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</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> - <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`noofemployees`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e4730aa52..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,67 +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="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimImpl" entity-name="Claim" abstract="false" lazy="false" discriminator-value="Claim" table="`pclm_nprc_clm`"> - <meta attribute="eclassName">Claim</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <composite-id name="claimCompositeKey" class="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimCompositeKeyImpl"> - <key-property name="claimNumber" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_nbr`" unique-key="c0"/> - </key-property> - <key-property name="claimExtensionNumber" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_ext_nbr`" unique-key="c0"/> - </key-property> - </composite-id> - <discriminator type="string"> - <column name="dtype" index="PCLM_NPRC_CLMdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="billingName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`billing_name`" length="50"/> - </property> - <property name="claimGroupVSPId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_grp_vsp_id`" length="3"/> - </property> - <property name="claimStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_status`" length="2"/> - </property> - <bag name="claimLine" inverse="true" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="claim_claimline"> - <column name="`clm_nbr`" not-null="false" unique="false"/> - <column name="`clm_ext_nbr`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ClaimLine"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimLineImpl" entity-name="ClaimLine" abstract="false" lazy="false" discriminator-value="ClaimLine" table="`pclm_nprc_clmln`"> - <meta attribute="eclassName">ClaimLine</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <composite-id name="claimLineCompositeKey" class="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimLineCompositeKeyImpl"> - <key-many-to-one name="claim" entity-name="Claim" foreign-key="claimlinecompositekey_claim" lazy="false"> - <column not-null="false" unique="false" name="`clm_nbr`" unique-key="c0"/> - <column not-null="false" unique="false" name="`clm_ext_nbr`" unique-key="c0"/> - </key-many-to-one> - <key-property name="claimLineNumber" type="java.lang.String"> - <column not-null="false" unique="false" name="`clmln_nbr`" unique-key="c0"/> - </key-property> - </composite-id> - <discriminator type="string"> - <column name="dtype" index="PCLM_NPRC_CLMLNdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="claimLineBilledAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`clmln_bill_amt`"/> - </property> - <property name="serviceCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`svc_cd`"/> - </property> - <property name="claimLineStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clmln_status`" length="2"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 1858a6aab..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,65 +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="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimImpl" entity-name="Claim" abstract="false" lazy="false" table="`pclm_nprc_clm`"> - <meta attribute="eclassName" inherit="false">Claim</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <composite-id name="claimCompositeKey" class="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimCompositeKeyImpl" access="org.eclipse.emf.teneo.hibernate.mapping.property.EReferencePropertyHandler"> - <meta attribute="eclassName" inherit="false">ClaimCompositeKey</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <key-property name="claimNumber" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_nbr`" unique-key="c0"/> - </key-property> - <key-property name="claimExtensionNumber" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_ext_nbr`" unique-key="c0"/> - </key-property> - </composite-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="billingName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`billing_name`" length="50"/> - </property> - <property name="claimGroupVSPId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_grp_vsp_id`" length="3"/> - </property> - <property name="claimStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_status`" length="2"/> - </property> - <bag name="claimLine" inverse="true" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="claim_claimline"> - <column name="`clm_nbr`" not-null="false" unique="false"/> - <column name="`clm_ext_nbr`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ClaimLine"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimLineImpl" entity-name="ClaimLine" abstract="false" lazy="false" table="`pclm_nprc_clmln`"> - <meta attribute="eclassName" inherit="false">ClaimLine</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <composite-id name="claimLineCompositeKey" class="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimLineCompositeKeyImpl" access="org.eclipse.emf.teneo.hibernate.mapping.property.EReferencePropertyHandler"> - <meta attribute="eclassName" inherit="false">ClaimLineCompositeKey</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <key-many-to-one name="claim" entity-name="Claim" foreign-key="claimlinecompositekey_claim" lazy="false"> - <column not-null="false" unique="false" name="`clm_nbr`" unique-key="c0"/> - <column not-null="false" unique="false" name="`clm_ext_nbr`" unique-key="c0"/> - </key-many-to-one> - <key-property name="claimLineNumber" type="java.lang.String"> - <column not-null="false" unique="false" name="`clmln_nbr`" unique-key="c0"/> - </key-property> - </composite-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="claimLineBilledAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`clmln_bill_amt`"/> - </property> - <property name="serviceCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`svc_cd`"/> - </property> - <property name="claimLineStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clmln_status`" length="2"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 1858a6aab..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,65 +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="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimImpl" entity-name="Claim" abstract="false" lazy="false" table="`pclm_nprc_clm`"> - <meta attribute="eclassName" inherit="false">Claim</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <composite-id name="claimCompositeKey" class="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimCompositeKeyImpl" access="org.eclipse.emf.teneo.hibernate.mapping.property.EReferencePropertyHandler"> - <meta attribute="eclassName" inherit="false">ClaimCompositeKey</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <key-property name="claimNumber" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_nbr`" unique-key="c0"/> - </key-property> - <key-property name="claimExtensionNumber" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_ext_nbr`" unique-key="c0"/> - </key-property> - </composite-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="billingName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`billing_name`" length="50"/> - </property> - <property name="claimGroupVSPId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_grp_vsp_id`" length="3"/> - </property> - <property name="claimStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clm_status`" length="2"/> - </property> - <bag name="claimLine" inverse="true" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="claim_claimline"> - <column name="`clm_nbr`" not-null="false" unique="false"/> - <column name="`clm_ext_nbr`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ClaimLine"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimLineImpl" entity-name="ClaimLine" abstract="false" lazy="false" table="`pclm_nprc_clmln`"> - <meta attribute="eclassName" inherit="false">ClaimLine</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <composite-id name="claimLineCompositeKey" class="org.eclipse.emf.teneo.samples.emf.sample.claim.impl.ClaimLineCompositeKeyImpl" access="org.eclipse.emf.teneo.hibernate.mapping.property.EReferencePropertyHandler"> - <meta attribute="eclassName" inherit="false">ClaimLineCompositeKey</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/claim</meta> - <key-many-to-one name="claim" entity-name="Claim" foreign-key="claimlinecompositekey_claim" lazy="false"> - <column not-null="false" unique="false" name="`clm_nbr`" unique-key="c0"/> - <column not-null="false" unique="false" name="`clm_ext_nbr`" unique-key="c0"/> - </key-many-to-one> - <key-property name="claimLineNumber" type="java.lang.String"> - <column not-null="false" unique="false" name="`clmln_nbr`" unique-key="c0"/> - </key-property> - </composite-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="claimLineBilledAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`clmln_bill_amt`"/> - </property> - <property name="serviceCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`svc_cd`"/> - </property> - <property name="claimLineStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`clmln_status`" length="2"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 727f0ce8c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,533 +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"> - <typedef name="ecore.EDiagnosticChain" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EDiagnosticChain</param> - </typedef> - <typedef name="ecore.EEList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEList</param> - </typedef> - <typedef name="ecore.EEnumerator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEnumerator</param> - </typedef> - <typedef name="ecore.EFeatureMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMap</param> - </typedef> - <typedef name="ecore.EFeatureMapEntry" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMapEntry</param> - </typedef> - <typedef name="ecore.EJavaClass" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EJavaClass</param> - </typedef> - <typedef name="ecore.EMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EMap</param> - </typedef> - <typedef name="ecore.EResource" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResource</param> - </typedef> - <typedef name="ecore.EResourceSet" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResourceSet</param> - </typedef> - <typedef name="ecore.ETreeIterator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">ETreeIterator</param> - </typedef> - <typedef name="type.Duration" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">Duration</param> - </typedef> - <typedef name="type.ENTITIES" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIES</param> - </typedef> - <typedef name="type.ENTITIESBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIESBase</param> - </typedef> - <typedef name="type.IDREFS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFS</param> - </typedef> - <typedef name="type.IDREFSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFSBase</param> - </typedef> - <typedef name="type.NMTOKENS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENS</param> - </typedef> - <typedef name="type.NMTOKENSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENSBase</param> - </typedef> - <typedef name="type.NOTATION" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NOTATION</param> - </typedef> - <typedef name="type.QName" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">QName</param> - </typedef> - <typedef name="type.ShortObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ShortObject</param> - </typedef> - <typedef name="type.UnsignedByteObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">UnsignedByteObject</param> - </typedef> - <class name="org.eclipse.emf.ecore.impl.BasicEObjectImpl" entity-name="ecore_EObject" abstract="false" lazy="false" discriminator-value="ecore_EObject" table="`ecore_eobject`"> - <meta attribute="eclassName">EObject</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</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 type="string"> - <column name="dtype" index="ecore_eobjectdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.ecore.impl.EModelElementImpl" entity-name="EModelElement" abstract="true" lazy="false" extends="ecore_EObject" discriminator-value="EModelElement"> - <meta attribute="eclassName">EModelElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <list name="eAnnotations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="emodelelement_eannotations"> - <column name="`eannotation_emodelelement_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`emodelelement_eannotations_idx`"/> - <one-to-many entity-name="EAnnotation"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.ENamedElementImpl" entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" discriminator-value="ENamedElement"> - <meta attribute="eclassName">ENamedElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <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> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.ETypedElementImpl" entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="ETypedElement"> - <meta attribute="eclassName">ETypedElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="ordered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ordered`"/> - </property> - <property name="unique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`unique`"/> - </property> - <property name="lowerBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`lowerbound`"/> - </property> - <property name="upperBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`upperbound`"/> - </property> - <many-to-one name="eType" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="etypedelement_etype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`eclassifier_etype_e_id`"/> - </many-to-one> - <many-to-one name="eGenericType" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="etypedelement_egenerictype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`egenerictype_egenerictype_e_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EStructuralFeatureImpl" entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" discriminator-value="EStructuralFeature"> - <meta attribute="eclassName">EStructuralFeature</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="changeable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`changeable`"/> - </property> - <property name="volatile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`volatile`"/> - </property> - <property name="transient" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`transient`"/> - </property> - <property name="defaultValueLiteral" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`defaultvalueliteral`"/> - </property> - <property name="unsettable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`unsettable`"/> - </property> - <property name="derived" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`derived`"/> - </property> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="estructuralfeature_econtainingclass" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`estructuralfeature_econtainingclass_e_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EAttributeImpl" entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EAttribute"> - <meta attribute="eclassName">EAttribute</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="iD" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`id`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EAnnotationImpl" entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EAnnotation"> - <meta attribute="eclassName">EAnnotation</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="source" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`source`"/> - </property> - <map name="details" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`eannotation_details_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <many-to-one name="eModelElement" entity-name="EModelElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eannotation_emodelelement" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eannotation_emodelelement_e_id`"/> - </many-to-one> - <list name="contents" table="`eannotation_contents`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eannotation_contents"> - <column name="`eannotation_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`eannotation_contents_idx`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`contents_type`"/> - <column not-null="false" unique="false" name="`contents_id`"/> - </many-to-any> - </list> - <list name="references" table="`eannotation_references`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="eannotation_references"> - <column name="`eannotation_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`eannotation_references_idx`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`references_type`"/> - <column not-null="false" unique="false" name="`references_id`"/> - </many-to-any> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EClassifierImpl" entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="EClassifier"> - <meta attribute="eclassName">EClassifier</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="instanceClassName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`instanceclassname`"/> - </property> - <property name="instanceTypeName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`instancetypename`"/> - </property> - <many-to-one name="ePackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eclassifier_epackage" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eclassifier_epackage_e_id`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclassifier_etypeparameters"> - <column name="`eclassifier_etypeparameters_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclassifier_etypeparameters_idx`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EClassImpl" entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EClass"> - <meta attribute="eclassName">EClass</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="abstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`abstract`"/> - </property> - <property name="interface" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`interface`"/> - </property> - <list name="eSuperTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`eclass_eclass`"> - <key/> - <list-index column="`eclass_esupertypes_idx`"/> - <many-to-many entity-name="EClass" unique="false" foreign-key="eclass_esupertypes"/> - </list> - <list name="eOperations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclass_eoperations"> - <column name="`eoperation_econtainingclass_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_eoperations_idx`"/> - <one-to-many entity-name="EOperation"/> - </list> - <list name="eStructuralFeatures" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclass_estructuralfeatures"> - <column name="`estructuralfeature_econtainingclass_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_estructuralfeatures_idx`"/> - <one-to-many entity-name="EStructuralFeature"/> - </list> - <list name="eGenericSuperTypes" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclass_egenericsupertypes"> - <column name="`eclass_egenericsupertypes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_egenericsupertypes_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EDataTypeImpl" entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EDataType"> - <meta attribute="eclassName">EDataType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`serializable`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EEnumImpl" entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" discriminator-value="EEnum"> - <meta attribute="eclassName">EEnum</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <list name="eLiterals" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eenum_eliterals"> - <column name="`eenumliteral_eenum_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eenum_eliterals_idx`"/> - <one-to-many entity-name="EEnumLiteral"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EEnumLiteralImpl" entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EEnumLiteral"> - <meta attribute="eclassName">EEnumLiteral</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`value`"/> - </property> - <property name="literal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`literal`"/> - </property> - <many-to-one name="eEnum" entity-name="EEnum" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eenumliteral_eenum" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eenumliteral_eenum_e_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EFactoryImpl" entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EFactory"> - <meta attribute="eclassName">EFactory</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EOperationImpl" entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EOperation"> - <meta attribute="eclassName">EOperation</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eoperation_econtainingclass" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eoperation_econtainingclass_e_id`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eoperation_etypeparameters"> - <column name="`eoperation_etypeparameters_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_etypeparameters_idx`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - <list name="eParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eoperation_eparameters"> - <column name="`eparameter_eoperation_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_eparameters_idx`"/> - <one-to-many entity-name="EParameter"/> - </list> - <list name="eExceptions" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="eoperation_eexceptions"> - <column name="`eoperation_eexceptions_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_eexceptions_idx`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eGenericExceptions" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eoperation_egenericexceptions"> - <column name="`eoperation_egenericexceptions_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_egenericexceptions_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EPackageImpl" entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EPackage"> - <meta attribute="eclassName">EPackage</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="nsURI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`nsuri`"/> - </property> - <property name="nsPrefix" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`nsprefix`"/> - </property> - <list name="eClassifiers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="epackage_eclassifiers"> - <column name="`eclassifier_epackage_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`epackage_eclassifiers_idx`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eSubpackages" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="epackage_esubpackages"> - <column name="`epackage_esuperpackage_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`epackage_esubpackages_idx`"/> - <one-to-many entity-name="EPackage"/> - </list> - <many-to-one name="eSuperPackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="epackage_esuperpackage" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`epackage_esuperpackage_e_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EParameterImpl" entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EParameter"> - <meta attribute="eclassName">EParameter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <many-to-one name="eOperation" entity-name="EOperation" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eparameter_eoperation" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eparameter_eoperation_e_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EReferenceImpl" entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EReference"> - <meta attribute="eclassName">EReference</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <property name="containment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`containment`"/> - </property> - <property name="resolveProxies" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`resolveproxies`"/> - </property> - <many-to-one name="eOpposite" entity-name="EReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ereference_eopposite" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ereference_eopposite_e_id`"/> - </many-to-one> - <list name="eKeys" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="ereference_ekeys"> - <column name="`ereference_ekeys_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`ereference_ekeys_idx`"/> - <one-to-many entity-name="EAttribute"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.EGenericTypeImpl" entity-name="EGenericType" abstract="false" lazy="false" extends="ecore_EObject" discriminator-value="EGenericType"> - <meta attribute="eclassName">EGenericType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <many-to-one name="eUpperBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="egenerictype_eupperbound" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`egenerictype_eupperbound_e_id`"/> - </many-to-one> - <list name="eTypeArguments" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="egenerictype_etypearguments"> - <column name="`egenerictype_etypearguments_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`egenerictype_etypearguments_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - <many-to-one name="eLowerBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="egenerictype_elowerbound" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`egenerictype_elowerbound_e_id`"/> - </many-to-one> - <many-to-one name="eTypeParameter" entity-name="ETypeParameter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="egenerictype_etypeparameter" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`etypeparameter_etypeparameter_e_id`"/> - </many-to-one> - <many-to-one name="eClassifier" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="egenerictype_eclassifier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`eclassifier_eclassifier_e_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.ecore.impl.ETypeParameterImpl" entity-name="ETypeParameter" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="ETypeParameter"> - <meta attribute="eclassName">ETypeParameter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <list name="eBounds" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="etypeparameter_ebounds"> - <column name="`etypeparameter_ebounds_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`etypeparameter_ebounds_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </subclass> - <class name="org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl" entity-name="AnyType" abstract="false" lazy="false" discriminator-value="AnyType" table="`anytype`"> - <meta attribute="eclassName">AnyType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</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 type="string"> - <column name="dtype" index="anytypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`anytype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anytype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anytype_mixed_idx`"/> - <one-to-many entity-name="AnyType_mixed"/> - </list> - <list name="anyAttribute" table="`anytype_anyattribute`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anytype_anyattribute_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anytype_anyattribute_idx`"/> - <one-to-many entity-name="AnyType_anyAttribute"/> - </list> - </class> - <class entity-name="AnyType_mixed" lazy="false" table="`anytype_mixed`"> - <meta attribute="featureMap">AnyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="any" table="`mixed_anytype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_anytype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_anytype_any_idx`"/> - <one-to-many entity-name="AnyType_any"/> - </list> - <list name="anyAttribute" table="`mixed_anytype_anyattribute`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_anytype_anyattribute_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_anytype_anyattribute_idx`"/> - <one-to-many entity-name="AnyType_anyAttribute"/> - </list> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="AnyType_anyAttribute" lazy="false" table="`anytype_anyattribute`"> - <meta attribute="featureMap">AnyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - </class> - <class entity-name="AnyType_any" lazy="false" table="`anytype_any`"> - <meta attribute="featureMap">AnyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.eclipse.emf.ecore.xml.type.impl.ProcessingInstructionImpl" entity-name="ProcessingInstruction" abstract="false" lazy="false" discriminator-value="ProcessingInstruction" table="`processinginstruction`"> - <meta attribute="eclassName">ProcessingInstruction</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</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 type="string"> - <column name="dtype" index="processinginstructiondtype" length="255" not-null="true"/> - </discriminator> - <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="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`data`"/> - </property> - <property name="target" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`target`"/> - </property> - </class> - <subclass name="org.eclipse.emf.ecore.xml.type.impl.SimpleAnyTypeImpl" entity-name="SimpleAnyType" abstract="false" lazy="false" extends="AnyType" discriminator-value="SimpleAnyType"> - <meta attribute="eclassName">SimpleAnyType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</meta> - <many-to-one name="instanceType" entity-name="EDataType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="simpleanytype_instancetype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`edatatype_instancetype_e_id`"/> - </many-to-one> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 6b441b3aa..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,581 +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"> - <typedef name="ecore.EDiagnosticChain" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EDiagnosticChain</param> - </typedef> - <typedef name="ecore.EEList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEList</param> - </typedef> - <typedef name="ecore.EEnumerator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEnumerator</param> - </typedef> - <typedef name="ecore.EFeatureMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMap</param> - </typedef> - <typedef name="ecore.EFeatureMapEntry" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMapEntry</param> - </typedef> - <typedef name="ecore.EJavaClass" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EJavaClass</param> - </typedef> - <typedef name="ecore.EMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EMap</param> - </typedef> - <typedef name="ecore.EResource" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResource</param> - </typedef> - <typedef name="ecore.EResourceSet" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResourceSet</param> - </typedef> - <typedef name="ecore.ETreeIterator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">ETreeIterator</param> - </typedef> - <typedef name="type.Duration" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">Duration</param> - </typedef> - <typedef name="type.ENTITIES" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIES</param> - </typedef> - <typedef name="type.ENTITIESBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIESBase</param> - </typedef> - <typedef name="type.IDREFS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFS</param> - </typedef> - <typedef name="type.IDREFSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFSBase</param> - </typedef> - <typedef name="type.NMTOKENS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENS</param> - </typedef> - <typedef name="type.NMTOKENSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENSBase</param> - </typedef> - <typedef name="type.NOTATION" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NOTATION</param> - </typedef> - <typedef name="type.QName" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">QName</param> - </typedef> - <typedef name="type.ShortObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ShortObject</param> - </typedef> - <typedef name="type.UnsignedByteObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">UnsignedByteObject</param> - </typedef> - <class name="org.eclipse.emf.ecore.impl.BasicEObjectImpl" entity-name="ecore_EObject" abstract="false" lazy="false" table="`ecore_eobject`"> - <meta attribute="eclassName">EObject</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.ecore.impl.EModelElementImpl" entity-name="EModelElement" abstract="true" lazy="false" extends="ecore_EObject" table="`emodelelement`"> - <meta attribute="eclassName">EModelElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ecore_eobject_e_id`"/> - </key> - <list name="eAnnotations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="emodelelement_eannotations"> - <column name="`eannotation_emodelelement_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`emodelelement_eannotations_idx`"/> - <one-to-many entity-name="EAnnotation"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.ENamedElementImpl" entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" table="`enamedelement`"> - <meta attribute="eclassName">ENamedElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`emodelelement_e_id`"/> - </key> - <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> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.ETypedElementImpl" entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" table="`etypedelement`"> - <meta attribute="eclassName">ETypedElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <property name="ordered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ordered`"/> - </property> - <property name="unique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`unique`"/> - </property> - <property name="lowerBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`lowerbound`"/> - </property> - <property name="upperBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`upperbound`"/> - </property> - <many-to-one name="eType" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="etypedelement_etype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`eclassifier_etype_e_id`"/> - </many-to-one> - <many-to-one name="eGenericType" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="etypedelement_egenerictype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`egenerictype_egenerictype_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EStructuralFeatureImpl" entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" table="`estructuralfeature`"> - <meta attribute="eclassName">EStructuralFeature</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`etypedelement_e_id`"/> - </key> - <property name="changeable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`changeable`"/> - </property> - <property name="volatile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`volatile`"/> - </property> - <property name="transient" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`transient`"/> - </property> - <property name="defaultValueLiteral" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`defaultvalueliteral`"/> - </property> - <property name="unsettable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`unsettable`"/> - </property> - <property name="derived" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`derived`"/> - </property> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="estructuralfeature_econtainingclass" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`estructuralfeature_econtainingclass_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EAttributeImpl" entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" table="`eattribute`"> - <meta attribute="eclassName">EAttribute</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`estructuralfeature_e_id`"/> - </key> - <property name="iD" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`id`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EAnnotationImpl" entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" table="`eannotation`"> - <meta attribute="eclassName">EAnnotation</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`emodelelement_e_id`"/> - </key> - <property name="source" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`source`"/> - </property> - <map name="details" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`eannotation_details_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <many-to-one name="eModelElement" entity-name="EModelElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eannotation_emodelelement" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eannotation_emodelelement_e_id`"/> - </many-to-one> - <list name="contents" table="`eannotation_contents`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eannotation_contents"> - <column name="`eannotation_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`eannotation_contents_idx`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`contents_type`"/> - <column not-null="false" unique="false" name="`contents_id`"/> - </many-to-any> - </list> - <list name="references" table="`eannotation_references`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="eannotation_references"> - <column name="`eannotation_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`eannotation_references_idx`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`references_type`"/> - <column not-null="false" unique="false" name="`references_id`"/> - </many-to-any> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EClassifierImpl" entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" table="`eclassifier`"> - <meta attribute="eclassName">EClassifier</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <property name="instanceClassName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`instanceclassname`"/> - </property> - <property name="instanceTypeName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`instancetypename`"/> - </property> - <many-to-one name="ePackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eclassifier_epackage" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eclassifier_epackage_e_id`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclassifier_etypeparameters"> - <column name="`eclassifier_etypeparameters_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclassifier_etypeparameters_idx`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EClassImpl" entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" table="`eclass`"> - <meta attribute="eclassName">EClass</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`eclassifier_e_id`"/> - </key> - <property name="abstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`abstract`"/> - </property> - <property name="interface" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`interface`"/> - </property> - <list name="eSuperTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`eclass_eclass`"> - <key/> - <list-index column="`eclass_esupertypes_idx`"/> - <many-to-many entity-name="EClass" unique="false" foreign-key="eclass_esupertypes"/> - </list> - <list name="eOperations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclass_eoperations"> - <column name="`eoperation_econtainingclass_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_eoperations_idx`"/> - <one-to-many entity-name="EOperation"/> - </list> - <list name="eStructuralFeatures" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclass_estructuralfeatures"> - <column name="`estructuralfeature_econtainingclass_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_estructuralfeatures_idx`"/> - <one-to-many entity-name="EStructuralFeature"/> - </list> - <list name="eGenericSuperTypes" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclass_egenericsupertypes"> - <column name="`eclass_egenericsupertypes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_egenericsupertypes_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EDataTypeImpl" entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" table="`edatatype`"> - <meta attribute="eclassName">EDataType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`eclassifier_e_id`"/> - </key> - <property name="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`serializable`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EEnumImpl" entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" table="`eenum`"> - <meta attribute="eclassName">EEnum</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`edatatype_e_id`"/> - </key> - <list name="eLiterals" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eenum_eliterals"> - <column name="`eenumliteral_eenum_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eenum_eliterals_idx`"/> - <one-to-many entity-name="EEnumLiteral"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EEnumLiteralImpl" entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" table="`eenumliteral`"> - <meta attribute="eclassName">EEnumLiteral</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`value`"/> - </property> - <property name="literal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`literal`"/> - </property> - <many-to-one name="eEnum" entity-name="EEnum" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eenumliteral_eenum" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eenumliteral_eenum_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EFactoryImpl" entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" table="`efactory`"> - <meta attribute="eclassName">EFactory</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`emodelelement_e_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EOperationImpl" entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" table="`eoperation`"> - <meta attribute="eclassName">EOperation</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`etypedelement_e_id`"/> - </key> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eoperation_econtainingclass" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eoperation_econtainingclass_e_id`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eoperation_etypeparameters"> - <column name="`eoperation_etypeparameters_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_etypeparameters_idx`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - <list name="eParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eoperation_eparameters"> - <column name="`eparameter_eoperation_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_eparameters_idx`"/> - <one-to-many entity-name="EParameter"/> - </list> - <list name="eExceptions" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="eoperation_eexceptions"> - <column name="`eoperation_eexceptions_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_eexceptions_idx`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eGenericExceptions" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eoperation_egenericexceptions"> - <column name="`eoperation_egenericexceptions_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_egenericexceptions_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EPackageImpl" entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" table="`epackage`"> - <meta attribute="eclassName">EPackage</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <property name="nsURI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`nsuri`"/> - </property> - <property name="nsPrefix" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`nsprefix`"/> - </property> - <list name="eClassifiers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="epackage_eclassifiers"> - <column name="`eclassifier_epackage_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`epackage_eclassifiers_idx`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eSubpackages" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="epackage_esubpackages"> - <column name="`epackage_esuperpackage_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`epackage_esubpackages_idx`"/> - <one-to-many entity-name="EPackage"/> - </list> - <many-to-one name="eSuperPackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="epackage_esuperpackage" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`epackage_esuperpackage_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EParameterImpl" entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" table="`eparameter`"> - <meta attribute="eclassName">EParameter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`etypedelement_e_id`"/> - </key> - <many-to-one name="eOperation" entity-name="EOperation" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eparameter_eoperation" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eparameter_eoperation_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EReferenceImpl" entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" table="`ereference`"> - <meta attribute="eclassName">EReference</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`estructuralfeature_e_id`"/> - </key> - <property name="containment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`containment`"/> - </property> - <property name="resolveProxies" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`resolveproxies`"/> - </property> - <many-to-one name="eOpposite" entity-name="EReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ereference_eopposite" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ereference_eopposite_e_id`"/> - </many-to-one> - <list name="eKeys" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="ereference_ekeys"> - <column name="`ereference_ekeys_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`ereference_ekeys_idx`"/> - <one-to-many entity-name="EAttribute"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EGenericTypeImpl" entity-name="EGenericType" abstract="false" lazy="false" extends="ecore_EObject" table="`egenerictype`"> - <meta attribute="eclassName">EGenericType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ecore_eobject_e_id`"/> - </key> - <many-to-one name="eUpperBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="egenerictype_eupperbound" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`egenerictype_eupperbound_e_id`"/> - </many-to-one> - <list name="eTypeArguments" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="egenerictype_etypearguments"> - <column name="`egenerictype_etypearguments_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`egenerictype_etypearguments_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - <many-to-one name="eLowerBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="egenerictype_elowerbound" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`egenerictype_elowerbound_e_id`"/> - </many-to-one> - <many-to-one name="eTypeParameter" entity-name="ETypeParameter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="egenerictype_etypeparameter" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`etypeparameter_etypeparameter_e_id`"/> - </many-to-one> - <many-to-one name="eClassifier" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="egenerictype_eclassifier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`eclassifier_eclassifier_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.ETypeParameterImpl" entity-name="ETypeParameter" abstract="false" lazy="false" extends="ENamedElement" table="`etypeparameter`"> - <meta attribute="eclassName">ETypeParameter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <list name="eBounds" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="etypeparameter_ebounds"> - <column name="`etypeparameter_ebounds_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`etypeparameter_ebounds_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </joined-subclass> - <class name="org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl" entity-name="AnyType" abstract="false" lazy="false" table="`anytype`"> - <meta attribute="eclassName">AnyType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`anytype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anytype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anytype_mixed_idx`"/> - <one-to-many entity-name="AnyType_mixed"/> - </list> - <list name="anyAttribute" table="`anytype_anyattribute`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anytype_anyattribute_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anytype_anyattribute_idx`"/> - <one-to-many entity-name="AnyType_anyAttribute"/> - </list> - </class> - <class entity-name="AnyType_mixed" lazy="false" table="`anytype_mixed`"> - <meta attribute="featureMap">AnyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="any" table="`mixed_anytype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_anytype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_anytype_any_idx`"/> - <one-to-many entity-name="AnyType_any"/> - </list> - <list name="anyAttribute" table="`mixed_anytype_anyattribute`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_anytype_anyattribute_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_anytype_anyattribute_idx`"/> - <one-to-many entity-name="AnyType_anyAttribute"/> - </list> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="AnyType_anyAttribute" lazy="false" table="`anytype_anyattribute`"> - <meta attribute="featureMap">AnyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - </class> - <class entity-name="AnyType_any" lazy="false" table="`anytype_any`"> - <meta attribute="featureMap">AnyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.eclipse.emf.ecore.xml.type.impl.ProcessingInstructionImpl" entity-name="ProcessingInstruction" abstract="false" lazy="false" table="`processinginstruction`"> - <meta attribute="eclassName">ProcessingInstruction</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</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> - <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="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`data`"/> - </property> - <property name="target" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`target`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.ecore.xml.type.impl.SimpleAnyTypeImpl" entity-name="SimpleAnyType" abstract="false" lazy="false" extends="AnyType" table="`simpleanytype`"> - <meta attribute="eclassName">SimpleAnyType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</meta> - <key> - <column name="`anytype_e_id`"/> - </key> - <many-to-one name="instanceType" entity-name="EDataType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="simpleanytype_instancetype" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`edatatype_instancetype_e_id`"/> - </many-to-one> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index f00ce5948..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,583 +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"> - <typedef name="ecore.EDiagnosticChain" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EDiagnosticChain</param> - </typedef> - <typedef name="ecore.EEList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEList</param> - </typedef> - <typedef name="ecore.EEnumerator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EEnumerator</param> - </typedef> - <typedef name="ecore.EFeatureMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMap</param> - </typedef> - <typedef name="ecore.EFeatureMapEntry" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EFeatureMapEntry</param> - </typedef> - <typedef name="ecore.EJavaClass" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EJavaClass</param> - </typedef> - <typedef name="ecore.EMap" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EMap</param> - </typedef> - <typedef name="ecore.EResource" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResource</param> - </typedef> - <typedef name="ecore.EResourceSet" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">EResourceSet</param> - </typedef> - <typedef name="ecore.ETreeIterator" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2002/Ecore</param> - <param name="edatatype">ETreeIterator</param> - </typedef> - <typedef name="type.Duration" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">Duration</param> - </typedef> - <typedef name="type.ENTITIES" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIES</param> - </typedef> - <typedef name="type.ENTITIESBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ENTITIESBase</param> - </typedef> - <typedef name="type.IDREFS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFS</param> - </typedef> - <typedef name="type.IDREFSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">IDREFSBase</param> - </typedef> - <typedef name="type.NMTOKENS" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENS</param> - </typedef> - <typedef name="type.NMTOKENSBase" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NMTOKENSBase</param> - </typedef> - <typedef name="type.NOTATION" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">NOTATION</param> - </typedef> - <typedef name="type.QName" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">QName</param> - </typedef> - <typedef name="type.ShortObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">ShortObject</param> - </typedef> - <typedef name="type.UnsignedByteObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/2003/XMLType</param> - <param name="edatatype">UnsignedByteObject</param> - </typedef> - <class name="org.eclipse.emf.ecore.impl.BasicEObjectImpl" entity-name="ecore_EObject" abstract="false" lazy="false" table="`ecore_eobject`"> - <meta attribute="eclassName">EObject</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.ecore.impl.EModelElementImpl" entity-name="EModelElement" abstract="true" lazy="false" extends="ecore_EObject" table="`emodelelement`"> - <meta attribute="eclassName">EModelElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ecore_eobject_e_id`"/> - </key> - <list name="eAnnotations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="emodelelement_eannotations"> - <column name="`eannotation_emodelelement_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`emodelelement_eannotations_idx`"/> - <one-to-many entity-name="EAnnotation"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.ENamedElementImpl" entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" table="`enamedelement`"> - <meta attribute="eclassName">ENamedElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`emodelelement_e_id`"/> - </key> - <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> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.ETypedElementImpl" entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" table="`etypedelement`"> - <meta attribute="eclassName">ETypedElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <property name="ordered" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ordered`"/> - </property> - <property name="unique" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`unique`"/> - </property> - <property name="lowerBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`lowerbound`"/> - </property> - <property name="upperBound" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`upperbound`"/> - </property> - <many-to-one name="eType" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="etypedelement_etype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`eclassifier_etype_e_id`"/> - </many-to-one> - <many-to-one name="eGenericType" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="etypedelement_egenerictype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`egenerictype_egenerictype_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EStructuralFeatureImpl" entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" table="`estructuralfeature`"> - <meta attribute="eclassName">EStructuralFeature</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`etypedelement_e_id`"/> - </key> - <property name="changeable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`changeable`"/> - </property> - <property name="volatile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`volatile`"/> - </property> - <property name="transient" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`transient`"/> - </property> - <property name="defaultValueLiteral" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`defaultvalueliteral`"/> - </property> - <property name="unsettable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`unsettable`"/> - </property> - <property name="derived" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`derived`"/> - </property> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="estructuralfeature_econtainingclass" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`estructuralfeature_econtainingclass_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EAttributeImpl" entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" table="`eattribute`"> - <meta attribute="eclassName">EAttribute</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`estructuralfeature_e_id`"/> - </key> - <property name="iD" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`id`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EAnnotationImpl" entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" table="`eannotation`"> - <meta attribute="eclassName">EAnnotation</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`emodelelement_e_id`"/> - </key> - <property name="source" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`source`"/> - </property> - <map name="details" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`eannotation_details_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <many-to-one name="eModelElement" entity-name="EModelElement" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eannotation_emodelelement" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eannotation_emodelelement_e_id`"/> - </many-to-one> - <list name="contents" table="`eannotation_contents`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eannotation_contents"> - <column name="`eannotation_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`eannotation_contents_idx`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`contents_type`"/> - <column not-null="false" unique="false" name="`contents_id`"/> - </many-to-any> - </list> - <list name="references" table="`eannotation_references`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="eannotation_references"> - <column name="`eannotation_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`eannotation_references_idx`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`references_type`"/> - <column not-null="false" unique="false" name="`references_id`"/> - </many-to-any> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EClassifierImpl" entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" table="`eclassifier`"> - <meta attribute="eclassName">EClassifier</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <property name="instanceClassName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`instanceclassname`"/> - </property> - <property name="instanceTypeName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`instancetypename`"/> - </property> - <many-to-one name="ePackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eclassifier_epackage" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eclassifier_epackage_e_id`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclassifier_etypeparameters"> - <column name="`eclassifier_etypeparameters_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclassifier_etypeparameters_idx`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EClassImpl" entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" table="`eclass`"> - <meta attribute="eclassName">EClass</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`eclassifier_e_id`"/> - </key> - <property name="abstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`abstract`"/> - </property> - <property name="interface" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`interface`"/> - </property> - <list name="eSuperTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="eclass_esupertypes"> - <column name="`eclass_esupertypes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_esupertypes_idx`"/> - <one-to-many entity-name="EClass"/> - </list> - <list name="eOperations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclass_eoperations"> - <column name="`eoperation_econtainingclass_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_eoperations_idx`"/> - <one-to-many entity-name="EOperation"/> - </list> - <list name="eStructuralFeatures" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclass_estructuralfeatures"> - <column name="`estructuralfeature_econtainingclass_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_estructuralfeatures_idx`"/> - <one-to-many entity-name="EStructuralFeature"/> - </list> - <list name="eGenericSuperTypes" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eclass_egenericsupertypes"> - <column name="`eclass_egenericsupertypes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eclass_egenericsupertypes_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EDataTypeImpl" entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" table="`edatatype`"> - <meta attribute="eclassName">EDataType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`eclassifier_e_id`"/> - </key> - <property name="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`serializable`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EEnumImpl" entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" table="`eenum`"> - <meta attribute="eclassName">EEnum</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`edatatype_e_id`"/> - </key> - <list name="eLiterals" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eenum_eliterals"> - <column name="`eenumliteral_eenum_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eenum_eliterals_idx`"/> - <one-to-many entity-name="EEnumLiteral"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EEnumLiteralImpl" entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" table="`eenumliteral`"> - <meta attribute="eclassName">EEnumLiteral</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`value`"/> - </property> - <property name="literal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`literal`"/> - </property> - <many-to-one name="eEnum" entity-name="EEnum" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eenumliteral_eenum" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eenumliteral_eenum_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EFactoryImpl" entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" table="`efactory`"> - <meta attribute="eclassName">EFactory</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`emodelelement_e_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EOperationImpl" entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" table="`eoperation`"> - <meta attribute="eclassName">EOperation</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`etypedelement_e_id`"/> - </key> - <many-to-one name="eContainingClass" entity-name="EClass" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eoperation_econtainingclass" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eoperation_econtainingclass_e_id`"/> - </many-to-one> - <list name="eTypeParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eoperation_etypeparameters"> - <column name="`eoperation_etypeparameters_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_etypeparameters_idx`"/> - <one-to-many entity-name="ETypeParameter"/> - </list> - <list name="eParameters" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eoperation_eparameters"> - <column name="`eparameter_eoperation_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_eparameters_idx`"/> - <one-to-many entity-name="EParameter"/> - </list> - <list name="eExceptions" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="eoperation_eexceptions"> - <column name="`eoperation_eexceptions_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_eexceptions_idx`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eGenericExceptions" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="eoperation_egenericexceptions"> - <column name="`eoperation_egenericexceptions_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`eoperation_egenericexceptions_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EPackageImpl" entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" table="`epackage`"> - <meta attribute="eclassName">EPackage</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <property name="nsURI" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`nsuri`"/> - </property> - <property name="nsPrefix" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`nsprefix`"/> - </property> - <list name="eClassifiers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="epackage_eclassifiers"> - <column name="`eclassifier_epackage_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`epackage_eclassifiers_idx`"/> - <one-to-many entity-name="EClassifier"/> - </list> - <list name="eSubpackages" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="epackage_esubpackages"> - <column name="`epackage_esuperpackage_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`epackage_esubpackages_idx`"/> - <one-to-many entity-name="EPackage"/> - </list> - <many-to-one name="eSuperPackage" entity-name="EPackage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="epackage_esuperpackage" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`epackage_esuperpackage_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EParameterImpl" entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" table="`eparameter`"> - <meta attribute="eclassName">EParameter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`etypedelement_e_id`"/> - </key> - <many-to-one name="eOperation" entity-name="EOperation" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="eparameter_eoperation" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`eparameter_eoperation_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EReferenceImpl" entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" table="`ereference`"> - <meta attribute="eclassName">EReference</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`estructuralfeature_e_id`"/> - </key> - <property name="containment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`containment`"/> - </property> - <property name="resolveProxies" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`resolveproxies`"/> - </property> - <many-to-one name="eOpposite" entity-name="EReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ereference_eopposite" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ereference_eopposite_e_id`"/> - </many-to-one> - <list name="eKeys" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="ereference_ekeys"> - <column name="`ereference_ekeys_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`ereference_ekeys_idx`"/> - <one-to-many entity-name="EAttribute"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.EGenericTypeImpl" entity-name="EGenericType" abstract="false" lazy="false" extends="ecore_EObject" table="`egenerictype`"> - <meta attribute="eclassName">EGenericType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`ecore_eobject_e_id`"/> - </key> - <many-to-one name="eUpperBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="egenerictype_eupperbound" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`egenerictype_eupperbound_e_id`"/> - </many-to-one> - <list name="eTypeArguments" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="egenerictype_etypearguments"> - <column name="`egenerictype_etypearguments_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`egenerictype_etypearguments_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - <many-to-one name="eLowerBound" entity-name="EGenericType" lazy="false" cascade="all" foreign-key="egenerictype_elowerbound" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`egenerictype_elowerbound_e_id`"/> - </many-to-one> - <many-to-one name="eTypeParameter" entity-name="ETypeParameter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="egenerictype_etypeparameter" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`etypeparameter_etypeparameter_e_id`"/> - </many-to-one> - <many-to-one name="eClassifier" entity-name="EClassifier" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="egenerictype_eclassifier" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`eclassifier_eclassifier_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.ecore.impl.ETypeParameterImpl" entity-name="ETypeParameter" abstract="false" lazy="false" extends="ENamedElement" table="`etypeparameter`"> - <meta attribute="eclassName">ETypeParameter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2002/Ecore</meta> - <key> - <column name="`enamedelement_e_id`"/> - </key> - <list name="eBounds" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="etypeparameter_ebounds"> - <column name="`etypeparameter_ebounds_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`etypeparameter_ebounds_idx`"/> - <one-to-many entity-name="EGenericType"/> - </list> - </joined-subclass> - <class name="org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl" entity-name="AnyType" abstract="false" lazy="false" table="`anytype`"> - <meta attribute="eclassName">AnyType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`anytype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anytype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anytype_mixed_idx`"/> - <one-to-many entity-name="AnyType_mixed"/> - </list> - <list name="anyAttribute" table="`anytype_anyattribute`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`anytype_anyattribute_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`anytype_anyattribute_idx`"/> - <one-to-many entity-name="AnyType_anyAttribute"/> - </list> - </class> - <class entity-name="AnyType_mixed" lazy="false" table="`anytype_mixed`"> - <meta attribute="featureMap">AnyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <list name="any" table="`mixed_anytype_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_anytype_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_anytype_any_idx`"/> - <one-to-many entity-name="AnyType_any"/> - </list> - <list name="anyAttribute" table="`mixed_anytype_anyattribute`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_anytype_anyattribute_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_anytype_anyattribute_idx`"/> - <one-to-many entity-name="AnyType_anyAttribute"/> - </list> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="AnyType_anyAttribute" lazy="false" table="`anytype_anyattribute`"> - <meta attribute="featureMap">AnyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - </class> - <class entity-name="AnyType_any" lazy="false" table="`anytype_any`"> - <meta attribute="featureMap">AnyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="any_fme_any_data" type="java.lang.String"/> - <any id-type="long" meta-type="string" name="any_fme_any_reference" cascade="all"> - <column not-null="false" unique="false" name="`any_type`"/> - <column not-null="false" unique="false" name="`any_id`"/> - </any> - </class> - <class name="org.eclipse.emf.ecore.xml.type.impl.ProcessingInstructionImpl" entity-name="ProcessingInstruction" abstract="false" lazy="false" table="`processinginstruction`"> - <meta attribute="eclassName">ProcessingInstruction</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</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> - <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="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`data`"/> - </property> - <property name="target" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`target`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.ecore.xml.type.impl.SimpleAnyTypeImpl" entity-name="SimpleAnyType" abstract="false" lazy="false" extends="AnyType" table="`simpleanytype`"> - <meta attribute="eclassName">SimpleAnyType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</meta> - <key> - <column name="`anytype_e_id`"/> - </key> - <many-to-one name="instanceType" entity-name="EDataType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="simpleanytype_instancetype" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`edatatype_instancetype_e_id`"/> - </many-to-one> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EmployeeAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EmployeeAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index afde9f553..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EmployeeAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,65 +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="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.DepartmentImpl" entity-name="Department" abstract="false" lazy="false" discriminator-value="Department" table="`department`"> - <meta attribute="eclassName">Department</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <bag name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="department_employees"> - <column name="`department_employees_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Employee"/> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <property name="salary" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`salary`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`age`"/> - </property> - <property name="hireDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`hiredate`"/> - </property> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - <filter name="hireDate" condition="hireDate > :date"/> - </class> - <filter-def name="hireDate"> - <filter-param name="date" type="date"/> - </filter-def> - <filter-def name="ageRange"> - <filter-param name="fromAge" type="integer"/> - <filter-param name="toAge" type="integer"/> - </filter-def> - <filter-def name="salaryHigherThan"> - <filter-param name="salary" type="integer"/> - </filter-def> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EmployeeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EmployeeAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 784f8ed2c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EmployeeAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,63 +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="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.DepartmentImpl" entity-name="Department" abstract="false" lazy="false" table="`department`"> - <meta attribute="eclassName">Department</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <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> - <bag name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="department_employees"> - <column name="`department_employees_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Employee"/> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <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> - <property name="salary" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`salary`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`age`"/> - </property> - <property name="hireDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`hiredate`"/> - </property> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - <filter name="hireDate" condition="hireDate > :date"/> - </class> - <filter-def name="hireDate"> - <filter-param name="date" type="date"/> - </filter-def> - <filter-def name="ageRange"> - <filter-param name="fromAge" type="integer"/> - <filter-param name="toAge" type="integer"/> - </filter-def> - <filter-def name="salaryHigherThan"> - <filter-param name="salary" type="integer"/> - </filter-def> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EmployeeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EmployeeAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 784f8ed2c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EmployeeAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,63 +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="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.DepartmentImpl" entity-name="Department" abstract="false" lazy="false" table="`department`"> - <meta attribute="eclassName">Department</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <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> - <bag name="employees" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="department_employees"> - <column name="`department_employees_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Employee"/> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.employee.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" table="`employee`"> - <meta attribute="eclassName">Employee</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Employee</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> - <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> - <property name="salary" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`salary`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`age`"/> - </property> - <property name="hireDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`hiredate`"/> - </property> - <filter name="ageRange" condition="age between :fromAge and :toAge"/> - <filter name="salaryHigherThan" condition="salary > :salary"/> - <filter name="hireDate" condition="hireDate > :date"/> - </class> - <filter-def name="hireDate"> - <filter-param name="date" type="date"/> - </filter-def> - <filter-def name="ageRange"> - <filter-param name="fromAge" type="integer"/> - <filter-param name="toAge" type="integer"/> - </filter-def> - <filter-def name="salaryHigherThan"> - <filter-param name="salary" type="integer"/> - </filter-def> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 804fa4e0b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,425 +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 entity-name="Vehicle" abstract="false" lazy="false" discriminator-value="Vehicle" table="`vehicle`"> - <meta attribute="eclassName">Vehicle</meta> - <meta attribute="epackage">http:///fleet.ecore</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 type="string"> - <column name="dtype" index="vehicledtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="brand" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`brand`"/> - </property> - <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`model`"/> - </property> - <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`make`"/> - </property> - <property name="color" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`color`"/> - </property> - <property name="plate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`plate`"/> - </property> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`year`"/> - </property> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`length`"/> - </property> - <list name="availableColors" table="`vehicle_availablecolors`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vehicle_availablecolors_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`vehicle_availablecolors_idx`"/> - <element type="java.lang.String"/> - </list> - <many-to-one name="owner" entity-name="Person" lazy="false" cascade="all" foreign-key="vehicle_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_owner_e_id`"/> - </many-to-one> - <list name="manufacturedAt" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="vehicle_manufacturedat"> - <column name="`vehicle_manufacturedat_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`vehicle_manufacturedat_idx`"/> - <one-to-many entity-name="ManufacturingPlant"/> - </list> - <many-to-one name="tireSpec" entity-name="Tire" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vehicle_tirespec" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`tire_tirespec_e_id`"/> - </many-to-one> - </class> - <class entity-name="Temporal" abstract="false" lazy="false" discriminator-value="Temporal" table="`temporal`"> - <meta attribute="eclassName">Temporal</meta> - <meta attribute="epackage">http:///temporal.ecore</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 type="string"> - <column name="dtype" index="temporaldtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`date`"/> - </property> - <array name="touchedAttributes" table="`temporal_touchedattributes`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`temporal_touchedattributes_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`temporal_touchedattributes_idx`"/> - <element type="byte"/> - </array> - <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`continuity`"/> - </property> - <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="temporal_versionholder" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`temporal_versionholder_e_id`"/> - </many-to-one> - <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="temporal_versionholdercontainment" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`versionholder_versionholdercontainment_e_id`"/> - </many-to-one> - </class> - <subclass entity-name="Person" abstract="false" lazy="false" extends="Temporal" discriminator-value="Person"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http:///fleet.ecore</meta> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <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> - <property name="employed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`employed`"/> - </property> - <list name="addresses" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_addresses"> - <column name="`person_addresses_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_addresses_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="ownedVehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="person_ownedvehicles"> - <column name="`person_ownedvehicles_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_ownedvehicles_idx`"/> - <one-to-many entity-name="VehicleInfo"/> - </list> - <many-to-one name="birthAddress" entity-name="Address" lazy="false" cascade="all" foreign-key="person_birthaddress" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_birthaddress_e_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="Address" abstract="false" lazy="false" extends="Temporal" discriminator-value="Address"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http:///fleet.ecore</meta> - <property name="streetName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`streetname`"/> - </property> - <property name="streetNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`streetnumber`"/> - </property> - <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="`city`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - </subclass> - <class entity-name="VehicleInfo" abstract="false" lazy="false" discriminator-value="VehicleInfo" table="`vehicleinfo`"> - <meta attribute="eclassName">VehicleInfo</meta> - <meta attribute="epackage">http:///fleet.ecore</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 type="string"> - <column name="dtype" index="vehicleinfodtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="acquisitionDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`acquisitiondate`"/> - </property> - <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vehicleinfo_vehicle" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`vehicle_vehicle_e_id`"/> - </many-to-one> - </class> - <class entity-name="ManufacturingPlant" abstract="false" lazy="false" discriminator-value="ManufacturingPlant" table="`manufacturingplant`"> - <meta attribute="eclassName">ManufacturingPlant</meta> - <meta attribute="epackage">http:///fleet.ecore</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 type="string"> - <column name="dtype" index="manufacturingplantdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <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> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="manufacturingplant_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <many-to-one name="transportFleet" entity-name="Fleet" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="manufacturingplant_transportfleet" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`fleet_transportfleet_e_id`"/> - </many-to-one> - </class> - <subclass entity-name="Fleet" abstract="false" lazy="false" extends="Temporal" discriminator-value="Fleet"> - <meta attribute="eclassName">Fleet</meta> - <meta attribute="epackage">http:///fleet.ecore</meta> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <list name="vehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="fleet_vehicles"> - <column name="`fleet_vehicles_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`fleet_vehicles_idx`"/> - <one-to-many entity-name="Vehicle"/> - </list> - <list name="vehicleInformation" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="fleet_vehicleinformation"> - <column name="`fleet_vehicleinformation_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`fleet_vehicleinformation_idx`"/> - <one-to-many entity-name="VehicleInfo"/> - </list> - <many-to-one name="serviceGarage" entity-name="Garage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fleet_servicegarage" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`fleet_servicegarage_e_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="Garage" abstract="false" lazy="false" extends="Temporal" discriminator-value="Garage"> - <meta attribute="eclassName">Garage</meta> - <meta attribute="epackage">http:///fleet.ecore</meta> - <list name="vehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="garage_vehicles"> - <column name="`garage_vehicles_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`garage_vehicles_idx`"/> - <one-to-many entity-name="Vehicle"/> - </list> - <many-to-one name="customerShuttles" entity-name="Fleet" lazy="false" cascade="all" foreign-key="garage_customershuttles" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`fleet_customershuttles_e_id`"/> - </many-to-one> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="all" foreign-key="garage_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <list name="fleetsUsingGarage" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`fleet_servicegarage_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`garage_fleetsusinggarage_idx`"/> - <one-to-many entity-name="Fleet"/> - </list> - <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> - </subclass> - <class entity-name="Tire" abstract="false" lazy="false" discriminator-value="Tire" table="`tire`"> - <meta attribute="eclassName">Tire</meta> - <meta attribute="epackage">http:///fleet.ecore</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 type="string"> - <column name="dtype" index="tiredtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="radius" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`radius`"/> - </property> - <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`width`"/> - </property> - <property name="profile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`profile`"/> - </property> - <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`make`"/> - </property> - <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`model`"/> - </property> - </class> - <subclass entity-name="Car" abstract="false" lazy="false" extends="Vehicle" discriminator-value="Car"> - <meta attribute="eclassName">Car</meta> - <meta attribute="epackage">http:///fleet.ecore</meta> - <property name="passengerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`passengername`"/> - </property> - <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`date`"/> - </property> - <array name="touchedAttributes" table="`car_touchedattributes`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`car_touchedattributes_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`car_touchedattributes_idx`"/> - <element type="byte"/> - </array> - <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`continuity`"/> - </property> - <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="temporal_versionholder" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`car_versionholder_e_id`"/> - </many-to-one> - <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="temporal_versionholdercontainment" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`versionholder_versionholdercontainment_e_id`"/> - </many-to-one> - <property name="numPassengers" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`numpassengers`"/> - </property> - <property name="numTires" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`numtires`"/> - </property> - <list name="tires" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="car_tires"> - <column name="`car_tires_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`car_tires_idx`"/> - <one-to-many entity-name="Tire"/> - </list> - </subclass> - <subclass entity-name="Hybrid" abstract="false" lazy="false" extends="Car" discriminator-value="Hybrid"> - <meta attribute="eclassName">Hybrid</meta> - <meta attribute="epackage">http:///fleet.ecore</meta> - <property name="hasRechargePlug" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`hasrechargeplug`"/> - </property> - <property name="batteryLife" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`batterylife`"/> - </property> - </subclass> - <class name="fleet.PassengerVehicle" entity-name="PassengerVehicle" abstract="true" lazy="false" discriminator-value="PassengerVehicle" table="`passengervehicle`"> - <meta attribute="eclassName">PassengerVehicle</meta> - <meta attribute="epackage">http:///fleet.ecore</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 type="string"> - <column name="dtype" index="passengervehicledtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="passengerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`passengername`"/> - </property> - </class> - <subclass entity-name="EngineFactory" abstract="false" lazy="false" extends="ManufacturingPlant" discriminator-value="EngineFactory"> - <meta attribute="eclassName">EngineFactory</meta> - <meta attribute="epackage">http:///fleet.ecore</meta> - <property name="makesDieselEngines" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`makesdieselengines`"/> - </property> - <list name="brands" table="`enginefactory_brands`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`enginefactory_brands_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`enginefactory_brands_idx`"/> - <element type="java.lang.String"/> - </list> - </subclass> - <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http:///fleet.ecore</meta> - <property name="zipCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`zipcode`"/> - </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="`state`"/> - </property> - </subclass> - <class entity-name="Vin" abstract="false" lazy="false" discriminator-value="Vin" table="`vin`"> - <meta attribute="eclassName">Vin</meta> - <meta attribute="epackage">http:///fleet.ecore</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 type="string"> - <column name="dtype" index="vindtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <property name="installationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`installationdate`"/> - </property> - <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vin_vehicle" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`vehicle_vehicle_e_id`"/> - </many-to-one> - </class> - <class entity-name="TransportationDevice" abstract="false" lazy="false" discriminator-value="TransportationDevice" table="`transportationdevice`"> - <meta attribute="eclassName">TransportationDevice</meta> - <meta attribute="epackage">http:///fleet.ecore</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 type="string"> - <column name="dtype" index="transportationdevicedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="manufacturedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`manufacturedby`"/> - </property> - <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`year`"/> - </property> - </class> - <class entity-name="VersionHolder" abstract="false" lazy="false" discriminator-value="VersionHolder" table="`versionholder`"> - <meta attribute="eclassName">VersionHolder</meta> - <meta attribute="epackage">http:///temporal.ecore</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 type="string"> - <column name="dtype" index="versionholderdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="versions" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`temporal_versionholder_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`versionholder_versions_idx`"/> - <one-to-many entity-name="Temporal"/> - </list> - <property name="indexOfContinuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`indexofcontinuity`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 16885c2d9..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,422 +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 entity-name="Vehicle" abstract="false" lazy="false" table="`vehicle`"> - <meta attribute="eclassName" inherit="false">Vehicle</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="brand" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`brand`"/> - </property> - <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`model`"/> - </property> - <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`make`"/> - </property> - <property name="color" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`color`"/> - </property> - <property name="plate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`plate`"/> - </property> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`year`"/> - </property> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`length`"/> - </property> - <list name="availableColors" table="`vehicle_availablecolors`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vehicle_availablecolors_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`vehicle_availablecolors_idx`"/> - <element type="java.lang.String"/> - </list> - <many-to-one name="owner" entity-name="Person" lazy="false" cascade="all" foreign-key="vehicle_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_owner_e_id`"/> - </many-to-one> - <list name="manufacturedAt" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="vehicle_manufacturedat"> - <column name="`vehicle_manufacturedat_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`vehicle_manufacturedat_idx`"/> - <one-to-many entity-name="ManufacturingPlant"/> - </list> - <many-to-one name="tireSpec" entity-name="Tire" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vehicle_tirespec" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`tire_tirespec_e_id`"/> - </many-to-one> - </class> - <class entity-name="Temporal" abstract="false" lazy="false" table="`temporal`"> - <meta attribute="eclassName" inherit="false">Temporal</meta> - <meta attribute="epackage" inherit="false">http:///temporal.ecore</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="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`date`"/> - </property> - <array name="touchedAttributes" table="`temporal_touchedattributes`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`temporal_touchedattributes_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`temporal_touchedattributes_idx`"/> - <element type="byte"/> - </array> - <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`continuity`"/> - </property> - <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="temporal_versionholder" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`temporal_versionholder_e_id`"/> - </many-to-one> - <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="temporal_versionholdercontainment" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`versionholder_versionholdercontainment_e_id`"/> - </many-to-one> - </class> - <joined-subclass entity-name="Person" abstract="false" lazy="false" extends="Temporal" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`temporal_e_id`"/> - </key> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <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> - <property name="employed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`employed`"/> - </property> - <list name="addresses" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_addresses"> - <column name="`person_addresses_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_addresses_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="ownedVehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="person_ownedvehicles"> - <column name="`person_ownedvehicles_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_ownedvehicles_idx`"/> - <one-to-many entity-name="VehicleInfo"/> - </list> - <many-to-one name="birthAddress" entity-name="Address" lazy="false" cascade="all" foreign-key="person_birthaddress" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_birthaddress_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="Address" abstract="false" lazy="false" extends="Temporal" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`temporal_e_id`"/> - </key> - <property name="streetName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`streetname`"/> - </property> - <property name="streetNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`streetnumber`"/> - </property> - <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="`city`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - </joined-subclass> - <class entity-name="VehicleInfo" abstract="false" lazy="false" table="`vehicleinfo`"> - <meta attribute="eclassName" inherit="false">VehicleInfo</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="acquisitionDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`acquisitiondate`"/> - </property> - <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vehicleinfo_vehicle" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`vehicle_vehicle_e_id`"/> - </many-to-one> - </class> - <class entity-name="ManufacturingPlant" abstract="false" lazy="false" table="`manufacturingplant`"> - <meta attribute="eclassName" inherit="false">ManufacturingPlant</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <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> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="manufacturingplant_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <many-to-one name="transportFleet" entity-name="Fleet" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="manufacturingplant_transportfleet" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`fleet_transportfleet_e_id`"/> - </many-to-one> - </class> - <joined-subclass entity-name="Fleet" abstract="false" lazy="false" extends="Temporal" table="`fleet`"> - <meta attribute="eclassName" inherit="false">Fleet</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`temporal_e_id`"/> - </key> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <list name="vehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="fleet_vehicles"> - <column name="`fleet_vehicles_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`fleet_vehicles_idx`"/> - <one-to-many entity-name="Vehicle"/> - </list> - <list name="vehicleInformation" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="fleet_vehicleinformation"> - <column name="`fleet_vehicleinformation_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`fleet_vehicleinformation_idx`"/> - <one-to-many entity-name="VehicleInfo"/> - </list> - <many-to-one name="serviceGarage" entity-name="Garage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fleet_servicegarage" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`fleet_servicegarage_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="Garage" abstract="false" lazy="false" extends="Temporal" table="`garage`"> - <meta attribute="eclassName" inherit="false">Garage</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`temporal_e_id`"/> - </key> - <list name="vehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="garage_vehicles"> - <column name="`garage_vehicles_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`garage_vehicles_idx`"/> - <one-to-many entity-name="Vehicle"/> - </list> - <many-to-one name="customerShuttles" entity-name="Fleet" lazy="false" cascade="all" foreign-key="garage_customershuttles" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`fleet_customershuttles_e_id`"/> - </many-to-one> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="all" foreign-key="garage_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <list name="fleetsUsingGarage" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`fleet_servicegarage_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`garage_fleetsusinggarage_idx`"/> - <one-to-many entity-name="Fleet"/> - </list> - <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> - </joined-subclass> - <class entity-name="Tire" abstract="false" lazy="false" table="`tire`"> - <meta attribute="eclassName" inherit="false">Tire</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="radius" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`radius`"/> - </property> - <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`width`"/> - </property> - <property name="profile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`profile`"/> - </property> - <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`make`"/> - </property> - <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`model`"/> - </property> - </class> - <joined-subclass entity-name="Car" abstract="false" lazy="false" extends="Vehicle" table="`car`"> - <meta attribute="eclassName" inherit="false">Car</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`passengervehicle_e_id`"/> - </key> - <property name="passengerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`passengername`"/> - </property> - <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`date`"/> - </property> - <array name="touchedAttributes" table="`car_touchedattributes`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`car_touchedattributes_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`car_touchedattributes_idx`"/> - <element type="byte"/> - </array> - <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`continuity`"/> - </property> - <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="temporal_versionholder" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`car_versionholder_e_id`"/> - </many-to-one> - <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="temporal_versionholdercontainment" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`versionholder_versionholdercontainment_e_id`"/> - </many-to-one> - <property name="numPassengers" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`numpassengers`"/> - </property> - <property name="numTires" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`numtires`"/> - </property> - <list name="tires" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="car_tires"> - <column name="`car_tires_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`car_tires_idx`"/> - <one-to-many entity-name="Tire"/> - </list> - </joined-subclass> - <joined-subclass entity-name="Hybrid" abstract="false" lazy="false" extends="Car" table="`hybrid`"> - <meta attribute="eclassName" inherit="false">Hybrid</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`car_e_id`"/> - </key> - <property name="hasRechargePlug" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`hasrechargeplug`"/> - </property> - <property name="batteryLife" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`batterylife`"/> - </property> - </joined-subclass> - <class name="fleet.PassengerVehicle" entity-name="PassengerVehicle" abstract="true" lazy="false" table="`passengervehicle`"> - <meta attribute="eclassName" inherit="false">PassengerVehicle</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="passengerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`passengername`"/> - </property> - </class> - <joined-subclass entity-name="EngineFactory" abstract="false" lazy="false" extends="ManufacturingPlant" table="`enginefactory`"> - <meta attribute="eclassName" inherit="false">EngineFactory</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`manufacturingplant_e_id`"/> - </key> - <property name="makesDieselEngines" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`makesdieselengines`"/> - </property> - <list name="brands" table="`enginefactory_brands`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`enginefactory_brands_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`enginefactory_brands_idx`"/> - <element type="java.lang.String"/> - </list> - </joined-subclass> - <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="zipCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`zipcode`"/> - </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="`state`"/> - </property> - </joined-subclass> - <class entity-name="Vin" abstract="false" lazy="false" table="`vin`"> - <meta attribute="eclassName" inherit="false">Vin</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <property name="installationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`installationdate`"/> - </property> - <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vin_vehicle" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`vehicle_vehicle_e_id`"/> - </many-to-one> - </class> - <class entity-name="TransportationDevice" abstract="false" lazy="false" table="`transportationdevice`"> - <meta attribute="eclassName" inherit="false">TransportationDevice</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="manufacturedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`manufacturedby`"/> - </property> - <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`year`"/> - </property> - </class> - <class entity-name="VersionHolder" abstract="false" lazy="false" table="`versionholder`"> - <meta attribute="eclassName" inherit="false">VersionHolder</meta> - <meta attribute="epackage" inherit="false">http:///temporal.ecore</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> - <list name="versions" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`temporal_versionholder_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`versionholder_versions_idx`"/> - <one-to-many entity-name="Temporal"/> - </list> - <property name="indexOfContinuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`indexofcontinuity`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 16885c2d9..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,422 +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 entity-name="Vehicle" abstract="false" lazy="false" table="`vehicle`"> - <meta attribute="eclassName" inherit="false">Vehicle</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="brand" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`brand`"/> - </property> - <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`model`"/> - </property> - <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`make`"/> - </property> - <property name="color" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`color`"/> - </property> - <property name="plate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`plate`"/> - </property> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`year`"/> - </property> - <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`length`"/> - </property> - <list name="availableColors" table="`vehicle_availablecolors`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vehicle_availablecolors_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`vehicle_availablecolors_idx`"/> - <element type="java.lang.String"/> - </list> - <many-to-one name="owner" entity-name="Person" lazy="false" cascade="all" foreign-key="vehicle_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_owner_e_id`"/> - </many-to-one> - <list name="manufacturedAt" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="vehicle_manufacturedat"> - <column name="`vehicle_manufacturedat_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`vehicle_manufacturedat_idx`"/> - <one-to-many entity-name="ManufacturingPlant"/> - </list> - <many-to-one name="tireSpec" entity-name="Tire" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vehicle_tirespec" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`tire_tirespec_e_id`"/> - </many-to-one> - </class> - <class entity-name="Temporal" abstract="false" lazy="false" table="`temporal`"> - <meta attribute="eclassName" inherit="false">Temporal</meta> - <meta attribute="epackage" inherit="false">http:///temporal.ecore</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="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`date`"/> - </property> - <array name="touchedAttributes" table="`temporal_touchedattributes`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`temporal_touchedattributes_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`temporal_touchedattributes_idx`"/> - <element type="byte"/> - </array> - <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`continuity`"/> - </property> - <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="temporal_versionholder" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`temporal_versionholder_e_id`"/> - </many-to-one> - <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="temporal_versionholdercontainment" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`versionholder_versionholdercontainment_e_id`"/> - </many-to-one> - </class> - <joined-subclass entity-name="Person" abstract="false" lazy="false" extends="Temporal" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`temporal_e_id`"/> - </key> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <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> - <property name="employed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`employed`"/> - </property> - <list name="addresses" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_addresses"> - <column name="`person_addresses_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_addresses_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="ownedVehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="person_ownedvehicles"> - <column name="`person_ownedvehicles_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_ownedvehicles_idx`"/> - <one-to-many entity-name="VehicleInfo"/> - </list> - <many-to-one name="birthAddress" entity-name="Address" lazy="false" cascade="all" foreign-key="person_birthaddress" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_birthaddress_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="Address" abstract="false" lazy="false" extends="Temporal" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`temporal_e_id`"/> - </key> - <property name="streetName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`streetname`"/> - </property> - <property name="streetNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`streetnumber`"/> - </property> - <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="`city`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - </joined-subclass> - <class entity-name="VehicleInfo" abstract="false" lazy="false" table="`vehicleinfo`"> - <meta attribute="eclassName" inherit="false">VehicleInfo</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="acquisitionDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`acquisitiondate`"/> - </property> - <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vehicleinfo_vehicle" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`vehicle_vehicle_e_id`"/> - </many-to-one> - </class> - <class entity-name="ManufacturingPlant" abstract="false" lazy="false" table="`manufacturingplant`"> - <meta attribute="eclassName" inherit="false">ManufacturingPlant</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <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> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="manufacturingplant_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <many-to-one name="transportFleet" entity-name="Fleet" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="manufacturingplant_transportfleet" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`fleet_transportfleet_e_id`"/> - </many-to-one> - </class> - <joined-subclass entity-name="Fleet" abstract="false" lazy="false" extends="Temporal" table="`fleet`"> - <meta attribute="eclassName" inherit="false">Fleet</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`temporal_e_id`"/> - </key> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <list name="vehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="fleet_vehicles"> - <column name="`fleet_vehicles_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`fleet_vehicles_idx`"/> - <one-to-many entity-name="Vehicle"/> - </list> - <list name="vehicleInformation" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="fleet_vehicleinformation"> - <column name="`fleet_vehicleinformation_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`fleet_vehicleinformation_idx`"/> - <one-to-many entity-name="VehicleInfo"/> - </list> - <many-to-one name="serviceGarage" entity-name="Garage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fleet_servicegarage" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`fleet_servicegarage_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="Garage" abstract="false" lazy="false" extends="Temporal" table="`garage`"> - <meta attribute="eclassName" inherit="false">Garage</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`temporal_e_id`"/> - </key> - <list name="vehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="garage_vehicles"> - <column name="`garage_vehicles_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`garage_vehicles_idx`"/> - <one-to-many entity-name="Vehicle"/> - </list> - <many-to-one name="customerShuttles" entity-name="Fleet" lazy="false" cascade="all" foreign-key="garage_customershuttles" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`fleet_customershuttles_e_id`"/> - </many-to-one> - <many-to-one name="address" entity-name="Address" lazy="false" cascade="all" foreign-key="garage_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_e_id`"/> - </many-to-one> - <list name="fleetsUsingGarage" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`fleet_servicegarage_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`garage_fleetsusinggarage_idx`"/> - <one-to-many entity-name="Fleet"/> - </list> - <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> - </joined-subclass> - <class entity-name="Tire" abstract="false" lazy="false" table="`tire`"> - <meta attribute="eclassName" inherit="false">Tire</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="radius" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`radius`"/> - </property> - <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`width`"/> - </property> - <property name="profile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`profile`"/> - </property> - <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`make`"/> - </property> - <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`model`"/> - </property> - </class> - <joined-subclass entity-name="Car" abstract="false" lazy="false" extends="Vehicle" table="`car`"> - <meta attribute="eclassName" inherit="false">Car</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`passengervehicle_e_id`"/> - </key> - <property name="passengerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`passengername`"/> - </property> - <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`date`"/> - </property> - <array name="touchedAttributes" table="`car_touchedattributes`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`car_touchedattributes_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`car_touchedattributes_idx`"/> - <element type="byte"/> - </array> - <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`continuity`"/> - </property> - <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="temporal_versionholder" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`car_versionholder_e_id`"/> - </many-to-one> - <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="temporal_versionholdercontainment" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`versionholder_versionholdercontainment_e_id`"/> - </many-to-one> - <property name="numPassengers" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`numpassengers`"/> - </property> - <property name="numTires" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`numtires`"/> - </property> - <list name="tires" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="car_tires"> - <column name="`car_tires_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`car_tires_idx`"/> - <one-to-many entity-name="Tire"/> - </list> - </joined-subclass> - <joined-subclass entity-name="Hybrid" abstract="false" lazy="false" extends="Car" table="`hybrid`"> - <meta attribute="eclassName" inherit="false">Hybrid</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`car_e_id`"/> - </key> - <property name="hasRechargePlug" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`hasrechargeplug`"/> - </property> - <property name="batteryLife" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`batterylife`"/> - </property> - </joined-subclass> - <class name="fleet.PassengerVehicle" entity-name="PassengerVehicle" abstract="true" lazy="false" table="`passengervehicle`"> - <meta attribute="eclassName" inherit="false">PassengerVehicle</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="passengerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`passengername`"/> - </property> - </class> - <joined-subclass entity-name="EngineFactory" abstract="false" lazy="false" extends="ManufacturingPlant" table="`enginefactory`"> - <meta attribute="eclassName" inherit="false">EngineFactory</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`manufacturingplant_e_id`"/> - </key> - <property name="makesDieselEngines" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`makesdieselengines`"/> - </property> - <list name="brands" table="`enginefactory_brands`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`enginefactory_brands_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`enginefactory_brands_idx`"/> - <element type="java.lang.String"/> - </list> - </joined-subclass> - <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="zipCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`zipcode`"/> - </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="`state`"/> - </property> - </joined-subclass> - <class entity-name="Vin" abstract="false" lazy="false" table="`vin`"> - <meta attribute="eclassName" inherit="false">Vin</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> - </property> - <property name="installationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`installationdate`"/> - </property> - <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vin_vehicle" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`vehicle_vehicle_e_id`"/> - </many-to-one> - </class> - <class entity-name="TransportationDevice" abstract="false" lazy="false" table="`transportationdevice`"> - <meta attribute="eclassName" inherit="false">TransportationDevice</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="manufacturedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`manufacturedby`"/> - </property> - <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`year`"/> - </property> - </class> - <class entity-name="VersionHolder" abstract="false" lazy="false" table="`versionholder`"> - <meta attribute="eclassName" inherit="false">VersionHolder</meta> - <meta attribute="epackage" inherit="false">http:///temporal.ecore</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> - <list name="versions" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`temporal_versionholder_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`versionholder_versions_idx`"/> - <one-to-many entity-name="Temporal"/> - </list> - <property name="indexOfContinuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`indexofcontinuity`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ad0610123..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,129 +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"> - <typedef name="forum.TopicCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</param> - <param name="edatatype">TopicCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.ForumImpl" entity-name="Forum" abstract="false" lazy="false" discriminator-value="Forum" table="`forum`"> - <meta attribute="eclassName">Forum</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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 type="string"> - <column name="dtype" index="forumdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="members" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="forum_members"> - <column name="`forum_members_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`forum_members_idx`"/> - <one-to-many entity-name="Member"/> - </list> - <list name="topics" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="forum_topics"> - <column name="`forum_topics_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`forum_topics_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.MemberImpl" entity-name="Member" abstract="false" lazy="false" discriminator-value="Member" table="`member`"> - <meta attribute="eclassName">Member</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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 type="string"> - <column name="dtype" index="memberdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="nickname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`nickname`"/> - </property> - <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`post_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`member_posts_idx`"/> - <one-to-many entity-name="Post"/> - </list> - <list name="created" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`topic_creator_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`member_created_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.PostImpl" entity-name="Post" abstract="false" lazy="false" discriminator-value="Post" table="`post`"> - <meta attribute="eclassName">Post</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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 type="string"> - <column name="dtype" index="postdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="comment" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`comment`"/> - </property> - <many-to-one name="author" entity-name="Member" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="post_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`post_author_e_id`"/> - </many-to-one> - <many-to-one name="topic" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="post_topic" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`post_topic_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.TopicImpl" entity-name="Topic" abstract="false" lazy="false" discriminator-value="Topic" table="`topic`"> - <meta attribute="eclassName">Topic</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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 type="string"> - <column name="dtype" index="topicdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param> - <param name="eclassifier">TopicCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</param> - </type> - </property> - <many-to-one name="creator" entity-name="Member" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="topic_creator" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`topic_creator_e_id`"/> - </many-to-one> - <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`post_topic_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`topic_posts_idx`"/> - <one-to-many entity-name="Post"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 271c9eba8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,117 +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"> - <typedef name="forum.TopicCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</param> - <param name="edatatype">TopicCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.ForumImpl" entity-name="Forum" abstract="false" lazy="false" table="`forum`"> - <meta attribute="eclassName" inherit="false">Forum</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="members" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="forum_members"> - <column name="`forum_members_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`forum_members_idx`"/> - <one-to-many entity-name="Member"/> - </list> - <list name="topics" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="forum_topics"> - <column name="`forum_topics_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`forum_topics_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.MemberImpl" entity-name="Member" abstract="false" lazy="false" table="`member`"> - <meta attribute="eclassName" inherit="false">Member</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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="nickname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`nickname`"/> - </property> - <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`post_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`member_posts_idx`"/> - <one-to-many entity-name="Post"/> - </list> - <list name="created" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`topic_creator_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`member_created_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.PostImpl" entity-name="Post" abstract="false" lazy="false" table="`post`"> - <meta attribute="eclassName" inherit="false">Post</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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="comment" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`comment`"/> - </property> - <many-to-one name="author" entity-name="Member" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="post_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`post_author_e_id`"/> - </many-to-one> - <many-to-one name="topic" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="post_topic" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`post_topic_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.TopicImpl" entity-name="Topic" abstract="false" lazy="false" table="`topic`"> - <meta attribute="eclassName" inherit="false">Topic</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param> - <param name="eclassifier">TopicCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</param> - </type> - </property> - <many-to-one name="creator" entity-name="Member" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="topic_creator" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`topic_creator_e_id`"/> - </many-to-one> - <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`post_topic_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`topic_posts_idx`"/> - <one-to-many entity-name="Post"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 271c9eba8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,117 +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"> - <typedef name="forum.TopicCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</param> - <param name="edatatype">TopicCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.ForumImpl" entity-name="Forum" abstract="false" lazy="false" table="`forum`"> - <meta attribute="eclassName" inherit="false">Forum</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="members" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="forum_members"> - <column name="`forum_members_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`forum_members_idx`"/> - <one-to-many entity-name="Member"/> - </list> - <list name="topics" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="forum_topics"> - <column name="`forum_topics_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`forum_topics_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.MemberImpl" entity-name="Member" abstract="false" lazy="false" table="`member`"> - <meta attribute="eclassName" inherit="false">Member</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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="nickname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`nickname`"/> - </property> - <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`post_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`member_posts_idx`"/> - <one-to-many entity-name="Post"/> - </list> - <list name="created" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`topic_creator_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`member_created_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.PostImpl" entity-name="Post" abstract="false" lazy="false" table="`post`"> - <meta attribute="eclassName" inherit="false">Post</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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="comment" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`comment`"/> - </property> - <many-to-one name="author" entity-name="Member" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="post_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`post_author_e_id`"/> - </many-to-one> - <many-to-one name="topic" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="post_topic" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`post_topic_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.TopicImpl" entity-name="Topic" abstract="false" lazy="false" table="`topic`"> - <meta attribute="eclassName" inherit="false">Topic</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param> - <param name="eclassifier">TopicCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</param> - </type> - </property> - <many-to-one name="creator" entity-name="Member" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="topic_creator" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`topic_creator_e_id`"/> - </many-to-one> - <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`post_topic_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`topic_posts_idx`"/> - <one-to-many entity-name="Post"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 01a2281d1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,60 +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="org.eclipse.emf.teneo.samples.emf.sample.inv.impl.PTypeImpl" entity-name="PType" abstract="false" lazy="false" discriminator-value="PType" table="`ptype`"> - <meta attribute="eclassName">PType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ptypedtype" length="255" not-null="true"/> - </discriminator> - <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> - <many-to-one name="base" entity-name="PType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ptype_base" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ptype_base_id`"/> - </many-to-one> - <bag name="subTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ptype_base_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="PType"/> - </bag> - <bag name="subNOTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="ptype_subnotypes"> - <column name="`ptype_subnotypes_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="PType"/> - </bag> - <bag name="infoReferences" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="ptype_inforeferences"> - <column name="`ptype_inforeferences_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="PDeclaration"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.inv.impl.PDeclarationImpl" entity-name="PDeclaration" abstract="false" lazy="false" discriminator-value="PDeclaration" table="`pdeclaration`"> - <meta attribute="eclassName">PDeclaration</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="pdeclarationdtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index c83a1dea1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,54 +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="org.eclipse.emf.teneo.samples.emf.sample.inv.impl.PTypeImpl" entity-name="PType" abstract="false" lazy="false" table="`ptype`"> - <meta attribute="eclassName" inherit="false">PType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <many-to-one name="base" entity-name="PType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ptype_base" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ptype_base_id`"/> - </many-to-one> - <bag name="subTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ptype_base_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="PType"/> - </bag> - <bag name="subNOTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="ptype_subnotypes"> - <column name="`ptype_subnotypes_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="PType"/> - </bag> - <bag name="infoReferences" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="ptype_inforeferences"> - <column name="`ptype_inforeferences_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="PDeclaration"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.inv.impl.PDeclarationImpl" entity-name="PDeclaration" abstract="false" lazy="false" table="`pdeclaration`"> - <meta attribute="eclassName" inherit="false">PDeclaration</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c83a1dea1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,54 +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="org.eclipse.emf.teneo.samples.emf.sample.inv.impl.PTypeImpl" entity-name="PType" abstract="false" lazy="false" table="`ptype`"> - <meta attribute="eclassName" inherit="false">PType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - <many-to-one name="base" entity-name="PType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ptype_base" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ptype_base_id`"/> - </many-to-one> - <bag name="subTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ptype_base_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="PType"/> - </bag> - <bag name="subNOTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="ptype_subnotypes"> - <column name="`ptype_subnotypes_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="PType"/> - </bag> - <bag name="infoReferences" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="ptype_inforeferences"> - <column name="`ptype_inforeferences_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="PDeclaration"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.inv.impl.PDeclarationImpl" entity-name="PDeclaration" abstract="false" lazy="false" table="`pdeclaration`"> - <meta attribute="eclassName" inherit="false">PDeclaration</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f691b0332..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,148 +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.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl" entity-name="BookDefinition" abstract="true" lazy="false" discriminator-value="BookDefinition" table="`bookdefinition`"> - <meta attribute="eclassName">BookDefinition</meta> - <meta attribute="epackage">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <id name="uniqueName" type="java.lang.String"> - <column not-null="true" unique="false" name="`uniquename`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdefinitiondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="location" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`location`"/> - </property> - </class> - <subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl" entity-name="AdultBooks" abstract="false" lazy="false" extends="BookDefinition" discriminator-value="AdultBooks"> - <meta attribute="eclassName">AdultBooks</meta> - <meta attribute="epackage">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="checkedout" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`checkedout`"/> - </property> - <property name="userid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`userid`"/> - </property> - </subclass> - <class name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ResourceLinkImpl" entity-name="ResourceLink" abstract="true" lazy="false" discriminator-value="ResourceLink" table="`resourcelink`"> - <meta attribute="eclassName">ResourceLink</meta> - <meta attribute="epackage">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</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 type="string"> - <column name="dtype" index="resourcelinkdtype" length="255" not-null="true"/> - </discriminator> - <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> - <subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionResourceLinkImpl" entity-name="BookDefinitionResourceLink" abstract="false" lazy="false" extends="ResourceLink" discriminator-value="BookDefinitionResourceLink"> - <meta attribute="eclassName">BookDefinitionResourceLink</meta> - <meta attribute="epackage">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <property name="bookSubject" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`booksubject`"/> - </property> - </subclass> - <class name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BooksInLibImpl" entity-name="BooksInLib" abstract="false" lazy="false" discriminator-value="BooksInLib" table="`booksinlib`"> - <meta attribute="eclassName">BooksInLib</meta> - <meta attribute="epackage">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</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 type="string"> - <column name="dtype" index="booksinlibdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="library" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="booksinlib_library"> - <column name="`booksinlib_library_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`booksinlib_library_idx`"/> - <one-to-many entity-name="Library"/> - </list> - </class> - <subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl" entity-name="ChildrenBooks" abstract="false" lazy="false" extends="BookDefinition" discriminator-value="ChildrenBooks"> - <meta attribute="eclassName">ChildrenBooks</meta> - <meta attribute="epackage">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="cartoon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`cartoon`"/> - </property> - <property name="popup" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`popup`"/> - </property> - <many-to-one name="publisherDefinitionRef" entity-name="PublisherDefinition" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="childrenbooks_publisherdefinitionref" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publisherdefinition_publisherdefinitionref_uniquename`"/> - </many-to-one> - </subclass> - <class name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <id name="uniqueName" type="java.lang.String"> - <column not-null="true" unique="false" name="`uniquename`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="library" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_library"> - <column name="`library_library_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_library_idx`"/> - <one-to-many entity-name="Library"/> - </list> - <list name="abstractBookDefinitionGroup" table="`library_abstractbookdefinitiongroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_abstractbookdefinitiongroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_abstractbookdefinitiongroup_idx`"/> - <one-to-many entity-name="Library_abstractBookDefinitionGroup"/> - </list> - </class> - <class entity-name="Library_abstractBookDefinitionGroup" lazy="false" table="`library_abstractbookdefinitiongroup`"> - <meta attribute="featureMap">Library</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="abstractBookDefinition" entity-name="BookDefinition" lazy="false" cascade="all" foreign-key="library_abstractbookdefinition" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`abstractbookdefinitiongroup_bookdefinition_abstractbookdefinition_uniquename`"/> - </many-to-one> - </class> - <subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.PublisherDefinitionImpl" entity-name="PublisherDefinition" abstract="false" lazy="false" extends="BookDefinition" discriminator-value="PublisherDefinition"> - <meta attribute="eclassName">PublisherDefinition</meta> - <meta attribute="epackage">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <many-to-one name="resourceLink" entity-name="BookDefinitionResourceLink" lazy="false" cascade="all" foreign-key="publisherdefinition_resourcelink" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`bookdefinitionresourcelink_resourcelink_e_id`"/> - </many-to-one> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a9d8c06c8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,148 +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.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl" entity-name="BookDefinition" abstract="true" lazy="false" table="`bookdefinition`"> - <meta attribute="eclassName" inherit="false">BookDefinition</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <id name="uniqueName" type="java.lang.String"> - <column not-null="true" unique="false" name="`uniquename`"/> - </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="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="location" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`location`"/> - </property> - </class> - <joined-subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl" entity-name="AdultBooks" abstract="false" lazy="false" extends="BookDefinition" table="`adultbooks`"> - <meta attribute="eclassName" inherit="false">AdultBooks</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <key> - <column name="`bookdefinition_uniquename`"/> - </key> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="checkedout" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`checkedout`"/> - </property> - <property name="userid" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`userid`"/> - </property> - </joined-subclass> - <class name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ResourceLinkImpl" entity-name="ResourceLink" abstract="true" lazy="false" table="`resourcelink`"> - <meta attribute="eclassName" inherit="false">ResourceLink</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</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> - </class> - <joined-subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionResourceLinkImpl" entity-name="BookDefinitionResourceLink" abstract="false" lazy="false" extends="ResourceLink" table="`bookdefinitionresourcelink`"> - <meta attribute="eclassName" inherit="false">BookDefinitionResourceLink</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <key> - <column name="`resourcelink_e_id`"/> - </key> - <property name="bookSubject" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`booksubject`"/> - </property> - </joined-subclass> - <class name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BooksInLibImpl" entity-name="BooksInLib" abstract="false" lazy="false" table="`booksinlib`"> - <meta attribute="eclassName" inherit="false">BooksInLib</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</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> - <list name="library" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="booksinlib_library"> - <column name="`booksinlib_library_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`booksinlib_library_idx`"/> - <one-to-many entity-name="Library"/> - </list> - </class> - <joined-subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl" entity-name="ChildrenBooks" abstract="false" lazy="false" extends="BookDefinition" table="`childrenbooks`"> - <meta attribute="eclassName" inherit="false">ChildrenBooks</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <key> - <column name="`bookdefinition_uniquename`"/> - </key> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="cartoon" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`cartoon`"/> - </property> - <property name="popup" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`popup`"/> - </property> - <many-to-one name="publisherDefinitionRef" entity-name="PublisherDefinition" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="childrenbooks_publisherdefinitionref" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`publisherdefinition_publisherdefinitionref_uniquename`"/> - </many-to-one> - </joined-subclass> - <class name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <id name="uniqueName" type="java.lang.String"> - <column not-null="true" unique="false" name="`uniquename`"/> - </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> - <list name="library" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_library"> - <column name="`library_library_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_library_idx`"/> - <one-to-many entity-name="Library"/> - </list> - <list name="abstractBookDefinitionGroup" table="`library_abstractbookdefinitiongroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_abstractbookdefinitiongroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_abstractbookdefinitiongroup_idx`"/> - <one-to-many entity-name="Library_abstractBookDefinitionGroup"/> - </list> - </class> - <class entity-name="Library_abstractBookDefinitionGroup" lazy="false" table="`library_abstractbookdefinitiongroup`"> - <meta attribute="featureMap" inherit="false">Library</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="abstractBookDefinition" entity-name="BookDefinition" lazy="false" cascade="all" foreign-key="library_abstractbookdefinition" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`abstractbookdefinitiongroup_bookdefinition_abstractbookdefinition_uniquename`"/> - </many-to-one> - </class> - <joined-subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.PublisherDefinitionImpl" entity-name="PublisherDefinition" abstract="false" lazy="false" extends="BookDefinition" table="`publisherdefinition`"> - <meta attribute="eclassName" inherit="false">PublisherDefinition</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <key> - <column name="`bookdefinition_uniquename`"/> - </key> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <many-to-one name="resourceLink" entity-name="BookDefinitionResourceLink" lazy="false" cascade="all" foreign-key="publisherdefinition_resourcelink" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`bookdefinitionresourcelink_resourcelink_e_id`"/> - </many-to-one> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a9d8c06c8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,148 +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.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl" entity-name="BookDefinition" abstract="true" lazy="false" table="`bookdefinition`"> - <meta attribute="eclassName" inherit="false">BookDefinition</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <id name="uniqueName" type="java.lang.String"> - <column not-null="true" unique="false" name="`uniquename`"/> - </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="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="location" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`location`"/> - </property> - </class> - <joined-subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl" entity-name="AdultBooks" abstract="false" lazy="false" extends="BookDefinition" table="`adultbooks`"> - <meta attribute="eclassName" inherit="false">AdultBooks</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <key> - <column name="`bookdefinition_uniquename`"/> - </key> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="checkedout" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`checkedout`"/> - </property> - <property name="userid" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`userid`"/> - </property> - </joined-subclass> - <class name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ResourceLinkImpl" entity-name="ResourceLink" abstract="true" lazy="false" table="`resourcelink`"> - <meta attribute="eclassName" inherit="false">ResourceLink</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</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> - </class> - <joined-subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionResourceLinkImpl" entity-name="BookDefinitionResourceLink" abstract="false" lazy="false" extends="ResourceLink" table="`bookdefinitionresourcelink`"> - <meta attribute="eclassName" inherit="false">BookDefinitionResourceLink</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <key> - <column name="`resourcelink_e_id`"/> - </key> - <property name="bookSubject" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`booksubject`"/> - </property> - </joined-subclass> - <class name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BooksInLibImpl" entity-name="BooksInLib" abstract="false" lazy="false" table="`booksinlib`"> - <meta attribute="eclassName" inherit="false">BooksInLib</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</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> - <list name="library" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="booksinlib_library"> - <column name="`booksinlib_library_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`booksinlib_library_idx`"/> - <one-to-many entity-name="Library"/> - </list> - </class> - <joined-subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl" entity-name="ChildrenBooks" abstract="false" lazy="false" extends="BookDefinition" table="`childrenbooks`"> - <meta attribute="eclassName" inherit="false">ChildrenBooks</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <key> - <column name="`bookdefinition_uniquename`"/> - </key> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="cartoon" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`cartoon`"/> - </property> - <property name="popup" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`popup`"/> - </property> - <many-to-one name="publisherDefinitionRef" entity-name="PublisherDefinition" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="childrenbooks_publisherdefinitionref" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`publisherdefinition_publisherdefinitionref_uniquename`"/> - </many-to-one> - </joined-subclass> - <class name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <id name="uniqueName" type="java.lang.String"> - <column not-null="true" unique="false" name="`uniquename`"/> - </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> - <list name="library" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_library"> - <column name="`library_library_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_library_idx`"/> - <one-to-many entity-name="Library"/> - </list> - <list name="abstractBookDefinitionGroup" table="`library_abstractbookdefinitiongroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_abstractbookdefinitiongroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_abstractbookdefinitiongroup_idx`"/> - <one-to-many entity-name="Library_abstractBookDefinitionGroup"/> - </list> - </class> - <class entity-name="Library_abstractBookDefinitionGroup" lazy="false" table="`library_abstractbookdefinitiongroup`"> - <meta attribute="featureMap" inherit="false">Library</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="abstractBookDefinition" entity-name="BookDefinition" lazy="false" cascade="all" foreign-key="library_abstractbookdefinition" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`abstractbookdefinitiongroup_bookdefinition_abstractbookdefinition_uniquename`"/> - </many-to-one> - </class> - <joined-subclass name="com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.PublisherDefinitionImpl" entity-name="PublisherDefinition" abstract="false" lazy="false" extends="BookDefinition" table="`publisherdefinition`"> - <meta attribute="eclassName" inherit="false">PublisherDefinition</meta> - <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd</meta> - <key> - <column name="`bookdefinition_uniquename`"/> - </key> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <many-to-one name="resourceLink" entity-name="BookDefinitionResourceLink" lazy="false" cascade="all" foreign-key="publisherdefinition_resourcelink" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`bookdefinitionresourcelink_resourcelink_e_id`"/> - </many-to-one> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 2422801d2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="bk_athor" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`bk_thr_d`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`lb_wr_d`" not-null="false" unique="false"/> - </key> - <list-index column="`tst_indx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="lbrr_bks"> - <column name="`lb_bk_d`" not-null="false" unique="false"/> - </key> - <list-index column="`lb_bk_dx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`bk_thr_d`" not-null="false" unique="false"/> - </key> - <list-index column="`wr_bk_dx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index d80593e71..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="bk_athor" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`bk_thr_d`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lbrry_id`" not-null="true" unique="false"/> - </key> - <list-index column="`tst_indx`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writr_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="lbrr_bks"> - <column name="`lb_bk_d`" not-null="false" unique="false"/> - </key> - <list-index column="`lb_bk_dx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`bk_thr_d`" not-null="false" unique="false"/> - </key> - <list-index column="`wr_bk_dx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 68dd3d1e1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="bk_athor" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`bk_thr_d`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`lb_wr_d`" not-null="false" unique="false"/> - </key> - <list-index column="`tst_indx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="lbrr_bks"> - <column name="`lb_bk_d`" not-null="false" unique="false"/> - </key> - <list-index column="`lb_bk_dx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`bk_thr_d`" not-null="false" unique="false"/> - </key> - <list-index column="`wr_bk_dx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 8e8c2d6d7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,98 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`categ`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`bo_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`libra`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="libradtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`li_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`li_id`" not-null="false" unique="false"/> - </key> - <list-index column="`l_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`write`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> - <meta attribute="syntheticId">true</meta> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="writedtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`bo_id`" not-null="false" unique="false"/> - </key> - <list-index column="`w_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 0a6515c8e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,91 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`categ`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`bo_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`libra`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`li_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`wr_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`li_id`" not-null="false" unique="false"/> - </key> - <list-index column="`l_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`write`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`bo_id`" not-null="false" unique="false"/> - </key> - <list-index column="`w_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 68f6122ec..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,89 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`categ`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`bo_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`libra`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`li_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`li_id`" not-null="false" unique="false"/> - </key> - <list-index column="`l_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`write`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id type="long" name="myID" column="myID" 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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`bo_id`" not-null="false" unique="false"/> - </key> - <list-index column="`w_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ee32b44a2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,100 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`" length="50"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 5107ea0dc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,93 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`" length="50"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ed75fabbe..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,91 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`" length="50"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index aa01791a3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 0008a8a88..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="false" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ff9021da6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="false" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 3035e65bb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,104 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`BOOK`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`TITLE`"/> - </id> - <discriminator type="string"> - <column name="DTYPE" index="BOOKDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`PAGES`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TEST`"/> - </property> - <join table="WRITER_BOOKS" inverse="true" optional="true"> - <key update="true"> - <column name="`BOOK_TITLE`" not-null="true" unique="false"/> - </key> - <many-to-one name="author" entity-name="Writer" lazy="false" insert="true" update="true" cascade="merge,persist,save-update,lock,refresh" foreign-key="BOOK_AUTHOR"> - <column not-null="false" unique="false" name="`WRITER_E_ID`"/> - </many-to-one> - </join> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`LIBRARY`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="DTYPE" index="LIBRARYDTYPE" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`LIBRARY_WRITERS_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="LIBRARY_BOOKS"> - <column name="`LIBRARY_BOOKS_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`WRITER`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="DTYPE" index="WRITERDTYPE" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="books" table="`WRITER_BOOKS`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`WRITER_E_ID`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Book" unique="true"> - <column name="`BOOK_TITLE`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index fef9bf699..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,97 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`BOOK`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`TITLE`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`PAGES`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TEST`"/> - </property> - <join table="`WRITER_BOOKS`" inverse="true" optional="true"> - <key update="true"> - <column name="`BOOK_TITLE`" not-null="true" unique="false"/> - </key> - <many-to-one name="author" entity-name="Writer" lazy="false" insert="true" update="true" cascade="merge,persist,save-update,lock,refresh" foreign-key="BOOK_AUTHOR"> - <column not-null="false" unique="false" name="`WRITER_E_ID`"/> - </many-to-one> - </join> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`LIBRARY`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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> - <bag name="writers" fetch="subselect" table="`ABC`" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true"> - <column name="`LIBRARY_E_ID`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`WRITER_E_ID`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="LIBRARY_BOOKS"> - <column name="`LIBRARY_BOOKS_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`WRITER`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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> - <bag name="books" table="`WRITER_BOOKS`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`WRITER_E_ID`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Book" unique="true"> - <column name="`BOOK_TITLE`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 84e44d882..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,95 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`BOOK`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`TITLE`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`PAGES`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TEST`"/> - </property> - <join table="`WRITER_BOOKS`" inverse="true" optional="true"> - <key update="true"> - <column name="`BOOK_TITLE`" not-null="true" unique="false"/> - </key> - <many-to-one name="author" entity-name="Writer" lazy="false" insert="true" update="true" cascade="merge,persist,save-update,lock,refresh" foreign-key="BOOK_AUTHOR"> - <column not-null="false" unique="false" name="`WRITER_E_ID`"/> - </many-to-one> - </join> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`LIBRARY`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`LIBRARY_WRITERS_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="LIBRARY_BOOKS"> - <column name="`LIBRARY_BOOKS_E_ID`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`WRITER`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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> - <bag name="books" table="`WRITER_BOOKS`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`WRITER_E_ID`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Book" unique="true"> - <column name="`BOOK_TITLE`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryLargeAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryLargeAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index fafce0ec2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryLargeAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <bag name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryLargeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryLargeAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 29e9bdebd..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryLargeAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <idbag name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <many-to-many entity-name="Book"/> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryLargeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryLargeAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 532d39296..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryLargeAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,81 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <bag name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index af279700f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,91 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index cb322220d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <bag name="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <bag name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 76f63335f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,82 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <bag name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsIdBagAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsIdBagAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 8038a404b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsIdBagAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <idbag name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <many-to-many entity-name="Book"/> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsIdBagAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsIdBagAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 29e9bdebd..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsIdBagAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <idbag name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <many-to-many entity-name="Book"/> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsIdBagAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsIdBagAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 29e9bdebd..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsIdBagAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Writer"/> - </bag> - <bag name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Book"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <idbag name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <many-to-many entity-name="Book"/> - </idbag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 888e14745..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="library.Book" abstract="false" lazy="false" discriminator-value="library.Book" table="`library_book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="library_bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="library.Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="library_book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="library.Library" abstract="false" lazy="false" discriminator-value="library.Library" table="`library_library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="library_librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="library.Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="library.Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="library.Writer" abstract="false" lazy="false" discriminator-value="library.Writer" table="`library_writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="library_writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="library.Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index b39306408..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="library.Book" abstract="false" lazy="false" table="`library_book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="library.Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="library_book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="library.Library" abstract="false" lazy="false" table="`library_library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="library.Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="library.Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="library.Writer" abstract="false" lazy="false" table="`library_writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="library.Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 9e820c8bc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="library.Book" abstract="false" lazy="false" table="`library_book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="library.Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="library_book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="library.Library" abstract="false" lazy="false" table="`library_library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="library.Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="library.Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="library.Writer" abstract="false" lazy="false" table="`library_writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="library.Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 14f4e0c9c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index cb0da7851..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 3a77ab51f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceReferenceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceReferenceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 8ef35f329..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceReferenceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,91 +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"> - -<!-- Generated by Teneo on Wed Mar 28 18:21:01 CEST 2007 --> -<hibernate-mapping> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class entity-name="RentalUnit" abstract="true" lazy="false" discriminator-value="RentalUnit" table="`rentalunit`"> - <meta attribute="eclassName">RentalUnit</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </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> - </class> - <subclass entity-name="RentalBicycle" abstract="false" lazy="false" extends="RentalUnit" discriminator-value="RentalBicycle"> - <meta attribute="eclassName">RentalBicycle</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - </type> - </property> - </subclass> - <class entity-name="RentalBusiness" abstract="false" lazy="false" discriminator-value="RentalBusiness" table="`rentalbusiness`"> - <meta attribute="eclassName">RentalBusiness</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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> - <subclass entity-name="RentalCar" abstract="false" lazy="false" extends="RentalUnit" discriminator-value="RentalCar"> - <meta attribute="eclassName">RentalCar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - </type> - </property> - </subclass> - <class entity-name="RentalContract" abstract="false" lazy="false" discriminator-value="RentalContract" table="`rentalcontract`"> - <meta attribute="eclassName">RentalContract</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many class="RentalUnit"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceReferenceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceReferenceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e2957d606..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceReferenceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - -<!-- Generated by Teneo on Wed Mar 28 18:21:54 CEST 2007 --> -<hibernate-mapping> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class entity-name="RentalUnit" abstract="true" lazy="false" table="`rentalunit`"> - <meta attribute="eclassName">RentalUnit</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass entity-name="RentalBicycle" abstract="false" lazy="false" extends="RentalUnit" table="`rentalbicycle`"> - <meta attribute="eclassName">RentalBicycle</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - </type> - </property> - </joined-subclass> - <class entity-name="RentalBusiness" abstract="false" lazy="false" table="`rentalbusiness`"> - <meta attribute="eclassName">RentalBusiness</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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> - <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> - <joined-subclass entity-name="RentalCar" abstract="false" lazy="false" extends="RentalUnit" table="`rentalcar`"> - <meta attribute="eclassName">RentalCar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - </type> - </property> - </joined-subclass> - <class entity-name="RentalContract" abstract="false" lazy="false" table="`rentalcontract`"> - <meta attribute="eclassName">RentalContract</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many class="RentalUnit"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceReferenceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceReferenceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 1f3bd847b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceReferenceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - -<!-- Generated by Teneo on Wed Mar 28 18:19:49 CEST 2007 --> -<hibernate-mapping> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class entity-name="RentalUnit" abstract="true" lazy="false" table="`rentalunit`"> - <meta attribute="eclassName">RentalUnit</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass entity-name="RentalBicycle" abstract="false" lazy="false" extends="RentalUnit" table="`rentalbicycle`"> - <meta attribute="eclassName">RentalBicycle</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - </type> - </property> - </joined-subclass> - <class entity-name="RentalBusiness" abstract="false" lazy="false" table="`rentalbusiness`"> - <meta attribute="eclassName">RentalBusiness</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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> - <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> - <joined-subclass entity-name="RentalCar" abstract="false" lazy="false" extends="RentalUnit" table="`rentalcar`"> - <meta attribute="eclassName">RentalCar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - </type> - </property> - </joined-subclass> - <class entity-name="RentalContract" abstract="false" lazy="false" table="`rentalcontract`"> - <meta attribute="eclassName">RentalContract</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many class="RentalUnit"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUnloadAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUnloadAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ce56c8050..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUnloadAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUnloadAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUnloadAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 80858c45f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUnloadAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUnloadAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUnloadAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 80858c45f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUnloadAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int"> - <column not-null="true" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_hsqldb_e_o_hibernate.hbm.xml deleted file mode 100644 index e69de29bb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_hsqldb_e_o_hibernate.hbm.xml +++ /dev/null diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_hsqldb_h_o_hibernate.hbm.xml deleted file mode 100644 index e69de29bb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_hsqldb_h_o_hibernate.hbm.xml +++ /dev/null diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 07299f285..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,47 +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="org.eclipse.emf.teneo.samples.issues.bz237790.impl.OneImpl" entity-name="One" abstract="false" lazy="false" discriminator-value="One" table="`one`"> - <meta attribute="eclassName">One</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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 type="string"> - <column name="dtype" index="onedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <idbag name="manies" table="`one_many`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`one_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Many" unique="false" foreign-key="one_manies"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237790.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" discriminator-value="Many" table="`many`"> - <meta attribute="eclassName">Many</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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 type="string"> - <column name="dtype" index="manydtype" length="255" not-null="true"/> - </discriminator> - <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="`myname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 94dff5a47..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,41 +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="org.eclipse.emf.teneo.samples.issues.bz237790.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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> - <idbag name="manies" table="`one_many`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`one_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Many" unique="false" foreign-key="one_manies"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237790.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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="`myname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 94dff5a47..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,41 +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="org.eclipse.emf.teneo.samples.issues.bz237790.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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> - <idbag name="manies" table="`one_many`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`one_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Many" unique="false" foreign-key="one_manies"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237790.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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="`myname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index fe47c285e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,231 +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"> - <typedef name="mindmap.PriorityObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.example.org/mindmap</param> - <param name="edatatype">PriorityObject</param> - </typedef> - <typedef name="mindmap.RelationshipTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.example.org/mindmap</param> - <param name="edatatype">RelationshipTypeObject</param> - </typedef> - <class name="org.example.mindmap.impl.MapImpl" entity-name="Map" abstract="false" lazy="false" discriminator-value="Map" table="`map`"> - <meta attribute="eclassName">Map</meta> - <meta attribute="epackage">http://www.example.org/mindmap</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 type="string"> - <column name="dtype" index="mapdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="rootTopics" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="map_roottopics"> - <column name="`map_roottopics_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`map_roottopics_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - <list name="relations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="map_relations"> - <column name="`map_relations_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`map_relations_idx`"/> - <one-to-many entity-name="Relationship"/> - </list> - <list name="resources" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="map_resources"> - <column name="`map_resources_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`map_resources_idx`"/> - <one-to-many entity-name="Resource"/> - </list> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - </class> - <class name="org.example.mindmap.impl.RelationshipImpl" entity-name="Relationship" abstract="false" lazy="false" discriminator-value="Relationship" table="`relationship`"> - <meta attribute="eclassName">Relationship</meta> - <meta attribute="epackage">http://www.example.org/mindmap</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 type="string"> - <column name="dtype" index="relationshipdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="label" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`label`"/> - </property> - <many-to-one name="source" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_source" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`topic_source_e_id`"/> - </many-to-one> - <many-to-one name="target" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_target" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`topic_target_e_id`"/> - </many-to-one> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.example.mindmap.RelationshipType</param> - <param name="eclassifier">RelationshipType</param> - <param name="epackage">http://www.example.org/mindmap</param> - </type> - </property> - </class> - <class name="org.example.mindmap.impl.ResourceImpl" entity-name="Resource" abstract="false" lazy="false" discriminator-value="Resource" table="`resource`"> - <meta attribute="eclassName">Resource</meta> - <meta attribute="epackage">http://www.example.org/mindmap</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 type="string"> - <column name="dtype" index="resourcedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="comments" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`thread_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`resource_comments_idx`"/> - <one-to-many entity-name="Thread"/> - </list> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - <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="topics" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`resource_topic`"> - <key update="true"> - <column name="`resource_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`resource_topics_idx`"/> - <many-to-many entity-name="Topic" unique="false" foreign-key="resource_topics"> - <column name="`topic_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.example.mindmap.impl.ThreadImpl" entity-name="Thread" abstract="false" lazy="false" discriminator-value="Thread" table="`thread`"> - <meta attribute="eclassName">Thread</meta> - <meta attribute="epackage">http://www.example.org/mindmap</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 type="string"> - <column name="dtype" index="threaddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="items" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="thread_items"> - <column name="`thread_items_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`thread_items_idx`"/> - <one-to-many entity-name="ThreadItem"/> - </list> - <many-to-one name="author" entity-name="Resource" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="thread_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`thread_author_e_id`"/> - </many-to-one> - <property name="postDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`postdate`"/> - </property> - <property name="subject" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`subject`"/> - </property> - </class> - <class name="org.example.mindmap.impl.ThreadItemImpl" entity-name="ThreadItem" abstract="false" lazy="false" discriminator-value="ThreadItem" table="`threaditem`"> - <meta attribute="eclassName">ThreadItem</meta> - <meta attribute="epackage">http://www.example.org/mindmap</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 type="string"> - <column name="dtype" index="threaditemdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="author" entity-name="Resource" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="threaditem_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resource_author_e_id`"/> - </many-to-one> - <property name="body" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`body`"/> - </property> - <property name="itemPostDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`itempostdate`"/> - </property> - </class> - <class name="org.example.mindmap.impl.TopicImpl" entity-name="Topic" abstract="false" lazy="false" discriminator-value="Topic" table="`topic`"> - <meta attribute="eclassName">Topic</meta> - <meta attribute="epackage">http://www.example.org/mindmap</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 type="string"> - <column name="dtype" index="topicdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="comments" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="topic_comments"> - <column name="`topic_comments_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`topic_comments_idx`"/> - <one-to-many entity-name="Thread"/> - </list> - <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`duration`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <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> - <property name="percentComplete" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`percentcomplete`"/> - </property> - <property name="priority" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`priority`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.example.mindmap.Priority</param> - <param name="eclassifier">Priority</param> - <param name="epackage">http://www.example.org/mindmap</param> - </type> - </property> - <list name="resources" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`topic_resource`"> - <key update="true"> - <column name="`topic_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`topic_resources_idx`"/> - <many-to-many entity-name="Resource" unique="false" foreign-key="topic_resources"> - <column name="`resource_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <property name="startDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`startdate`"/> - </property> - <list name="subtopics" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="topic_subtopics"> - <column name="`topic_subtopics_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`topic_subtopics_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 9a0ee5c83..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,213 +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"> - <typedef name="mindmap.PriorityObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.example.org/mindmap</param> - <param name="edatatype">PriorityObject</param> - </typedef> - <typedef name="mindmap.RelationshipTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.example.org/mindmap</param> - <param name="edatatype">RelationshipTypeObject</param> - </typedef> - <class name="org.example.mindmap.impl.MapImpl" entity-name="Map" abstract="false" lazy="false" table="`map`"> - <meta attribute="eclassName" inherit="false">Map</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <list name="rootTopics" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="map_roottopics"> - <column name="`map_roottopics_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`map_roottopics_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - <list name="relations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="map_relations"> - <column name="`map_relations_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`map_relations_idx`"/> - <one-to-many entity-name="Relationship"/> - </list> - <list name="resources" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="map_resources"> - <column name="`map_resources_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`map_resources_idx`"/> - <one-to-many entity-name="Resource"/> - </list> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - </class> - <class name="org.example.mindmap.impl.RelationshipImpl" entity-name="Relationship" abstract="false" lazy="false" table="`relationship`"> - <meta attribute="eclassName" inherit="false">Relationship</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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="label" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`label`"/> - </property> - <many-to-one name="source" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_source" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`topic_source_e_id`"/> - </many-to-one> - <many-to-one name="target" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_target" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`topic_target_e_id`"/> - </many-to-one> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.example.mindmap.RelationshipType</param> - <param name="eclassifier">RelationshipType</param> - <param name="epackage">http://www.example.org/mindmap</param> - </type> - </property> - </class> - <class name="org.example.mindmap.impl.ResourceImpl" entity-name="Resource" abstract="false" lazy="false" table="`resource`"> - <meta attribute="eclassName" inherit="false">Resource</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <list name="comments" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`thread_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`resource_comments_idx`"/> - <one-to-many entity-name="Thread"/> - </list> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - <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="topics" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`resource_topic`"> - <key update="true"> - <column name="`resource_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`resource_topics_idx`"/> - <many-to-many entity-name="Topic" unique="false" foreign-key="resource_topics"> - <column name="`topic_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.example.mindmap.impl.ThreadImpl" entity-name="Thread" abstract="false" lazy="false" table="`thread`"> - <meta attribute="eclassName" inherit="false">Thread</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <list name="items" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="thread_items"> - <column name="`thread_items_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`thread_items_idx`"/> - <one-to-many entity-name="ThreadItem"/> - </list> - <many-to-one name="author" entity-name="Resource" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="thread_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`thread_author_e_id`"/> - </many-to-one> - <property name="postDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`postdate`"/> - </property> - <property name="subject" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`subject`"/> - </property> - </class> - <class name="org.example.mindmap.impl.ThreadItemImpl" entity-name="ThreadItem" abstract="false" lazy="false" table="`threaditem`"> - <meta attribute="eclassName" inherit="false">ThreadItem</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <many-to-one name="author" entity-name="Resource" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="threaditem_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resource_author_e_id`"/> - </many-to-one> - <property name="body" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`body`"/> - </property> - <property name="itemPostDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`itempostdate`"/> - </property> - </class> - <class name="org.example.mindmap.impl.TopicImpl" entity-name="Topic" abstract="false" lazy="false" table="`topic`"> - <meta attribute="eclassName" inherit="false">Topic</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <list name="comments" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="topic_comments"> - <column name="`topic_comments_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`topic_comments_idx`"/> - <one-to-many entity-name="Thread"/> - </list> - <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`duration`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <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> - <property name="percentComplete" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`percentcomplete`"/> - </property> - <property name="priority" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`priority`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.example.mindmap.Priority</param> - <param name="eclassifier">Priority</param> - <param name="epackage">http://www.example.org/mindmap</param> - </type> - </property> - <list name="resources" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`topic_resource`"> - <key update="true"> - <column name="`topic_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`topic_resources_idx`"/> - <many-to-many entity-name="Resource" unique="false" foreign-key="topic_resources"> - <column name="`resource_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <property name="startDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`startdate`"/> - </property> - <list name="subtopics" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="topic_subtopics"> - <column name="`topic_subtopics_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`topic_subtopics_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 9a0ee5c83..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,213 +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"> - <typedef name="mindmap.PriorityObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.example.org/mindmap</param> - <param name="edatatype">PriorityObject</param> - </typedef> - <typedef name="mindmap.RelationshipTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.example.org/mindmap</param> - <param name="edatatype">RelationshipTypeObject</param> - </typedef> - <class name="org.example.mindmap.impl.MapImpl" entity-name="Map" abstract="false" lazy="false" table="`map`"> - <meta attribute="eclassName" inherit="false">Map</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <list name="rootTopics" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="map_roottopics"> - <column name="`map_roottopics_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`map_roottopics_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - <list name="relations" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="map_relations"> - <column name="`map_relations_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`map_relations_idx`"/> - <one-to-many entity-name="Relationship"/> - </list> - <list name="resources" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="map_resources"> - <column name="`map_resources_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`map_resources_idx`"/> - <one-to-many entity-name="Resource"/> - </list> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - </class> - <class name="org.example.mindmap.impl.RelationshipImpl" entity-name="Relationship" abstract="false" lazy="false" table="`relationship`"> - <meta attribute="eclassName" inherit="false">Relationship</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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="label" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`label`"/> - </property> - <many-to-one name="source" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_source" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`topic_source_e_id`"/> - </many-to-one> - <many-to-one name="target" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_target" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`topic_target_e_id`"/> - </many-to-one> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.example.mindmap.RelationshipType</param> - <param name="eclassifier">RelationshipType</param> - <param name="epackage">http://www.example.org/mindmap</param> - </type> - </property> - </class> - <class name="org.example.mindmap.impl.ResourceImpl" entity-name="Resource" abstract="false" lazy="false" table="`resource`"> - <meta attribute="eclassName" inherit="false">Resource</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <list name="comments" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`thread_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`resource_comments_idx`"/> - <one-to-many entity-name="Thread"/> - </list> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - <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="topics" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`resource_topic`"> - <key update="true"> - <column name="`resource_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`resource_topics_idx`"/> - <many-to-many entity-name="Topic" unique="false" foreign-key="resource_topics"> - <column name="`topic_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.example.mindmap.impl.ThreadImpl" entity-name="Thread" abstract="false" lazy="false" table="`thread`"> - <meta attribute="eclassName" inherit="false">Thread</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <list name="items" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="thread_items"> - <column name="`thread_items_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`thread_items_idx`"/> - <one-to-many entity-name="ThreadItem"/> - </list> - <many-to-one name="author" entity-name="Resource" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="thread_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`thread_author_e_id`"/> - </many-to-one> - <property name="postDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`postdate`"/> - </property> - <property name="subject" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`subject`"/> - </property> - </class> - <class name="org.example.mindmap.impl.ThreadItemImpl" entity-name="ThreadItem" abstract="false" lazy="false" table="`threaditem`"> - <meta attribute="eclassName" inherit="false">ThreadItem</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <many-to-one name="author" entity-name="Resource" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="threaditem_author" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resource_author_e_id`"/> - </many-to-one> - <property name="body" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`body`"/> - </property> - <property name="itemPostDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`itempostdate`"/> - </property> - </class> - <class name="org.example.mindmap.impl.TopicImpl" entity-name="Topic" abstract="false" lazy="false" table="`topic`"> - <meta attribute="eclassName" inherit="false">Topic</meta> - <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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> - <list name="comments" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="topic_comments"> - <column name="`topic_comments_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`topic_comments_idx`"/> - <one-to-many entity-name="Thread"/> - </list> - <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`duration`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <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> - <property name="percentComplete" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`percentcomplete`"/> - </property> - <property name="priority" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`priority`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.example.mindmap.Priority</param> - <param name="eclassifier">Priority</param> - <param name="epackage">http://www.example.org/mindmap</param> - </type> - </property> - <list name="resources" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`topic_resource`"> - <key update="true"> - <column name="`topic_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`topic_resources_idx`"/> - <many-to-many entity-name="Resource" unique="false" foreign-key="topic_resources"> - <column name="`resource_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <property name="startDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`startdate`"/> - </property> - <list name="subtopics" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="topic_subtopics"> - <column name="`topic_subtopics_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`topic_subtopics_idx`"/> - <one-to-many entity-name="Topic"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index df2b50638..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,100 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="book"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="title" length="50"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="pages"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="category"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="book_author_e_id"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="test"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="library"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="library_writers_e_id" not-null="false" unique="false"/> - </key> - <list-index column="test_index"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="library_books_e_id" not-null="false" unique="false"/> - </key> - <list-index column="library_books_idx"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="writer"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="book_author_e_id" not-null="false" unique="false"/> - </key> - <list-index column="writer_books_idx"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index dc6f36230..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,93 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" table="book"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="title" length="50"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="pages"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="category"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="book_author_e_id"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="test"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" table="library"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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" length="50"/> - </property> - <list name="writers" fetch="subselect" table="abc" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true"> - <column name="library_e_id" not-null="true" unique="false"/> - </key> - <list-index column="test_index"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="writer_e_id" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="library_books_e_id" not-null="false" unique="false"/> - </key> - <list-index column="library_books_idx"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" table="writer"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="book_author_e_id" not-null="false" unique="false"/> - </key> - <list-index column="writer_books_idx"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 9f30cbd9b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,91 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" table="book"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="title" length="50"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="pages"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="category"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="book_author_e_id"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="test"/> - </property> - </class> - <class entity-name="Library" abstract="false" lazy="false" table="library"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="library_writers_e_id" not-null="false" unique="false"/> - </key> - <list-index column="test_index"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="library_books_e_id" not-null="false" unique="false"/> - </key> - <list-index column="library_books_idx"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" table="writer"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <cache usage="read-write"/> - <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" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="book_author_e_id" not-null="false" unique="false"/> - </key> - <list-index column="writer_books_idx"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 84a5ba760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,236 +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="org.eclipse.emf.teneo.samples.emf.sample.play.impl.ActTypeImpl" entity-name="ActType" abstract="false" lazy="false" discriminator-value="ActType" table="`acttype`"> - <meta attribute="eclassName">ActType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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 type="string"> - <column name="dtype" index="acttypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="scene" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="acttype_scene"> - <column name="`acttype_scene_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`acttype_scene_idx`"/> - <one-to-many entity-name="SceneType"/> - </list> - <property name="pindex" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`pindex`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.FmTypeImpl" entity-name="FmType" abstract="false" lazy="false" discriminator-value="FmType" table="`fmtype`"> - <meta attribute="eclassName">FmType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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 type="string"> - <column name="dtype" index="fmtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="p" table="`fmtype_p`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`fmtype_p_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`fmtype_p_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PersonaeTypeImpl" entity-name="PersonaeType" abstract="false" lazy="false" discriminator-value="PersonaeType" table="`personaetype`"> - <meta attribute="eclassName">PersonaeType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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 type="string"> - <column name="dtype" index="personaetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`personaetype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`personaetype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`personaetype_group_idx`"/> - <one-to-many entity-name="PersonaeType_group"/> - </list> - </class> - <class entity-name="PersonaeType_group" lazy="false" table="`personaetype_group`"> - <meta attribute="featureMap">PersonaeType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_title`"/> - </property> - <property name="persona" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_persona`"/> - </property> - <many-to-one name="personaGroup" entity-name="PersonaGroupType" lazy="false" cascade="all" foreign-key="personaetype_personagroup" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_personagrouptype_personagroup_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PersonaGroupTypeImpl" entity-name="PersonaGroupType" abstract="false" lazy="false" discriminator-value="PersonaGroupType" table="`personagrouptype`"> - <meta attribute="eclassName">PersonaGroupType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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 type="string"> - <column name="dtype" index="personagrouptypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="persona" table="`personagrouptype_persona`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`personagrouptype_persona_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`personagrouptype_persona_idx`"/> - <element type="java.lang.String"/> - </list> - <property name="groupDescription" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`groupdescription`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PlayTypeImpl" entity-name="PlayType" abstract="false" lazy="false" discriminator-value="PlayType" table="`playtype`"> - <meta attribute="eclassName">PlayType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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 type="string"> - <column name="dtype" index="playtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <many-to-one name="fm" entity-name="FmType" lazy="false" cascade="all" foreign-key="playtype_fm" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`fmtype_fm_e_id`"/> - </many-to-one> - <many-to-one name="personae" entity-name="PersonaeType" lazy="false" cascade="all" foreign-key="playtype_personae" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`personaetype_personae_e_id`"/> - </many-to-one> - <property name="sceneDescription" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`scenedescription`"/> - </property> - <property name="playSubTitle" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`playsubtitle`"/> - </property> - <list name="act" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="playtype_act"> - <column name="`playtype_act_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`playtype_act_idx`"/> - <one-to-many entity-name="ActType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.SceneTypeImpl" entity-name="SceneType" abstract="false" lazy="false" discriminator-value="SceneType" table="`scenetype`"> - <meta attribute="eclassName">SceneType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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 type="string"> - <column name="dtype" index="scenetypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`scenetype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`scenetype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`scenetype_group_idx`"/> - <one-to-many entity-name="SceneType_group"/> - </list> - <property name="pindex" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`pindex`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class entity-name="SceneType_group" lazy="false" table="`scenetype_group`"> - <meta attribute="featureMap">SceneType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="stageDirections" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_stagedirections`"/> - </property> - <many-to-one name="speech" entity-name="SpeechType" lazy="false" cascade="all" foreign-key="scenetype_speech" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_speechtype_speech_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.SpeechTypeImpl" entity-name="SpeechType" abstract="false" lazy="false" discriminator-value="SpeechType" table="`speechtype`"> - <meta attribute="eclassName">SpeechType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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 type="string"> - <column name="dtype" index="speechtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`speechtype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`speechtype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`speechtype_group_idx`"/> - <one-to-many entity-name="SpeechType_group"/> - </list> - </class> - <class entity-name="SpeechType_group" lazy="false" table="`speechtype_group`"> - <meta attribute="featureMap">SpeechType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="speaker" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_speaker`"/> - </property> - <property name="line" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_line`"/> - </property> - <property name="stageDirections" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_stagedirections`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index c43020897..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,215 +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="org.eclipse.emf.teneo.samples.emf.sample.play.impl.ActTypeImpl" entity-name="ActType" abstract="false" lazy="false" table="`acttype`"> - <meta attribute="eclassName" inherit="false">ActType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="scene" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="acttype_scene"> - <column name="`acttype_scene_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`acttype_scene_idx`"/> - <one-to-many entity-name="SceneType"/> - </list> - <property name="pindex" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`pindex`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.FmTypeImpl" entity-name="FmType" abstract="false" lazy="false" table="`fmtype`"> - <meta attribute="eclassName" inherit="false">FmType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="p" table="`fmtype_p`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`fmtype_p_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`fmtype_p_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PersonaeTypeImpl" entity-name="PersonaeType" abstract="false" lazy="false" table="`personaetype`"> - <meta attribute="eclassName" inherit="false">PersonaeType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="group" table="`personaetype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`personaetype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`personaetype_group_idx`"/> - <one-to-many entity-name="PersonaeType_group"/> - </list> - </class> - <class entity-name="PersonaeType_group" lazy="false" table="`personaetype_group`"> - <meta attribute="featureMap" inherit="false">PersonaeType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_title`"/> - </property> - <property name="persona" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_persona`"/> - </property> - <many-to-one name="personaGroup" entity-name="PersonaGroupType" lazy="false" cascade="all" foreign-key="personaetype_personagroup" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_personagrouptype_personagroup_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PersonaGroupTypeImpl" entity-name="PersonaGroupType" abstract="false" lazy="false" table="`personagrouptype`"> - <meta attribute="eclassName" inherit="false">PersonaGroupType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="persona" table="`personagrouptype_persona`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`personagrouptype_persona_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`personagrouptype_persona_idx`"/> - <element type="java.lang.String"/> - </list> - <property name="groupDescription" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`groupdescription`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PlayTypeImpl" entity-name="PlayType" abstract="false" lazy="false" table="`playtype`"> - <meta attribute="eclassName" inherit="false">PlayType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <many-to-one name="fm" entity-name="FmType" lazy="false" cascade="all" foreign-key="playtype_fm" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`fmtype_fm_e_id`"/> - </many-to-one> - <many-to-one name="personae" entity-name="PersonaeType" lazy="false" cascade="all" foreign-key="playtype_personae" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`personaetype_personae_e_id`"/> - </many-to-one> - <property name="sceneDescription" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`scenedescription`"/> - </property> - <property name="playSubTitle" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`playsubtitle`"/> - </property> - <list name="act" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="playtype_act"> - <column name="`playtype_act_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`playtype_act_idx`"/> - <one-to-many entity-name="ActType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.SceneTypeImpl" entity-name="SceneType" abstract="false" lazy="false" table="`scenetype`"> - <meta attribute="eclassName" inherit="false">SceneType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="group" table="`scenetype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`scenetype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`scenetype_group_idx`"/> - <one-to-many entity-name="SceneType_group"/> - </list> - <property name="pindex" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`pindex`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class entity-name="SceneType_group" lazy="false" table="`scenetype_group`"> - <meta attribute="featureMap" inherit="false">SceneType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="stageDirections" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_stagedirections`"/> - </property> - <many-to-one name="speech" entity-name="SpeechType" lazy="false" cascade="all" foreign-key="scenetype_speech" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_speechtype_speech_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.SpeechTypeImpl" entity-name="SpeechType" abstract="false" lazy="false" table="`speechtype`"> - <meta attribute="eclassName" inherit="false">SpeechType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="group" table="`speechtype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`speechtype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`speechtype_group_idx`"/> - <one-to-many entity-name="SpeechType_group"/> - </list> - </class> - <class entity-name="SpeechType_group" lazy="false" table="`speechtype_group`"> - <meta attribute="featureMap" inherit="false">SpeechType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="speaker" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_speaker`"/> - </property> - <property name="line" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_line`"/> - </property> - <property name="stageDirections" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_stagedirections`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c43020897..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,215 +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="org.eclipse.emf.teneo.samples.emf.sample.play.impl.ActTypeImpl" entity-name="ActType" abstract="false" lazy="false" table="`acttype`"> - <meta attribute="eclassName" inherit="false">ActType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="scene" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="acttype_scene"> - <column name="`acttype_scene_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`acttype_scene_idx`"/> - <one-to-many entity-name="SceneType"/> - </list> - <property name="pindex" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`pindex`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.FmTypeImpl" entity-name="FmType" abstract="false" lazy="false" table="`fmtype`"> - <meta attribute="eclassName" inherit="false">FmType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="p" table="`fmtype_p`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`fmtype_p_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`fmtype_p_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PersonaeTypeImpl" entity-name="PersonaeType" abstract="false" lazy="false" table="`personaetype`"> - <meta attribute="eclassName" inherit="false">PersonaeType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="group" table="`personaetype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`personaetype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`personaetype_group_idx`"/> - <one-to-many entity-name="PersonaeType_group"/> - </list> - </class> - <class entity-name="PersonaeType_group" lazy="false" table="`personaetype_group`"> - <meta attribute="featureMap" inherit="false">PersonaeType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_title`"/> - </property> - <property name="persona" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_persona`"/> - </property> - <many-to-one name="personaGroup" entity-name="PersonaGroupType" lazy="false" cascade="all" foreign-key="personaetype_personagroup" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_personagrouptype_personagroup_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PersonaGroupTypeImpl" entity-name="PersonaGroupType" abstract="false" lazy="false" table="`personagrouptype`"> - <meta attribute="eclassName" inherit="false">PersonaGroupType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="persona" table="`personagrouptype_persona`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`personagrouptype_persona_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`personagrouptype_persona_idx`"/> - <element type="java.lang.String"/> - </list> - <property name="groupDescription" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`groupdescription`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PlayTypeImpl" entity-name="PlayType" abstract="false" lazy="false" table="`playtype`"> - <meta attribute="eclassName" inherit="false">PlayType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <many-to-one name="fm" entity-name="FmType" lazy="false" cascade="all" foreign-key="playtype_fm" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`fmtype_fm_e_id`"/> - </many-to-one> - <many-to-one name="personae" entity-name="PersonaeType" lazy="false" cascade="all" foreign-key="playtype_personae" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`personaetype_personae_e_id`"/> - </many-to-one> - <property name="sceneDescription" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`scenedescription`"/> - </property> - <property name="playSubTitle" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`playsubtitle`"/> - </property> - <list name="act" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="playtype_act"> - <column name="`playtype_act_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`playtype_act_idx`"/> - <one-to-many entity-name="ActType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.SceneTypeImpl" entity-name="SceneType" abstract="false" lazy="false" table="`scenetype`"> - <meta attribute="eclassName" inherit="false">SceneType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="group" table="`scenetype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`scenetype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`scenetype_group_idx`"/> - <one-to-many entity-name="SceneType_group"/> - </list> - <property name="pindex" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`pindex`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class entity-name="SceneType_group" lazy="false" table="`scenetype_group`"> - <meta attribute="featureMap" inherit="false">SceneType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="stageDirections" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_stagedirections`"/> - </property> - <many-to-one name="speech" entity-name="SpeechType" lazy="false" cascade="all" foreign-key="scenetype_speech" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_speechtype_speech_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.SpeechTypeImpl" entity-name="SpeechType" abstract="false" lazy="false" table="`speechtype`"> - <meta attribute="eclassName" inherit="false">SpeechType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</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> - <list name="group" table="`speechtype_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`speechtype_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`speechtype_group_idx`"/> - <one-to-many entity-name="SpeechType_group"/> - </list> - </class> - <class entity-name="SpeechType_group" lazy="false" table="`speechtype_group`"> - <meta attribute="featureMap" inherit="false">SpeechType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="speaker" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_speaker`"/> - </property> - <property name="line" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_line`"/> - </property> - <property name="stageDirections" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_stagedirections`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 91a8ec34e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,102 +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="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</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 type="string"> - <column name="dtype" index="itemdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="productName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`productname`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger"> - <column not-null="true" unique="false" name="`quantity`"/> - </property> - <property name="uSPrice" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`usprice`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`shipdate`"/> - </property> - <property name="partNum" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`partnum`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`"> - <meta attribute="eclassName">PurchaseOrder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</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 type="string"> - <column name="dtype" index="purchaseorderdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="shipTo" entity-name="USAddress" lazy="false" cascade="all" foreign-key="purchaseorder_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`usaddress_shipto_e_id`"/> - </many-to-one> - <many-to-one name="billTo" entity-name="USAddress" lazy="false" cascade="all" foreign-key="purchaseorder_billto" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`usaddress_billto_e_id`"/> - </many-to-one> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <list name="items" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="purchaseorder_items"> - <column name="`purchaseorder_items_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`purchaseorder_items_idx`"/> - <one-to-many entity-name="Item"/> - </list> - <property name="orderDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`orderdate`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" discriminator-value="USAddress" table="`usaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</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 type="string"> - <column name="dtype" index="usaddressdtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`state`"/> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`zip`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 962b2fb32..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,93 +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="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName" inherit="false">Item</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</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="productName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`productname`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger"> - <column not-null="true" unique="false" name="`quantity`"/> - </property> - <property name="uSPrice" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`usprice`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`shipdate`"/> - </property> - <property name="partNum" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`partnum`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`"> - <meta attribute="eclassName" inherit="false">PurchaseOrder</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</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> - <many-to-one name="shipTo" entity-name="USAddress" lazy="false" cascade="all" foreign-key="purchaseorder_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`usaddress_shipto_e_id`"/> - </many-to-one> - <many-to-one name="billTo" entity-name="USAddress" lazy="false" cascade="all" foreign-key="purchaseorder_billto" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`usaddress_billto_e_id`"/> - </many-to-one> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <list name="items" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="purchaseorder_items"> - <column name="`purchaseorder_items_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`purchaseorder_items_idx`"/> - <one-to-many entity-name="Item"/> - </list> - <property name="orderDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`orderdate`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</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> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`state`"/> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`zip`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 962b2fb32..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,93 +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="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName" inherit="false">Item</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</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="productName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`productname`"/> - </property> - <property name="quantity" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger"> - <column not-null="true" unique="false" name="`quantity`"/> - </property> - <property name="uSPrice" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`usprice`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`shipdate`"/> - </property> - <property name="partNum" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`partnum`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`"> - <meta attribute="eclassName" inherit="false">PurchaseOrder</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</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> - <many-to-one name="shipTo" entity-name="USAddress" lazy="false" cascade="all" foreign-key="purchaseorder_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`usaddress_shipto_e_id`"/> - </many-to-one> - <many-to-one name="billTo" entity-name="USAddress" lazy="false" cascade="all" foreign-key="purchaseorder_billto" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`usaddress_billto_e_id`"/> - </many-to-one> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <list name="items" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="purchaseorder_items"> - <column name="`purchaseorder_items_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`purchaseorder_items_idx`"/> - <one-to-many entity-name="Item"/> - </list> - <property name="orderDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`orderdate`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</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> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`state`"/> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`zip`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 758c08539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,81 +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="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`"> - <meta attribute="eclassName">ProductType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="producttypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_supplier" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/> - </many-to-one> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="createdOn" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`createdon`"/> - </property> - <any id-type="long" meta-type="string" name="AnyOne" cascade="all"> - <column not-null="false" unique="false" name="`anyone_type`"/> - <column not-null="false" unique="false" name="`anyone_id`"/> - </any> - <list name="AnyList" table="`producttype_anylist`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="producttype_anylist"> - <column name="`producttype_id`" not-null="true" unique="false"/> - </key> - <list-index column="`producttype_anylist_idx`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`anylist_type`"/> - <column not-null="false" unique="false" name="`anylist_id`"/> - </many-to-any> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" discriminator-value="SupplierType" table="`suppliertype`"> - <meta attribute="eclassName">SupplierType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</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 type="string"> - <column name="dtype" index="suppliertypedtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`noofemployees`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ClassificationTypeImpl" entity-name="ClassificationType" abstract="false" lazy="false" discriminator-value="ClassificationType" table="`classificationtype`"> - <meta attribute="eclassName">ClassificationType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</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 type="string"> - <column name="dtype" index="classificationtypedtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e30ed7e1e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,72 +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="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName" inherit="false">ProductType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_supplier" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/> - </many-to-one> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="createdOn" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`createdon`"/> - </property> - <any id-type="long" meta-type="string" name="AnyOne" cascade="all"> - <column not-null="false" unique="false" name="`anyone_type`"/> - <column not-null="false" unique="false" name="`anyone_id`"/> - </any> - <list name="AnyList" table="`producttype_anylist`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="producttype_anylist"> - <column name="`producttype_id`" not-null="true" unique="false"/> - </key> - <list-index column="`producttype_anylist_idx`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`anylist_type`"/> - <column not-null="false" unique="false" name="`anylist_id`"/> - </many-to-any> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`"> - <meta attribute="eclassName" inherit="false">SupplierType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</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> - <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`noofemployees`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ClassificationTypeImpl" entity-name="ClassificationType" abstract="false" lazy="false" table="`classificationtype`"> - <meta attribute="eclassName" inherit="false">ClassificationType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index e30ed7e1e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,72 +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="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ProductTypeImpl" entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> - <meta attribute="eclassName" inherit="false">ProductType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_supplier" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/> - </many-to-one> - <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`price`"/> - </property> - <property name="createdOn" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`createdon`"/> - </property> - <any id-type="long" meta-type="string" name="AnyOne" cascade="all"> - <column not-null="false" unique="false" name="`anyone_type`"/> - <column not-null="false" unique="false" name="`anyone_id`"/> - </any> - <list name="AnyList" table="`producttype_anylist`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="producttype_anylist"> - <column name="`producttype_id`" not-null="true" unique="false"/> - </key> - <list-index column="`producttype_anylist_idx`"/> - <many-to-any id-type="long" meta-type="string"> - <column not-null="false" unique="false" name="`anylist_type`"/> - <column not-null="false" unique="false" name="`anylist_id`"/> - </many-to-any> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.SupplierTypeImpl" entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`"> - <meta attribute="eclassName" inherit="false">SupplierType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</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> - <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`noofemployees`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ClassificationTypeImpl" entity-name="ClassificationType" abstract="false" lazy="false" table="`classificationtype`"> - <meta attribute="eclassName" inherit="false">ClassificationType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalClassifyNamesAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalClassifyNamesAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 4db3da3d1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalClassifyNamesAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - -<!-- Generated by Teneo on Thu Mar 29 12:19:29 CEST 2007 --> -<hibernate-mapping> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="true" discriminator-value="RentalUnit" table="`rentalunit`" proxy="org.eclipse.emf.teneo.rental.RentalUnit"> - <meta attribute="eclassName">RentalUnit</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </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> - </class> - <subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="true" extends="RentalUnit" discriminator-value="RentalBicycle" proxy="org.eclipse.emf.teneo.rental.RentalBicycle"> - <meta attribute="eclassName">RentalBicycle</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - </type> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="true" discriminator-value="Currency" table="`currency`" proxy="org.eclipse.emf.teneo.rental.Currency"> - <meta attribute="eclassName">Currency</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="true" extends="RentalUnit" discriminator-value="RentalCar" proxy="org.eclipse.emf.teneo.rental.RentalCar"> - <meta attribute="eclassName">RentalCar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - </type> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="true" discriminator-value="RentalContract" table="`rentalcontract`" proxy="org.eclipse.emf.teneo.rental.RentalContract"> - <meta attribute="eclassName">RentalContract</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalClassifyNamesAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalClassifyNamesAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 3d045ca68..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalClassifyNamesAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,97 +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"> - -<!-- Generated by Teneo on Thu Mar 29 12:20:06 CEST 2007 --> -<hibernate-mapping> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="true" table="`rentalunit`" proxy="org.eclipse.emf.teneo.rental.RentalUnit"> - <meta attribute="eclassName">RentalUnit</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="true" extends="RentalUnit" table="`rentalbicycle`" proxy="org.eclipse.emf.teneo.rental.RentalBicycle"> - <meta attribute="eclassName">RentalBicycle</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="true" table="`currency`" proxy="org.eclipse.emf.teneo.rental.Currency"> - <meta attribute="eclassName">Currency</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="true" extends="RentalUnit" table="`rentalcar`" proxy="org.eclipse.emf.teneo.rental.RentalCar"> - <meta attribute="eclassName">RentalCar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="true" table="`rentalcontract`" proxy="org.eclipse.emf.teneo.rental.RentalContract"> - <meta attribute="eclassName">RentalContract</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalClassifyNamesAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalClassifyNamesAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 2f5db848d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalClassifyNamesAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,97 +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"> - -<!-- Generated by Teneo on Thu Mar 29 12:18:31 CEST 2007 --> -<hibernate-mapping> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="true" table="`rentalunit`" proxy="org.eclipse.emf.teneo.rental.RentalUnit"> - <meta attribute="eclassName">RentalUnit</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="true" extends="RentalUnit" table="`rentalbicycle`" proxy="org.eclipse.emf.teneo.rental.RentalBicycle"> - <meta attribute="eclassName">RentalBicycle</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="true" table="`currency`" proxy="org.eclipse.emf.teneo.rental.Currency"> - <meta attribute="eclassName">Currency</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="true" extends="RentalUnit" table="`rentalcar`" proxy="org.eclipse.emf.teneo.rental.RentalCar"> - <meta attribute="eclassName">RentalCar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="true" table="`rentalcontract`" proxy="org.eclipse.emf.teneo.rental.RentalContract"> - <meta attribute="eclassName">RentalContract</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" cascade="merge,persist,save-update,lock,refresh" lazy="proxy" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 99a02172c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,123 +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"> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="true" discriminator-value="RentalUnit" table="`rentalunit`" proxy="org.eclipse.emf.teneo.rental.RentalUnit"> - <meta attribute="eclassName">RentalUnit</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="rentalunitdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="true" extends="RentalUnit" discriminator-value="RentalBicycle" proxy="org.eclipse.emf.teneo.rental.RentalBicycle"> - <meta attribute="eclassName">RentalBicycle</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - <param name="eclassifier">RentalBicycleType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`manufacturer_manufacturer_e_id`"/> - </many-to-one> - </subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="true" discriminator-value="Currency" table="`currency`" proxy="org.eclipse.emf.teneo.rental.Currency"> - <meta attribute="eclassName">Currency</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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 type="string"> - <column name="dtype" index="currencydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="true" extends="RentalUnit" discriminator-value="RentalCar" proxy="org.eclipse.emf.teneo.rental.RentalCar"> - <meta attribute="eclassName">RentalCar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - <param name="eclassifier">RentalCarSize</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="true" discriminator-value="RentalContract" table="`rentalcontract`" proxy="org.eclipse.emf.teneo.rental.RentalContract"> - <meta attribute="eclassName">RentalContract</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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 type="string"> - <column name="dtype" index="rentalcontractdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="rentalcontract_rentalunits"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalcontract_currency" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.rental.impl.ManufacturerImpl" entity-name="Manufacturer" abstract="false" lazy="true" discriminator-value="Manufacturer" table="`manufacturer`" proxy="org.eclipse.emf.teneo.rental.Manufacturer"> - <meta attribute="eclassName">Manufacturer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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 type="string"> - <column name="dtype" index="manufacturerdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index fa76cdd80..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,117 +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"> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="true" table="`rentalunit`" proxy="org.eclipse.emf.teneo.rental.RentalUnit"> - <meta attribute="eclassName" inherit="false">RentalUnit</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="true" extends="RentalUnit" table="`rentalbicycle`" proxy="org.eclipse.emf.teneo.rental.RentalBicycle"> - <meta attribute="eclassName" inherit="false">RentalBicycle</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - <param name="eclassifier">RentalBicycleType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`manufacturer_manufacturer_e_id`"/> - </many-to-one> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="true" table="`currency`" proxy="org.eclipse.emf.teneo.rental.Currency"> - <meta attribute="eclassName" inherit="false">Currency</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="true" extends="RentalUnit" table="`rentalcar`" proxy="org.eclipse.emf.teneo.rental.RentalCar"> - <meta attribute="eclassName" inherit="false">RentalCar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - <param name="eclassifier">RentalCarSize</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="true" table="`rentalcontract`" proxy="org.eclipse.emf.teneo.rental.RentalContract"> - <meta attribute="eclassName" inherit="false">RentalContract</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="rentalcontract_rentalunits"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalcontract_currency" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.rental.impl.ManufacturerImpl" entity-name="Manufacturer" abstract="false" lazy="true" table="`manufacturer`" proxy="org.eclipse.emf.teneo.rental.Manufacturer"> - <meta attribute="eclassName" inherit="false">Manufacturer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 76349a3d3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,120 +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"> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="true" table="`rentalunit`" proxy="org.eclipse.emf.teneo.rental.RentalUnit"> - <meta attribute="eclassName" inherit="false">RentalUnit</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="true" extends="RentalUnit" table="`rentalbicycle`" proxy="org.eclipse.emf.teneo.rental.RentalBicycle"> - <meta attribute="eclassName" inherit="false">RentalBicycle</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - <param name="eclassifier">RentalBicycleType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`manufacturer_manufacturer_e_id`"/> - </many-to-one> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="true" table="`currency`" proxy="org.eclipse.emf.teneo.rental.Currency"> - <meta attribute="eclassName" inherit="false">Currency</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="true" extends="RentalUnit" table="`rentalcar`" proxy="org.eclipse.emf.teneo.rental.RentalCar"> - <meta attribute="eclassName" inherit="false">RentalCar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - <param name="eclassifier">RentalCarSize</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="true" table="`rentalcontract`" proxy="org.eclipse.emf.teneo.rental.RentalContract"> - <meta attribute="eclassName" inherit="false">RentalContract</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="rentalcontract_rentalunits"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalcontract_currency" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.rental.impl.ManufacturerImpl" entity-name="Manufacturer" abstract="false" lazy="true" table="`manufacturer`" proxy="org.eclipse.emf.teneo.rental.Manufacturer"> - <meta attribute="eclassName" inherit="false">Manufacturer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - <property name="trusted" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Boolean"> - <column not-null="false" unique="false" name="`trusted`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a0bf05b2c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,123 +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"> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="false" discriminator-value="RentalUnit" table="`rentalunit`"> - <meta attribute="eclassName">RentalUnit</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="rentalunitdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="false" extends="RentalUnit" discriminator-value="RentalBicycle"> - <meta attribute="eclassName">RentalBicycle</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - <param name="eclassifier">RentalBicycleType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`manufacturer_manufacturer_e_id`"/> - </many-to-one> - </subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="false" discriminator-value="Currency" table="`currency`"> - <meta attribute="eclassName">Currency</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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 type="string"> - <column name="dtype" index="currencydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="false" extends="RentalUnit" discriminator-value="RentalCar"> - <meta attribute="eclassName">RentalCar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - <param name="eclassifier">RentalCarSize</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="false" discriminator-value="RentalContract" table="`rentalcontract`"> - <meta attribute="eclassName">RentalContract</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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 type="string"> - <column name="dtype" index="rentalcontractdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="rentalcontract_rentalunits"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalcontract_currency" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.rental.impl.ManufacturerImpl" entity-name="Manufacturer" abstract="false" lazy="false" discriminator-value="Manufacturer" table="`manufacturer`"> - <meta attribute="eclassName">Manufacturer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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 type="string"> - <column name="dtype" index="manufacturerdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 2d79f6607..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,117 +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"> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="false" table="`rentalunit`"> - <meta attribute="eclassName" inherit="false">RentalUnit</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="false" extends="RentalUnit" table="`rentalbicycle`"> - <meta attribute="eclassName" inherit="false">RentalBicycle</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - <param name="eclassifier">RentalBicycleType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`manufacturer_manufacturer_e_id`"/> - </many-to-one> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="false" table="`currency`"> - <meta attribute="eclassName" inherit="false">Currency</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="false" extends="RentalUnit" table="`rentalcar`"> - <meta attribute="eclassName" inherit="false">RentalCar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - <param name="eclassifier">RentalCarSize</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="false" table="`rentalcontract`"> - <meta attribute="eclassName" inherit="false">RentalContract</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="rentalcontract_rentalunits"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalcontract_currency" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.rental.impl.ManufacturerImpl" entity-name="Manufacturer" abstract="false" lazy="false" table="`manufacturer`"> - <meta attribute="eclassName" inherit="false">Manufacturer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c92641ce3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,120 +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"> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="false" table="`rentalunit`"> - <meta attribute="eclassName" inherit="false">RentalUnit</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="false" extends="RentalUnit" table="`rentalbicycle`"> - <meta attribute="eclassName" inherit="false">RentalBicycle</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - <param name="eclassifier">RentalBicycleType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`manufacturer_manufacturer_e_id`"/> - </many-to-one> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="false" table="`currency`"> - <meta attribute="eclassName" inherit="false">Currency</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="false" extends="RentalUnit" table="`rentalcar`"> - <meta attribute="eclassName" inherit="false">RentalCar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - <param name="eclassifier">RentalCarSize</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="false" table="`rentalcontract`"> - <meta attribute="eclassName" inherit="false">RentalContract</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="rentalcontract_rentalunits"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalcontract_currency" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.rental.impl.ManufacturerImpl" entity-name="Manufacturer" abstract="false" lazy="false" table="`manufacturer`"> - <meta attribute="eclassName" inherit="false">Manufacturer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - <property name="trusted" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Boolean"> - <column not-null="false" unique="false" name="`trusted`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 22e89b45b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="writer_books"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 2f9c4069f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="writer_books"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 2f9c4069f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_writers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="writer_books"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index c8ecc0539..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7aa6cdb03..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,87 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" table="`abc`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`library_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`test_index`"/> - <many-to-many entity-name="Writer" unique="true" foreign-key="schrijvers"> - <column name="`writer_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d4e470760..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a0bf05b2c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,123 +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"> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="false" discriminator-value="RentalUnit" table="`rentalunit`"> - <meta attribute="eclassName">RentalUnit</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="rentalunitdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="false" extends="RentalUnit" discriminator-value="RentalBicycle"> - <meta attribute="eclassName">RentalBicycle</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - <param name="eclassifier">RentalBicycleType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`manufacturer_manufacturer_e_id`"/> - </many-to-one> - </subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="false" discriminator-value="Currency" table="`currency`"> - <meta attribute="eclassName">Currency</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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 type="string"> - <column name="dtype" index="currencydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="false" extends="RentalUnit" discriminator-value="RentalCar"> - <meta attribute="eclassName">RentalCar</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</meta> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - <param name="eclassifier">RentalCarSize</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="false" discriminator-value="RentalContract" table="`rentalcontract`"> - <meta attribute="eclassName">RentalContract</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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 type="string"> - <column name="dtype" index="rentalcontractdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="rentalcontract_rentalunits"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalcontract_currency" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.rental.impl.ManufacturerImpl" entity-name="Manufacturer" abstract="false" lazy="false" discriminator-value="Manufacturer" table="`manufacturer`"> - <meta attribute="eclassName">Manufacturer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/rental</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 type="string"> - <column name="dtype" index="manufacturerdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 2d79f6607..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,117 +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"> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="false" table="`rentalunit`"> - <meta attribute="eclassName" inherit="false">RentalUnit</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="false" extends="RentalUnit" table="`rentalbicycle`"> - <meta attribute="eclassName" inherit="false">RentalBicycle</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - <param name="eclassifier">RentalBicycleType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`manufacturer_manufacturer_e_id`"/> - </many-to-one> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="false" table="`currency`"> - <meta attribute="eclassName" inherit="false">Currency</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="false" extends="RentalUnit" table="`rentalcar`"> - <meta attribute="eclassName" inherit="false">RentalCar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - <param name="eclassifier">RentalCarSize</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="false" table="`rentalcontract`"> - <meta attribute="eclassName" inherit="false">RentalContract</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="rentalcontract_rentalunits"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalcontract_currency" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.rental.impl.ManufacturerImpl" entity-name="Manufacturer" abstract="false" lazy="false" table="`manufacturer`"> - <meta attribute="eclassName" inherit="false">Manufacturer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c92641ce3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,120 +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"> - <typedef name="rental.RentalBicycleTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalBicycleTypeObject</param> - </typedef> - <typedef name="rental.RentalCarSizeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - <param name="edatatype">RentalCarSizeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.rental.impl.RentalUnitImpl" entity-name="RentalUnit" abstract="true" lazy="false" table="`rentalunit`"> - <meta attribute="eclassName" inherit="false">RentalUnit</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <id name="description" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalBicycleImpl" entity-name="RentalBicycle" abstract="false" lazy="false" extends="RentalUnit" table="`rentalbicycle`"> - <meta attribute="eclassName" inherit="false">RentalBicycle</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> - <param name="eclassifier">RentalBicycleType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`manufacturer_manufacturer_e_id`"/> - </many-to-one> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.CurrencyImpl" entity-name="Currency" abstract="false" lazy="false" table="`currency`"> - <meta attribute="eclassName" inherit="false">Currency</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.rental.impl.RentalCarImpl" entity-name="RentalCar" abstract="false" lazy="false" extends="RentalUnit" table="`rentalcar`"> - <meta attribute="eclassName" inherit="false">RentalCar</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</meta> - <key> - <column name="`rentalunit_description`"/> - </key> - <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`size`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param> - <param name="eclassifier">RentalCarSize</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/rental</param> - </type> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.rental.impl.RentalContractImpl" entity-name="RentalContract" abstract="false" lazy="false" table="`rentalcontract`"> - <meta attribute="eclassName" inherit="false">RentalContract</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`renttobusinesspartner`"/> - </property> - <property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`startdate`"/> - </property> - <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`enddate`"/> - </property> - <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`cost`"/> - </property> - <list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="rentalcontract_rentalunits"> - <column name="`rentalcontract_rentalunits_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`rentalcontract_rentalunits_idx`"/> - <one-to-many entity-name="RentalUnit"/> - </list> - <many-to-one name="currency" entity-name="Currency" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalcontract_currency" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`currency_currency_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.rental.impl.ManufacturerImpl" entity-name="Manufacturer" abstract="false" lazy="false" table="`manufacturer`"> - <meta attribute="eclassName" inherit="false">Manufacturer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rental</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="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </property> - <property name="trusted" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Boolean"> - <column not-null="false" unique="false" name="`trusted`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 9065f62b7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,138 +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"> - <typedef name="sunBooks.BookCategoryTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</param> - <param name="edatatype">BookCategoryTypeObject</param> - </typedef> - <typedef name="sunBooks.BookCategoryTypeObject1" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</param> - <param name="edatatype">BookCategoryTypeObject1</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.AuthorsTypeImpl" entity-name="AuthorsType" abstract="false" lazy="false" discriminator-value="AuthorsType" table="`authorstype`"> - <meta attribute="eclassName">AuthorsType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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 type="string"> - <column name="dtype" index="authorstypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="authorName" table="`authorstype_authorname`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`authorstype_authorname_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`authorstype_authorname_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BooksTypeImpl" entity-name="BooksType" abstract="false" lazy="false" discriminator-value="BooksType" table="`bookstype`"> - <meta attribute="eclassName">BooksType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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 type="string"> - <column name="dtype" index="bookstypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="book" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="bookstype_book"> - <column name="`bookstype_book_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`bookstype_book_idx`"/> - <one-to-many entity-name="BookType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BookTypeImpl" entity-name="BookType" abstract="false" lazy="false" discriminator-value="BookType" table="`booktype`"> - <meta attribute="eclassName">BookType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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 type="string"> - <column name="dtype" index="booktypedtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="iSBN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`isbn`"/> - </property> - <property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`price`"/> - </property> - <many-to-one name="authors" entity-name="AuthorsType" lazy="false" cascade="all" foreign-key="booktype_authors" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`authorstype_authors_e_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <many-to-one name="promotion" entity-name="PromotionType" lazy="false" cascade="all" foreign-key="booktype_promotion" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`promotiontype_promotion_e_id`"/> - </many-to-one> - <property name="publicationDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`publicationdate`"/> - </property> - <property name="bookCategory" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`bookcategory`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param> - <param name="eclassifier">BookCategoryType1</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</param> - </type> - </property> - <property name="itemId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`itemid`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.CollectionTypeImpl" entity-name="CollectionType" abstract="false" lazy="false" discriminator-value="CollectionType" table="`collectiontype`"> - <meta attribute="eclassName">CollectionType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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 type="string"> - <column name="dtype" index="collectiontypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="books" entity-name="BooksType" lazy="false" cascade="all" foreign-key="collectiontype_books" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`bookstype_books_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.PromotionTypeImpl" entity-name="PromotionType" abstract="false" lazy="false" discriminator-value="PromotionType" table="`promotiontype`"> - <meta attribute="eclassName">PromotionType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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 type="string"> - <column name="dtype" index="promotiontypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="discount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`discount`"/> - </property> - <property name="none" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`none`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 30fab8e09..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,123 +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"> - <typedef name="sunBooks.BookCategoryTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</param> - <param name="edatatype">BookCategoryTypeObject</param> - </typedef> - <typedef name="sunBooks.BookCategoryTypeObject1" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</param> - <param name="edatatype">BookCategoryTypeObject1</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.AuthorsTypeImpl" entity-name="AuthorsType" abstract="false" lazy="false" table="`authorstype`"> - <meta attribute="eclassName" inherit="false">AuthorsType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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> - <list name="authorName" table="`authorstype_authorname`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`authorstype_authorname_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`authorstype_authorname_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BooksTypeImpl" entity-name="BooksType" abstract="false" lazy="false" table="`bookstype`"> - <meta attribute="eclassName" inherit="false">BooksType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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> - <list name="book" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="bookstype_book"> - <column name="`bookstype_book_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`bookstype_book_idx`"/> - <one-to-many entity-name="BookType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BookTypeImpl" entity-name="BookType" abstract="false" lazy="false" table="`booktype`"> - <meta attribute="eclassName" inherit="false">BookType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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> - <property name="iSBN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`isbn`"/> - </property> - <property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`price`"/> - </property> - <many-to-one name="authors" entity-name="AuthorsType" lazy="false" cascade="all" foreign-key="booktype_authors" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`authorstype_authors_e_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <many-to-one name="promotion" entity-name="PromotionType" lazy="false" cascade="all" foreign-key="booktype_promotion" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`promotiontype_promotion_e_id`"/> - </many-to-one> - <property name="publicationDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`publicationdate`"/> - </property> - <property name="bookCategory" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`bookcategory`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param> - <param name="eclassifier">BookCategoryType1</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</param> - </type> - </property> - <property name="itemId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`itemid`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.CollectionTypeImpl" entity-name="CollectionType" abstract="false" lazy="false" table="`collectiontype`"> - <meta attribute="eclassName" inherit="false">CollectionType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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> - <many-to-one name="books" entity-name="BooksType" lazy="false" cascade="all" foreign-key="collectiontype_books" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`bookstype_books_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.PromotionTypeImpl" entity-name="PromotionType" abstract="false" lazy="false" table="`promotiontype`"> - <meta attribute="eclassName" inherit="false">PromotionType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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="discount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`discount`"/> - </property> - <property name="none" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`none`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 30fab8e09..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,123 +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"> - <typedef name="sunBooks.BookCategoryTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</param> - <param name="edatatype">BookCategoryTypeObject</param> - </typedef> - <typedef name="sunBooks.BookCategoryTypeObject1" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</param> - <param name="edatatype">BookCategoryTypeObject1</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.AuthorsTypeImpl" entity-name="AuthorsType" abstract="false" lazy="false" table="`authorstype`"> - <meta attribute="eclassName" inherit="false">AuthorsType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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> - <list name="authorName" table="`authorstype_authorname`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`authorstype_authorname_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`authorstype_authorname_idx`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BooksTypeImpl" entity-name="BooksType" abstract="false" lazy="false" table="`bookstype`"> - <meta attribute="eclassName" inherit="false">BooksType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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> - <list name="book" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="bookstype_book"> - <column name="`bookstype_book_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`bookstype_book_idx`"/> - <one-to-many entity-name="BookType"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BookTypeImpl" entity-name="BookType" abstract="false" lazy="false" table="`booktype`"> - <meta attribute="eclassName" inherit="false">BookType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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> - <property name="iSBN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`isbn`"/> - </property> - <property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`price`"/> - </property> - <many-to-one name="authors" entity-name="AuthorsType" lazy="false" cascade="all" foreign-key="booktype_authors" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`authorstype_authors_e_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <many-to-one name="promotion" entity-name="PromotionType" lazy="false" cascade="all" foreign-key="booktype_promotion" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`promotiontype_promotion_e_id`"/> - </many-to-one> - <property name="publicationDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`publicationdate`"/> - </property> - <property name="bookCategory" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`bookcategory`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param> - <param name="eclassifier">BookCategoryType1</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</param> - </type> - </property> - <property name="itemId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`itemid`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.CollectionTypeImpl" entity-name="CollectionType" abstract="false" lazy="false" table="`collectiontype`"> - <meta attribute="eclassName" inherit="false">CollectionType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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> - <many-to-one name="books" entity-name="BooksType" lazy="false" cascade="all" foreign-key="collectiontype_books" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`bookstype_books_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.PromotionTypeImpl" entity-name="PromotionType" abstract="false" lazy="false" table="`promotiontype`"> - <meta attribute="eclassName" inherit="false">PromotionType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/sun_books</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="discount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`discount`"/> - </property> - <property name="none" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`none`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 9562f4eea..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,180 +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="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowElementImpl" entity-name="WorkflowElement" abstract="true" lazy="false" discriminator-value="WorkflowElement" table="`workflowelement`"> - <meta attribute="eclassName">WorkflowElement</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="workflowelementdtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`x`"/> - </property> - <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`y`"/> - </property> - <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`width`"/> - </property> - <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`height`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowImpl" entity-name="Workflow" abstract="false" lazy="false" extends="WorkflowElement" discriminator-value="Workflow"> - <meta attribute="eclassName">Workflow</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <list name="nodes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`workflownode_workflow_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflow_nodes_idx`"/> - <one-to-many entity-name="WorkflowNode"/> - </list> - <list name="edges" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`edge_workflow_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflow_edges_idx`"/> - <one-to-many entity-name="Edge"/> - </list> - <list name="comments" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`comment_workflow_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflow_comments_idx`"/> - <one-to-many entity-name="Comment"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowNodeImpl" entity-name="WorkflowNode" abstract="true" lazy="false" extends="WorkflowElement" discriminator-value="WorkflowNode"> - <meta attribute="eclassName">WorkflowNode</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <many-to-one name="workflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="workflownode_workflow" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`workflownode_workflow_id`"/> - </many-to-one> - <list name="outputs" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`outputport_node_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflownode_outputs_idx`"/> - <one-to-many entity-name="OutputPort"/> - </list> - <list name="inputs" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`inputport_node_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflownode_inputs_idx`"/> - <one-to-many entity-name="InputPort"/> - </list> - <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`isstart`"/> - </property> - <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`isfinish`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.EdgeImpl" entity-name="Edge" abstract="false" lazy="false" extends="WorkflowElement" discriminator-value="Edge"> - <meta attribute="eclassName">Edge</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <many-to-one name="workflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="edge_workflow" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`edge_workflow_id`"/> - </many-to-one> - <many-to-one name="target" entity-name="InputPort" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="edge_target" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`edge_target_id`"/> - </many-to-one> - <many-to-one name="source" entity-name="OutputPort" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="edge_source" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`edge_source_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.PortImpl" entity-name="Port" abstract="true" lazy="false" extends="WorkflowElement" discriminator-value="Port"> - <meta attribute="eclassName">Port</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.InputPortImpl" entity-name="InputPort" abstract="false" lazy="false" extends="Port" discriminator-value="InputPort"> - <meta attribute="eclassName">InputPort</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <many-to-one name="node" entity-name="WorkflowNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="inputport_node" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`inputport_node_id`"/> - </many-to-one> - <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`edge_target_id`" not-null="false" unique="false"/> - </key> - <list-index column="`inputport_edges_idx`"/> - <one-to-many entity-name="Edge"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.OutputPortImpl" entity-name="OutputPort" abstract="false" lazy="false" extends="Port" discriminator-value="OutputPort"> - <meta attribute="eclassName">OutputPort</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <many-to-one name="node" entity-name="WorkflowNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="outputport_node" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`outputport_node_id`"/> - </many-to-one> - <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`edge_source_id`" not-null="false" unique="false"/> - </key> - <list-index column="`outputport_edges_idx`"/> - <one-to-many entity-name="Edge"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.FaultImpl" entity-name="Fault" abstract="false" lazy="false" extends="OutputPort" discriminator-value="Fault"> - <meta attribute="eclassName">Fault</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.CompoundTaskImpl" entity-name="CompoundTask" abstract="false" lazy="false" extends="WorkflowNode" discriminator-value="CompoundTask"> - <meta attribute="eclassName">CompoundTask</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <many-to-one name="subworkflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="compoundtask_subworkflow" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`workflow_subworkflow_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.TransformationTaskImpl" entity-name="TransformationTask" abstract="false" lazy="false" extends="WorkflowNode" discriminator-value="TransformationTask"> - <meta attribute="eclassName">TransformationTask</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <property name="transformExpression" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`transformexpression`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.ConditionalTaskImpl" entity-name="ConditionalTask" abstract="false" lazy="false" extends="WorkflowNode" discriminator-value="ConditionalTask"> - <meta attribute="eclassName">ConditionalTask</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.LoopTaskImpl" entity-name="LoopTask" abstract="false" lazy="false" extends="CompoundTask" discriminator-value="LoopTask"> - <meta attribute="eclassName">LoopTask</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <property name="whileCondition" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`whilecondition`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.ConditionalOutputPortImpl" entity-name="ConditionalOutputPort" abstract="false" lazy="false" extends="OutputPort" discriminator-value="ConditionalOutputPort"> - <meta attribute="eclassName">ConditionalOutputPort</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <property name="condition" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`condition`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.CommentImpl" entity-name="Comment" abstract="false" lazy="false" extends="WorkflowElement" discriminator-value="Comment"> - <meta attribute="eclassName">Comment</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <many-to-one name="workflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="comment_workflow" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`comment_workflow_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.TaskImpl" entity-name="Task" abstract="false" lazy="false" extends="WorkflowNode" discriminator-value="Task"> - <meta attribute="eclassName">Task</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 740acf1bd..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,219 +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="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowElementImpl" entity-name="WorkflowElement" abstract="true" lazy="false" table="`workflowelement`"> - <meta attribute="eclassName" inherit="false">WorkflowElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`x`"/> - </property> - <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`y`"/> - </property> - <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`width`"/> - </property> - <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`height`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowImpl" entity-name="Workflow" abstract="false" lazy="false" extends="WorkflowElement" table="`workflow`"> - <meta attribute="eclassName" inherit="false">Workflow</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - <list name="nodes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`workflownode_workflow_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflow_nodes_idx`"/> - <one-to-many entity-name="WorkflowNode"/> - </list> - <list name="edges" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`edge_workflow_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflow_edges_idx`"/> - <one-to-many entity-name="Edge"/> - </list> - <list name="comments" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`comment_workflow_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflow_comments_idx`"/> - <one-to-many entity-name="Comment"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowNodeImpl" entity-name="WorkflowNode" abstract="true" lazy="false" extends="WorkflowElement" table="`workflownode`"> - <meta attribute="eclassName" inherit="false">WorkflowNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - <many-to-one name="workflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="workflownode_workflow" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`workflownode_workflow_id`"/> - </many-to-one> - <list name="outputs" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`outputport_node_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflownode_outputs_idx`"/> - <one-to-many entity-name="OutputPort"/> - </list> - <list name="inputs" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`inputport_node_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflownode_inputs_idx`"/> - <one-to-many entity-name="InputPort"/> - </list> - <property name="isStart" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`isstart`"/> - </property> - <property name="isFinish" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`isfinish`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.EdgeImpl" entity-name="Edge" abstract="false" lazy="false" extends="WorkflowElement" table="`edge`"> - <meta attribute="eclassName" inherit="false">Edge</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - <many-to-one name="workflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="edge_workflow" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`edge_workflow_id`"/> - </many-to-one> - <many-to-one name="target" entity-name="InputPort" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="edge_target" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`edge_target_id`"/> - </many-to-one> - <many-to-one name="source" entity-name="OutputPort" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="edge_source" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`edge_source_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.PortImpl" entity-name="Port" abstract="true" lazy="false" extends="WorkflowElement" table="`port`"> - <meta attribute="eclassName" inherit="false">Port</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.InputPortImpl" entity-name="InputPort" abstract="false" lazy="false" extends="Port" table="`inputport`"> - <meta attribute="eclassName" inherit="false">InputPort</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`port_id`"/> - </key> - <many-to-one name="node" entity-name="WorkflowNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="inputport_node" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`inputport_node_id`"/> - </many-to-one> - <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`edge_target_id`" not-null="false" unique="false"/> - </key> - <list-index column="`inputport_edges_idx`"/> - <one-to-many entity-name="Edge"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.OutputPortImpl" entity-name="OutputPort" abstract="false" lazy="false" extends="Port" table="`outputport`"> - <meta attribute="eclassName" inherit="false">OutputPort</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`port_id`"/> - </key> - <many-to-one name="node" entity-name="WorkflowNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="outputport_node" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`outputport_node_id`"/> - </many-to-one> - <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`edge_source_id`" not-null="false" unique="false"/> - </key> - <list-index column="`outputport_edges_idx`"/> - <one-to-many entity-name="Edge"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.FaultImpl" entity-name="Fault" abstract="false" lazy="false" extends="OutputPort" table="`fault`"> - <meta attribute="eclassName" inherit="false">Fault</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`outputport_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.CompoundTaskImpl" entity-name="CompoundTask" abstract="false" lazy="false" extends="WorkflowNode" table="`compoundtask`"> - <meta attribute="eclassName" inherit="false">CompoundTask</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflownode_id`"/> - </key> - <many-to-one name="subworkflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="compoundtask_subworkflow" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`workflow_subworkflow_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.TransformationTaskImpl" entity-name="TransformationTask" abstract="false" lazy="false" extends="WorkflowNode" table="`transformationtask`"> - <meta attribute="eclassName" inherit="false">TransformationTask</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflownode_id`"/> - </key> - <property name="transformExpression" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`transformexpression`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.ConditionalTaskImpl" entity-name="ConditionalTask" abstract="false" lazy="false" extends="WorkflowNode" table="`conditionaltask`"> - <meta attribute="eclassName" inherit="false">ConditionalTask</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflownode_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.LoopTaskImpl" entity-name="LoopTask" abstract="false" lazy="false" extends="CompoundTask" table="`looptask`"> - <meta attribute="eclassName" inherit="false">LoopTask</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`compoundtask_id`"/> - </key> - <property name="whileCondition" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`whilecondition`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.ConditionalOutputPortImpl" entity-name="ConditionalOutputPort" abstract="false" lazy="false" extends="OutputPort" table="`conditionaloutputport`"> - <meta attribute="eclassName" inherit="false">ConditionalOutputPort</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`outputport_id`"/> - </key> - <property name="condition" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`condition`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.CommentImpl" entity-name="Comment" abstract="false" lazy="false" extends="WorkflowElement" table="`comment`"> - <meta attribute="eclassName" inherit="false">Comment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - <many-to-one name="workflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="comment_workflow" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`comment_workflow_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.TaskImpl" entity-name="Task" abstract="false" lazy="false" extends="WorkflowNode" table="`task`"> - <meta attribute="eclassName" inherit="false">Task</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflownode_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 740acf1bd..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,219 +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="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowElementImpl" entity-name="WorkflowElement" abstract="true" lazy="false" table="`workflowelement`"> - <meta attribute="eclassName" inherit="false">WorkflowElement</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`comment`"/> - </property> - <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`x`"/> - </property> - <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`y`"/> - </property> - <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`width`"/> - </property> - <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`height`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowImpl" entity-name="Workflow" abstract="false" lazy="false" extends="WorkflowElement" table="`workflow`"> - <meta attribute="eclassName" inherit="false">Workflow</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - <list name="nodes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`workflownode_workflow_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflow_nodes_idx`"/> - <one-to-many entity-name="WorkflowNode"/> - </list> - <list name="edges" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`edge_workflow_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflow_edges_idx`"/> - <one-to-many entity-name="Edge"/> - </list> - <list name="comments" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`comment_workflow_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflow_comments_idx`"/> - <one-to-many entity-name="Comment"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowNodeImpl" entity-name="WorkflowNode" abstract="true" lazy="false" extends="WorkflowElement" table="`workflownode`"> - <meta attribute="eclassName" inherit="false">WorkflowNode</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - <many-to-one name="workflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="workflownode_workflow" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`workflownode_workflow_id`"/> - </many-to-one> - <list name="outputs" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`outputport_node_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflownode_outputs_idx`"/> - <one-to-many entity-name="OutputPort"/> - </list> - <list name="inputs" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`inputport_node_id`" not-null="false" unique="false"/> - </key> - <list-index column="`workflownode_inputs_idx`"/> - <one-to-many entity-name="InputPort"/> - </list> - <property name="isStart" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`isstart`"/> - </property> - <property name="isFinish" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`isfinish`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.EdgeImpl" entity-name="Edge" abstract="false" lazy="false" extends="WorkflowElement" table="`edge`"> - <meta attribute="eclassName" inherit="false">Edge</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - <many-to-one name="workflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="edge_workflow" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`edge_workflow_id`"/> - </many-to-one> - <many-to-one name="target" entity-name="InputPort" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="edge_target" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`edge_target_id`"/> - </many-to-one> - <many-to-one name="source" entity-name="OutputPort" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="edge_source" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`edge_source_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.PortImpl" entity-name="Port" abstract="true" lazy="false" extends="WorkflowElement" table="`port`"> - <meta attribute="eclassName" inherit="false">Port</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.InputPortImpl" entity-name="InputPort" abstract="false" lazy="false" extends="Port" table="`inputport`"> - <meta attribute="eclassName" inherit="false">InputPort</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`port_id`"/> - </key> - <many-to-one name="node" entity-name="WorkflowNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="inputport_node" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`inputport_node_id`"/> - </many-to-one> - <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`edge_target_id`" not-null="false" unique="false"/> - </key> - <list-index column="`inputport_edges_idx`"/> - <one-to-many entity-name="Edge"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.OutputPortImpl" entity-name="OutputPort" abstract="false" lazy="false" extends="Port" table="`outputport`"> - <meta attribute="eclassName" inherit="false">OutputPort</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`port_id`"/> - </key> - <many-to-one name="node" entity-name="WorkflowNode" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="outputport_node" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`outputport_node_id`"/> - </many-to-one> - <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`edge_source_id`" not-null="false" unique="false"/> - </key> - <list-index column="`outputport_edges_idx`"/> - <one-to-many entity-name="Edge"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.FaultImpl" entity-name="Fault" abstract="false" lazy="false" extends="OutputPort" table="`fault`"> - <meta attribute="eclassName" inherit="false">Fault</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`outputport_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.CompoundTaskImpl" entity-name="CompoundTask" abstract="false" lazy="false" extends="WorkflowNode" table="`compoundtask`"> - <meta attribute="eclassName" inherit="false">CompoundTask</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflownode_id`"/> - </key> - <many-to-one name="subworkflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="compoundtask_subworkflow" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`workflow_subworkflow_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.TransformationTaskImpl" entity-name="TransformationTask" abstract="false" lazy="false" extends="WorkflowNode" table="`transformationtask`"> - <meta attribute="eclassName" inherit="false">TransformationTask</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflownode_id`"/> - </key> - <property name="transformExpression" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`transformexpression`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.ConditionalTaskImpl" entity-name="ConditionalTask" abstract="false" lazy="false" extends="WorkflowNode" table="`conditionaltask`"> - <meta attribute="eclassName" inherit="false">ConditionalTask</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflownode_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.LoopTaskImpl" entity-name="LoopTask" abstract="false" lazy="false" extends="CompoundTask" table="`looptask`"> - <meta attribute="eclassName" inherit="false">LoopTask</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`compoundtask_id`"/> - </key> - <property name="whileCondition" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`whilecondition`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.ConditionalOutputPortImpl" entity-name="ConditionalOutputPort" abstract="false" lazy="false" extends="OutputPort" table="`conditionaloutputport`"> - <meta attribute="eclassName" inherit="false">ConditionalOutputPort</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`outputport_id`"/> - </key> - <property name="condition" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`condition`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.CommentImpl" entity-name="Comment" abstract="false" lazy="false" extends="WorkflowElement" table="`comment`"> - <meta attribute="eclassName" inherit="false">Comment</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflowelement_id`"/> - </key> - <many-to-one name="workflow" entity-name="Workflow" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="comment_workflow" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`comment_workflow_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.TaskImpl" entity-name="Task" abstract="false" lazy="false" extends="WorkflowNode" table="`task`"> - <meta attribute="eclassName" inherit="false">Task</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <key> - <column name="`workflownode_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/AnyTypeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/AnyTypeAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 33e37fcec..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/AnyTypeAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,158 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.impl.AImpl" entity-name="A" abstract="false" lazy="false" table="`a`"> - <meta attribute="eclassName">A</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/anytype</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> - <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> - <property name="doub" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`doub`"/> - </property> - <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`lon`"/> - </property> - <many-to-one name="myB" entity-name="B" cascade="merge,persist,save-update,lock,refresh" foreign-key="a_myb" lazy="false" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`b_myb_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.impl.BImpl" entity-name="B" abstract="false" lazy="false" table="`b`"> - <meta attribute="eclassName">B</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/anytype</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> - <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 name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.impl.TestAnyImpl" entity-name="TestAny" abstract="false" lazy="false" table="`testany`"> - <meta attribute="eclassName">TestAny</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/anytype</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> - <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> - <any name="singleAnyType" id-type="long" cascade="all"> - <column not-null="false" unique="false" name="`singleanytype_type`"/> - <column not-null="false" unique="false" name="`singleanytype_id`"/> - </any> - <list name="multiAnyType" table="`testany_multianytype`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="testany_multianytype"> - <column name="`testany_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`testany_multianytype_idx`"/> - <many-to-any id-type="long"> - <column not-null="true" unique="false" name="`multianytype_type`"/> - <column not-null="true" unique="false" name="`multianytype_id`"/> - </many-to-any> - </list> - <list name="myAny" table="`testany_myany`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`testany_myany_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`testany_myany_idx`"/> - <one-to-many entity-name="TestAny_myAny"/> - </list> - <list name="any" table="`testany_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`testany_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`testany_any_idx`"/> - <one-to-many entity-name="TestAny_any"/> - </list> - </class> - <class entity-name="TestAny_myAny" lazy="false" table="`testany_myany`"> - <meta attribute="featureMap">TestAny</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`myany_name`"/> - </property> - <any name="singleAnyType" id-type="long" cascade="all"> - <column not-null="false" unique="false" name="`myany_`myany_singleanytype_type``"/> - <column not-null="false" unique="false" name="`myany_`myany_singleanytype_id``"/> - </any> - <list name="multiAnyType" table="`myany_testany_multianytype`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="testany_multianytype"> - <column name="`myany_testany_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`myany_testany_multianytype_idx`"/> - <many-to-any id-type="long"> - <column not-null="true" unique="false" name="`myany_`myany_multianytype_type``"/> - <column not-null="true" unique="false" name="`myany_`myany_multianytype_id``"/> - </many-to-any> - </list> - <list name="any" table="`myany_testany_any`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`myany_testany_any_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`myany_testany_any_idx`"/> - <one-to-many entity-name="TestAny_any"/> - </list> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="TestAny_any" lazy="false" table="`testany_any`"> - <meta attribute="featureMap">TestAny</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`any_name`"/> - </property> - <any name="singleAnyType" id-type="long" cascade="all"> - <column not-null="false" unique="false" name="`any_`any_singleanytype_type``"/> - <column not-null="false" unique="false" name="`any_`any_singleanytype_id``"/> - </any> - <list name="multiAnyType" table="`any_testany_multianytype`" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="testany_multianytype"> - <column name="`any_testany_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`any_testany_multianytype_idx`"/> - <many-to-any id-type="long"> - <column not-null="true" unique="false" name="`any_`any_multianytype_type``"/> - <column not-null="true" unique="false" name="`any_`any_multianytype_id``"/> - </many-to-any> - </list> - <list name="myAny" table="`any_testany_myany`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`any_testany_myany_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`any_testany_myany_idx`"/> - <one-to-many entity-name="TestAny_myAny"/> - </list> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DateTimeAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DateTimeAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 0f4816341..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DateTimeAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,25 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" entity-name="TestDate" abstract="false" lazy="false" discriminator-value="TestDate" table="`testdate`"> - <meta attribute="eclassName">TestDate</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/datetime</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 type="string"> - <column name="dtype" index="testdatedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="date" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`date`"/> - </property> - <property name="datetime" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDateTime"> - <column not-null="true" unique="false" name="`datetime`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DateTimeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DateTimeAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 6ea4c6528..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DateTimeAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" entity-name="TestDate" abstract="false" lazy="false" table="`testdate`"> - <meta attribute="eclassName">TestDate</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/datetime</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="date" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`date`"/> - </property> - <property name="datetime" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDateTime"> - <column not-null="true" unique="false" name="`datetime`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DateTimeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DateTimeAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 6ea4c6528..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DateTimeAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" entity-name="TestDate" abstract="false" lazy="false" table="`testdate`"> - <meta attribute="eclassName">TestDate</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/datetime</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="date" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="true" unique="false" name="`date`"/> - </property> - <property name="datetime" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDateTime"> - <column not-null="true" unique="false" name="`datetime`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DocumentRootAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DocumentRootAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ffef8e88e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DocumentRootAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,76 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.ComplexTypeImpl" entity-name="ComplexType" abstract="false" lazy="false" discriminator-value="ComplexType" table="`complextype`"> - <meta attribute="eclassName">ComplexType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentroot</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 type="string"> - <column name="dtype" index="complextypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="test" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.DocumentRootImpl" entity-name="documentroot.DocumentRoot" abstract="false" lazy="false" discriminator-value="documentroot.DocumentRoot" table="`documentroot_documentroot`"> - <meta attribute="eclassName">DocumentRoot</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentroot</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 type="string"> - <column name="dtype" index="documentroot_documentrootdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`documentroot_documentroot_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`documentroot_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`documentroot_mixed_idx`"/> - <one-to-many entity-name="DocumentRoot_mixed"/> - </list> - </class> - <class entity-name="DocumentRoot_mixed" lazy="false" table="`documentroot_mixed`"> - <meta attribute="featureMap">documentroot.DocumentRoot</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xsischemalocation_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <property name="otherTest" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_othertest`"/> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_test`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DocumentRootAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DocumentRootAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 345e08799..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DocumentRootAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,70 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.ComplexTypeImpl" entity-name="ComplexType" abstract="false" lazy="false" table="`complextype`"> - <meta attribute="eclassName">ComplexType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentroot</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="test" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.DocumentRootImpl" entity-name="documentroot.DocumentRoot" abstract="false" lazy="false" table="`documentroot_documentroot`"> - <meta attribute="eclassName">DocumentRoot</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentroot</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`documentroot_documentroot_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`documentroot_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`documentroot_mixed_idx`"/> - <one-to-many entity-name="DocumentRoot_mixed"/> - </list> - </class> - <class entity-name="DocumentRoot_mixed" lazy="false" table="`documentroot_mixed`"> - <meta attribute="featureMap">documentroot.DocumentRoot</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xsischemalocation_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <property name="otherTest" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_othertest`"/> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_test`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DocumentRootAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DocumentRootAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 345e08799..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DocumentRootAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,70 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.ComplexTypeImpl" entity-name="ComplexType" abstract="false" lazy="false" table="`complextype`"> - <meta attribute="eclassName">ComplexType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentroot</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="test" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.documentroot.impl.DocumentRootImpl" entity-name="documentroot.DocumentRoot" abstract="false" lazy="false" table="`documentroot_documentroot`"> - <meta attribute="eclassName">DocumentRoot</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentroot</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`documentroot_documentroot_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`documentroot_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`documentroot_mixed_idx`"/> - <one-to-many entity-name="DocumentRoot_mixed"/> - </list> - </class> - <class entity-name="DocumentRoot_mixed" lazy="false" table="`documentroot_mixed`"> - <meta attribute="featureMap">documentroot.DocumentRoot</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_documentroot_xsischemalocation_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <property name="otherTest" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_othertest`"/> - </property> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_test`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DurationAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DurationAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 5f366773f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DurationAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.duration.impl.DurationTestImpl" entity-name="DurationTest" abstract="false" lazy="false" discriminator-value="DurationTest" table="`durationtest`"> - <meta attribute="eclassName">DurationTest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/duration</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="durationtestdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDuration"> - <column not-null="false" unique="false" name="`duration`"/> - </property> - <list name="durations" table="`durationtest_durations`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`durationtest_durations_name`" not-null="true" unique="false"/> - </key> - <list-index column="`durationtest_durations_idx`"/> - <element type="org.eclipse.emf.teneo.hibernate.mapping.XSDDuration"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DurationAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DurationAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 6deb20c4c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DurationAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,25 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.duration.impl.DurationTestImpl" entity-name="DurationTest" abstract="false" lazy="false" table="`durationtest`"> - <meta attribute="eclassName">DurationTest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/duration</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDuration"> - <column not-null="false" unique="false" name="`duration`"/> - </property> - <list name="durations" table="`durationtest_durations`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`durationtest_durations_name`" not-null="true" unique="false"/> - </key> - <list-index column="`durationtest_durations_idx`"/> - <element type="org.eclipse.emf.teneo.hibernate.mapping.XSDDuration"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DurationAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DurationAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 6deb20c4c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/DurationAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,25 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.duration.impl.DurationTestImpl" entity-name="DurationTest" abstract="false" lazy="false" table="`durationtest`"> - <meta attribute="eclassName">DurationTest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/duration</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDuration"> - <column not-null="false" unique="false" name="`duration`"/> - </property> - <list name="durations" table="`durationtest_durations`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`durationtest_durations_name`" not-null="true" unique="false"/> - </key> - <list-index column="`durationtest_durations_idx`"/> - <element type="org.eclipse.emf.teneo.hibernate.mapping.XSDDuration"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 53627f778..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,77 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <map name="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writers"> - <column name="`book_writers_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <one-to-many entity-name="Writer"/> - </map> - <map name="keyWords" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_keywords_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_citybywriter_e_id`" not-null="false" unique="false"/> - </key> - <map-key-many-to-many entity-name="Writer"/> - <element type="java.lang.String"/> - </map> - <map name="categoryByDate" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_categorybydate_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="timestamp"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param> - <param name="eclassifier">Category</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - </type> - </element> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 70d20ce12..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,71 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <map name="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writers"> - <column name="`book_writers_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <one-to-many entity-name="Writer"/> - </map> - <map name="keyWords" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_keywords_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_citybywriter_e_id`" not-null="false" unique="false"/> - </key> - <map-key-many-to-many entity-name="Writer"/> - <element type="java.lang.String"/> - </map> - <map name="categoryByDate" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_categorybydate_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="timestamp"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param> - <param name="eclassifier">Category</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - </type> - </element> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 70d20ce12..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,71 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <map name="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writers"> - <column name="`book_writers_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <one-to-many entity-name="Writer"/> - </map> - <map name="keyWords" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_keywords_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="java.lang.String"/> - </map> - <map name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_citybywriter_e_id`" not-null="false" unique="false"/> - </key> - <map-key-many-to-many entity-name="Writer"/> - <element type="java.lang.String"/> - </map> - <map name="categoryByDate" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`book_categorybydate_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="timestamp"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param> - <param name="eclassifier">Category</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - </type> - </element> - </map> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <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> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAsListAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAsListAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f2d449df0..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAsListAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,156 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writers"> - <column name="`book_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_writers_idx`"/> - <one-to-many entity-name="StringToWriterMapEntry"/> - </list> - <list name="keyWords" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_keywords"> - <column name="`book_keywords_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_keywords_idx`"/> - <one-to-many entity-name="StringToStringMapEntry"/> - </list> - <list name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_citybywriter"> - <column name="`book_citybywriter_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_citybywriter_idx`"/> - <one-to-many entity-name="WriterToStringMapEntry"/> - </list> - <list name="categoryByDate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_categorybydate"> - <column name="`book_categorybydate_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_categorybydate_idx`"/> - <one-to-many entity-name="DateToCategoryMapEntry"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" discriminator-value="DateToCategoryMapEntry" table="`datetocategorymapentry`"> - <meta attribute="eclassName">DateToCategoryMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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 type="string"> - <column name="dtype" index="datetocategorymapentrydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`value`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param> - <param name="eclassifier">Category</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" discriminator-value="StringToStringMapEntry" table="`stringtostringmapentry`"> - <meta attribute="eclassName">StringToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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 type="string"> - <column name="dtype" index="stringtostringmapentrydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" discriminator-value="StringToWriterMapEntry" table="`stringtowritermapentry`"> - <meta attribute="eclassName">StringToWriterMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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 type="string"> - <column name="dtype" index="stringtowritermapentrydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <many-to-one name="value" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="stringtowritermapentry_value" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_value_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" discriminator-value="WriterToStringMapEntry" table="`writertostringmapentry`"> - <meta attribute="eclassName">WriterToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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 type="string"> - <column name="dtype" index="writertostringmapentrydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="key" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="writertostringmapentry_key" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_key_e_id`"/> - </many-to-one> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAsListAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAsListAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 267bf7c8b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAsListAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,138 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writers"> - <column name="`book_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_writers_idx`"/> - <one-to-many entity-name="StringToWriterMapEntry"/> - </list> - <list name="keyWords" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_keywords"> - <column name="`book_keywords_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_keywords_idx`"/> - <one-to-many entity-name="StringToStringMapEntry"/> - </list> - <list name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_citybywriter"> - <column name="`book_citybywriter_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_citybywriter_idx`"/> - <one-to-many entity-name="WriterToStringMapEntry"/> - </list> - <list name="categoryByDate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_categorybydate"> - <column name="`book_categorybydate_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_categorybydate_idx`"/> - <one-to-many entity-name="DateToCategoryMapEntry"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" table="`datetocategorymapentry`"> - <meta attribute="eclassName">DateToCategoryMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`value`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param> - <param name="eclassifier">Category</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" table="`stringtostringmapentry`"> - <meta attribute="eclassName">StringToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" table="`stringtowritermapentry`"> - <meta attribute="eclassName">StringToWriterMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <many-to-one name="value" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="stringtowritermapentry_value" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_value_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <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 name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" table="`writertostringmapentry`"> - <meta attribute="eclassName">WriterToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="key" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="writertostringmapentry_key" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_key_e_id`"/> - </many-to-one> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAsListAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAsListAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 267bf7c8b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EMapAsListAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,138 +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"> - <typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - <param name="edatatype">CategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - <list name="writers" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_writers"> - <column name="`book_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_writers_idx`"/> - <one-to-many entity-name="StringToWriterMapEntry"/> - </list> - <list name="keyWords" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_keywords"> - <column name="`book_keywords_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_keywords_idx`"/> - <one-to-many entity-name="StringToStringMapEntry"/> - </list> - <list name="cityByWriter" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_citybywriter"> - <column name="`book_citybywriter_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_citybywriter_idx`"/> - <one-to-many entity-name="WriterToStringMapEntry"/> - </list> - <list name="categoryByDate" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="book_categorybydate"> - <column name="`book_categorybydate_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`book_categorybydate_idx`"/> - <one-to-many entity-name="DateToCategoryMapEntry"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" table="`datetocategorymapentry`"> - <meta attribute="eclassName">DateToCategoryMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`value`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param> - <param name="eclassifier">Category</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param> - </type> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" table="`stringtostringmapentry`"> - <meta attribute="eclassName">StringToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" table="`stringtowritermapentry`"> - <meta attribute="eclassName">StringToWriterMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <many-to-one name="value" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="stringtowritermapentry_value" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_value_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <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 name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" table="`writertostringmapentry`"> - <meta attribute="eclassName">WriterToStringMapEntry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="key" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="writertostringmapentry_key" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`writer_key_e_id`"/> - </many-to-one> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EcoreAttrsAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EcoreAttrsAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index cf63bdbcb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EcoreAttrsAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,139 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" discriminator-value="Element" table="`element`"> - <meta attribute="eclassName">Element</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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 type="string"> - <column name="dtype" index="elementdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="nameMap" table="`element_namemap`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`element_namemap_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`element_namemap_idx`"/> - <one-to-many entity-name="Element_nameMap"/> - </list> - </class> - <class entity-name="Element_nameMap" lazy="false" table="`element_namemap`"> - <meta attribute="featureMap">Element</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="names" entity-name="NameList" lazy="false" cascade="all" foreign-key="element_names" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`namemap_namelist_names_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.FeatureImpl" entity-name="Feature" abstract="false" lazy="false" discriminator-value="Feature" table="`feature`"> - <meta attribute="eclassName">Feature</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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 type="string"> - <column name="dtype" index="featuredtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="aMap" table="`feature_amap`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`feature_amap_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`feature_amap_idx`"/> - <one-to-many entity-name="Feature_aMap"/> - </list> - </class> - <class entity-name="Feature_aMap" lazy="false" table="`feature_amap`"> - <meta attribute="featureMap">Feature</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`amap_name`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`amap_value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.MixedImpl" entity-name="Mixed" abstract="false" lazy="false" discriminator-value="Mixed" table="`mixed`"> - <meta attribute="eclassName">Mixed</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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 type="string"> - <column name="dtype" index="mixeddtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`mixed_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_mixed_idx`"/> - <one-to-many entity-name="Mixed_mixed"/> - </list> - </class> - <class entity-name="Mixed_mixed" lazy="false" table="`mixed_mixed`"> - <meta attribute="featureMap">Mixed</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`mixed_name`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`mixed_value`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.NameListImpl" entity-name="NameList" abstract="false" lazy="false" discriminator-value="NameList" table="`namelist`"> - <meta attribute="eclassName">NameList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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 type="string"> - <column name="dtype" index="namelistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="firstName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </property> - <property name="middleName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`middlename`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EcoreAttrsAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EcoreAttrsAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 066511834..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EcoreAttrsAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,127 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" table="`element`"> - <meta attribute="eclassName">Element</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="nameMap" table="`element_namemap`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`element_namemap_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`element_namemap_idx`"/> - <one-to-many entity-name="Element_nameMap"/> - </list> - </class> - <class entity-name="Element_nameMap" lazy="false" table="`element_namemap`"> - <meta attribute="featureMap">Element</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="names" entity-name="NameList" lazy="false" cascade="all" foreign-key="element_names" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`namemap_namelist_names_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.FeatureImpl" entity-name="Feature" abstract="false" lazy="false" table="`feature`"> - <meta attribute="eclassName">Feature</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="aMap" table="`feature_amap`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`feature_amap_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`feature_amap_idx`"/> - <one-to-many entity-name="Feature_aMap"/> - </list> - </class> - <class entity-name="Feature_aMap" lazy="false" table="`feature_amap`"> - <meta attribute="featureMap">Feature</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`amap_name`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`amap_value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.MixedImpl" entity-name="Mixed" abstract="false" lazy="false" table="`mixed`"> - <meta attribute="eclassName">Mixed</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`mixed_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_mixed_idx`"/> - <one-to-many entity-name="Mixed_mixed"/> - </list> - </class> - <class entity-name="Mixed_mixed" lazy="false" table="`mixed_mixed`"> - <meta attribute="featureMap">Mixed</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`mixed_name`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`mixed_value`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.NameListImpl" entity-name="NameList" abstract="false" lazy="false" table="`namelist`"> - <meta attribute="eclassName">NameList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="firstName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </property> - <property name="middleName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`middlename`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EcoreAttrsAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EcoreAttrsAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 066511834..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/EcoreAttrsAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,127 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" table="`element`"> - <meta attribute="eclassName">Element</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="nameMap" table="`element_namemap`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`element_namemap_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`element_namemap_idx`"/> - <one-to-many entity-name="Element_nameMap"/> - </list> - </class> - <class entity-name="Element_nameMap" lazy="false" table="`element_namemap`"> - <meta attribute="featureMap">Element</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="names" entity-name="NameList" lazy="false" cascade="all" foreign-key="element_names" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`namemap_namelist_names_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.FeatureImpl" entity-name="Feature" abstract="false" lazy="false" table="`feature`"> - <meta attribute="eclassName">Feature</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="aMap" table="`feature_amap`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`feature_amap_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`feature_amap_idx`"/> - <one-to-many entity-name="Feature_aMap"/> - </list> - </class> - <class entity-name="Feature_aMap" lazy="false" table="`feature_amap`"> - <meta attribute="featureMap">Feature</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`amap_name`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`amap_value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.MixedImpl" entity-name="Mixed" abstract="false" lazy="false" table="`mixed`"> - <meta attribute="eclassName">Mixed</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`mixed_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_mixed_idx`"/> - <one-to-many entity-name="Mixed_mixed"/> - </list> - </class> - <class entity-name="Mixed_mixed" lazy="false" table="`mixed_mixed`"> - <meta attribute="featureMap">Mixed</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`mixed_name`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`mixed_value`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.NameListImpl" entity-name="NameList" abstract="false" lazy="false" table="`namelist`"> - <meta attribute="eclassName">NameList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/ecoreattrs</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="firstName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`firstname`"/> - </property> - <property name="middleName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`middlename`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`lastname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ExtensionAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ExtensionAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f97598d3c..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ExtensionAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,132 +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"> - <typedef name="extension.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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 type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" discriminator-value="AddressList" table="`addresslist`"> - <meta attribute="eclassName">AddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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 type="string"> - <column name="dtype" index="addresslistdtype" length="255" not-null="true"/> - </discriminator> - <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="firstAddress" entity-name="FirstAddressHolder" lazy="false" cascade="all" foreign-key="addresslist_firstaddress" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`firstaddressholder_firstaddress_e_id`"/> - </many-to-one> - <list name="secondAddress" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="addresslist_secondaddress"> - <column name="`addresslist_secondaddress_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`addresslist_secondaddress_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" discriminator-value="UKAddress"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</meta> - <property name="postcode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`postcode`"/> - </property> - <property name="exportCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`exportcode`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" discriminator-value="DistrictUKAddress"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</meta> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.FirstAddressHolderImpl" entity-name="FirstAddressHolder" abstract="false" lazy="false" discriminator-value="FirstAddressHolder" table="`firstaddressholder`"> - <meta attribute="eclassName">FirstAddressHolder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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 type="string"> - <column name="dtype" index="firstaddressholderdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="value" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="firstaddressholder_value"> - <column name="`firstaddressholder_value_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`firstaddressholder_value_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" discriminator-value="InternationalPrice" table="`internationalprice`"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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 type="string"> - <column name="dtype" index="internationalpricedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`value`"/> - </property> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</meta> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ExtensionAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ExtensionAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 8711fbfb4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ExtensionAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,129 +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"> - <typedef name="extension.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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> - <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> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`"> - <meta attribute="eclassName">AddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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> - <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="firstAddress" entity-name="FirstAddressHolder" lazy="false" cascade="all" foreign-key="addresslist_firstaddress" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`firstaddressholder_firstaddress_e_id`"/> - </many-to-one> - <list name="secondAddress" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="addresslist_secondaddress"> - <column name="`addresslist_secondaddress_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`addresslist_secondaddress_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - <property name="exportCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`exportcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</meta> - <key> - <column name="`ukaddress_e_id`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.FirstAddressHolderImpl" entity-name="FirstAddressHolder" abstract="false" lazy="false" table="`firstaddressholder`"> - <meta attribute="eclassName">FirstAddressHolder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="value" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="firstaddressholder_value"> - <column name="`firstaddressholder_value_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`firstaddressholder_value_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" table="`internationalprice`"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`value`"/> - </property> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ExtensionAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ExtensionAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 8711fbfb4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ExtensionAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,129 +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"> - <typedef name="extension.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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> - <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> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`"> - <meta attribute="eclassName">AddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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> - <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="firstAddress" entity-name="FirstAddressHolder" lazy="false" cascade="all" foreign-key="addresslist_firstaddress" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`firstaddressholder_firstaddress_e_id`"/> - </many-to-one> - <list name="secondAddress" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="addresslist_secondaddress"> - <column name="`addresslist_secondaddress_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`addresslist_secondaddress_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - <property name="exportCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`exportcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</meta> - <key> - <column name="`ukaddress_e_id`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.FirstAddressHolderImpl" entity-name="FirstAddressHolder" abstract="false" lazy="false" table="`firstaddressholder`"> - <meta attribute="eclassName">FirstAddressHolder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="value" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="firstaddressholder_value"> - <column name="`firstaddressholder_value_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`firstaddressholder_value_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" table="`internationalprice`"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`value`"/> - </property> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extension</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/GroupAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/GroupAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d58b44b67..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/GroupAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,171 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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 type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`address_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`address_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`address_group_idx`"/> - <one-to-many entity-name="Address_group"/> - </list> - </class> - <class entity-name="Address_group" lazy="false" table="`address_group`"> - <meta attribute="featureMap">Address</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`group_name`"/> - </property> - <property name="longName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_longname`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressGroupImpl" entity-name="AddressGroup" abstract="false" lazy="false" discriminator-value="AddressGroup" table="`addressgroup`"> - <meta attribute="eclassName">AddressGroup</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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 type="string"> - <column name="dtype" index="addressgroupdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`groupname`"/> - </property> - <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addressgroup_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_shipto_e_id`"/> - </many-to-one> - <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addressgroup_billto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_billto_e_id`"/> - </many-to-one> - <property name="simpleAddress" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`simpleaddress`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" discriminator-value="AddressList" table="`addresslist`"> - <meta attribute="eclassName">AddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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 type="string"> - <column name="dtype" index="addresslistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`groupname`"/> - </property> - <list name="addrs" table="`addresslist_addrs`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`addresslist_addrs_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`addresslist_addrs_idx`"/> - <one-to-many entity-name="AddressList_addrs"/> - </list> - </class> - <class entity-name="AddressList_addrs" lazy="false" table="`addresslist_addrs`"> - <meta attribute="featureMap">AddressList</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addresslist_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`addrs_address_shipto_e_id`"/> - </many-to-one> - <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addresslist_billto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`addrs_address_billto_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllMapTypeImpl" entity-name="SimpleAllMapType" abstract="false" lazy="false" discriminator-value="SimpleAllMapType" table="`simpleallmaptype`"> - <meta attribute="eclassName">SimpleAllMapType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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 type="string"> - <column name="dtype" index="simpleallmaptypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="allMap" table="`simpleallmaptype_allmap`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simpleallmaptype_allmap_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`simpleallmaptype_allmap_idx`"/> - <one-to-many entity-name="SimpleAllMapType_allMap"/> - </list> - </class> - <class entity-name="SimpleAllMapType_allMap" lazy="false" table="`simpleallmaptype_allmap`"> - <meta attribute="featureMap">SimpleAllMapType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="aaa" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`allmap_aaa`"/> - </property> - <property name="bbb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`allmap_bbb`"/> - </property> - <property name="ccc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`allmap_ccc`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllTypeImpl" entity-name="SimpleAllType" abstract="false" lazy="false" discriminator-value="SimpleAllType" table="`simplealltype`"> - <meta attribute="eclassName">SimpleAllType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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 type="string"> - <column name="dtype" index="simplealltypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="aaa" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`aaa`"/> - </property> - <property name="bbb" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`bbb`"/> - </property> - <property name="ccc" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`ccc`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/GroupAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/GroupAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index edaa75805..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/GroupAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,156 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`address_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`address_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`address_group_idx`"/> - <one-to-many entity-name="Address_group"/> - </list> - </class> - <class entity-name="Address_group" lazy="false" table="`address_group`"> - <meta attribute="featureMap">Address</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`group_name`"/> - </property> - <property name="longName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_longname`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressGroupImpl" entity-name="AddressGroup" abstract="false" lazy="false" table="`addressgroup`"> - <meta attribute="eclassName">AddressGroup</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`groupname`"/> - </property> - <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addressgroup_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_shipto_e_id`"/> - </many-to-one> - <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addressgroup_billto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_billto_e_id`"/> - </many-to-one> - <property name="simpleAddress" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`simpleaddress`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`"> - <meta attribute="eclassName">AddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`groupname`"/> - </property> - <list name="addrs" table="`addresslist_addrs`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`addresslist_addrs_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`addresslist_addrs_idx`"/> - <one-to-many entity-name="AddressList_addrs"/> - </list> - </class> - <class entity-name="AddressList_addrs" lazy="false" table="`addresslist_addrs`"> - <meta attribute="featureMap">AddressList</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addresslist_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`addrs_address_shipto_e_id`"/> - </many-to-one> - <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addresslist_billto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`addrs_address_billto_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllMapTypeImpl" entity-name="SimpleAllMapType" abstract="false" lazy="false" table="`simpleallmaptype`"> - <meta attribute="eclassName">SimpleAllMapType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="allMap" table="`simpleallmaptype_allmap`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simpleallmaptype_allmap_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`simpleallmaptype_allmap_idx`"/> - <one-to-many entity-name="SimpleAllMapType_allMap"/> - </list> - </class> - <class entity-name="SimpleAllMapType_allMap" lazy="false" table="`simpleallmaptype_allmap`"> - <meta attribute="featureMap">SimpleAllMapType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="aaa" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`allmap_aaa`"/> - </property> - <property name="bbb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`allmap_bbb`"/> - </property> - <property name="ccc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`allmap_ccc`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllTypeImpl" entity-name="SimpleAllType" abstract="false" lazy="false" table="`simplealltype`"> - <meta attribute="eclassName">SimpleAllType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="aaa" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`aaa`"/> - </property> - <property name="bbb" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`bbb`"/> - </property> - <property name="ccc" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`ccc`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/GroupAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/GroupAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index edaa75805..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/GroupAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,156 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="group" table="`address_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`address_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`address_group_idx`"/> - <one-to-many entity-name="Address_group"/> - </list> - </class> - <class entity-name="Address_group" lazy="false" table="`address_group`"> - <meta attribute="featureMap">Address</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`group_name`"/> - </property> - <property name="longName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_longname`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressGroupImpl" entity-name="AddressGroup" abstract="false" lazy="false" table="`addressgroup`"> - <meta attribute="eclassName">AddressGroup</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`groupname`"/> - </property> - <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addressgroup_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_shipto_e_id`"/> - </many-to-one> - <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addressgroup_billto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_billto_e_id`"/> - </many-to-one> - <property name="simpleAddress" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`simpleaddress`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`"> - <meta attribute="eclassName">AddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`groupname`"/> - </property> - <list name="addrs" table="`addresslist_addrs`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`addresslist_addrs_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`addresslist_addrs_idx`"/> - <one-to-many entity-name="AddressList_addrs"/> - </list> - </class> - <class entity-name="AddressList_addrs" lazy="false" table="`addresslist_addrs`"> - <meta attribute="featureMap">AddressList</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addresslist_shipto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`addrs_address_shipto_e_id`"/> - </many-to-one> - <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="addresslist_billto" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`addrs_address_billto_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllMapTypeImpl" entity-name="SimpleAllMapType" abstract="false" lazy="false" table="`simpleallmaptype`"> - <meta attribute="eclassName">SimpleAllMapType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="allMap" table="`simpleallmaptype_allmap`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simpleallmaptype_allmap_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`simpleallmaptype_allmap_idx`"/> - <one-to-many entity-name="SimpleAllMapType_allMap"/> - </list> - </class> - <class entity-name="SimpleAllMapType_allMap" lazy="false" table="`simpleallmaptype_allmap`"> - <meta attribute="featureMap">SimpleAllMapType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="aaa" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`allmap_aaa`"/> - </property> - <property name="bbb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`allmap_bbb`"/> - </property> - <property name="ccc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`allmap_ccc`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllTypeImpl" entity-name="SimpleAllType" abstract="false" lazy="false" table="`simplealltype`"> - <meta attribute="eclassName">SimpleAllType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="aaa" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`aaa`"/> - </property> - <property name="bbb" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`bbb`"/> - </property> - <property name="ccc" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`ccc`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 77f9d10e4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,43 +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"> - <typedef name="list.SixStatesList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">SixStatesList</param> - </typedef> - <typedef name="list.StateList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StateList</param> - </typedef> - <typedef name="list.StringList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StringList</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.impl.statesByCountryImpl" entity-name="statesByCountry" abstract="false" lazy="false" discriminator-value="statesByCountry" table="`statesbycountry`"> - <meta attribute="eclassName">statesByCountry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</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 type="string"> - <column name="dtype" index="statesbycountrydtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="country" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`country`"/> - </property> - <property name="index" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`index`"/> - </property> - <property name="allStates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="list.StateList"> - <column not-null="true" unique="false" name="`allstates`"/> - </property> - <property name="sixImportantStates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="list.SixStatesList"> - <column not-null="true" unique="false" name="`siximportantstates`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 890e59a32..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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"> - <typedef name="list.SixStatesList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">SixStatesList</param> - </typedef> - <typedef name="list.StateList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StateList</param> - </typedef> - <typedef name="list.StringList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StringList</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.impl.statesByCountryImpl" entity-name="statesByCountry" abstract="false" lazy="false" table="`statesbycountry`"> - <meta attribute="eclassName">statesByCountry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="country" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`country`"/> - </property> - <property name="index" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`index`"/> - </property> - <property name="allStates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="list.StateList"> - <column not-null="true" unique="false" name="`allstates`"/> - </property> - <property name="sixImportantStates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="list.SixStatesList"> - <column not-null="true" unique="false" name="`siximportantstates`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 890e59a32..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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"> - <typedef name="list.SixStatesList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">SixStatesList</param> - </typedef> - <typedef name="list.StateList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StateList</param> - </typedef> - <typedef name="list.StringList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> - <param name="edatatype">StringList</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.impl.statesByCountryImpl" entity-name="statesByCountry" abstract="false" lazy="false" table="`statesbycountry`"> - <meta attribute="eclassName">statesByCountry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="country" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`country`"/> - </property> - <property name="index" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`index`"/> - </property> - <property name="allStates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="list.StateList"> - <column not-null="true" unique="false" name="`allstates`"/> - </property> - <property name="sixImportantStates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="list.SixStatesList"> - <column not-null="true" unique="false" name="`siximportantstates`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListUnionAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListUnionAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 06e5c8476..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ListUnionAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,71 +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"> - <typedef name="listunion.SixStatesList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/listunion</param> - <param name="edatatype">SixStatesList</param> - </typedef> - <typedef name="listunion.StateList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/listunion</param> - <param name="edatatype">StateList</param> - </typedef> - <typedef name="listunion.StringList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/listunion</param> - <param name="edatatype">StringList</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.listunion.impl.statesByCountryImpl" entity-name="statesByCountry" abstract="false" lazy="false" table="`statesbycountry`"> - <meta attribute="eclassName">statesByCountry</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/listunion</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="country" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`country`"/> - </property> - <property name="allStates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="listunion.StateList"> - <column not-null="true" unique="false" name="`allstates`"/> - </property> - <property name="sixImportantStates" lazy="false" insert="true" update="true" not-null="true" unique="false" type="listunion.SixStatesList"> - <column not-null="false" unique="false" name="`siximportantstates`"/> - </property> - <property name="zipUnion" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`zipunion`"/> - </property> - <list name="zipUnions" table="`statesbycountry_zipunions`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`statesbycountry_zipunions_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`statesbycountry_zipunions_idx`"/> - <element type="java.lang.String"/> - </list> - <property name="simpleUnion" lazy="false" insert="true" update="true" not-null="true" unique="false"> - <column not-null="true" unique="false" name="`simpleunion`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="edatatype">SimpleUnionType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/listunion</param> - </type> - </property> - <list name="simpleUnions" table="`statesbycountry_simpleunions`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`statesbycountry_simpleunions_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`statesbycountry_simpleunions_idx`"/> - <element type="java.math.BigInteger,java.lang.String"/> - </list> - <property name="simpleStringUnion" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`simplestringunion`"/> - </property> - <list name="simpleStringUnions" table="`statesbycountry_simplestringunions`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`statesbycountry_simplestringunions_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`statesbycountry_simplestringunions_idx`"/> - <element type="java.lang.String"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/MixedAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/MixedAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index b567aea79..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/MixedAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,88 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.LetterBodyTypeImpl" entity-name="LetterBodyType" abstract="false" lazy="false" discriminator-value="LetterBodyType" table="`letterbodytype`"> - <meta attribute="eclassName">LetterBodyType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/mixed</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 type="string"> - <column name="dtype" index="letterbodytypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`letterbodytype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`letterbodytype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`letterbodytype_mixed_idx`"/> - <one-to-many entity-name="LetterBodyType_mixed"/> - </list> - </class> - <class entity-name="LetterBodyType_mixed" lazy="false" table="`letterbodytype_mixed`"> - <meta attribute="featureMap">LetterBodyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="salutation" entity-name="SalutationType" lazy="false" cascade="all" foreign-key="letterbodytype_salutation" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_salutationtype_salutation_e_id`"/> - </many-to-one> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`mixed_quantity`"/> - </property> - <property name="productName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_productname`"/> - </property> - <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`mixed_shipdate`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.SalutationTypeImpl" entity-name="SalutationType" abstract="false" lazy="false" discriminator-value="SalutationType" table="`salutationtype`"> - <meta attribute="eclassName">SalutationType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/mixed</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 type="string"> - <column name="dtype" index="salutationtypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`salutationtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`salutationtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`salutationtype_mixed_idx`"/> - <one-to-many entity-name="SalutationType_mixed"/> - </list> - </class> - <class entity-name="SalutationType_mixed" lazy="false" table="`salutationtype_mixed`"> - <meta attribute="featureMap">SalutationType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`mixed_name`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/MixedAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/MixedAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 70d555973..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/MixedAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,82 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.LetterBodyTypeImpl" entity-name="LetterBodyType" abstract="false" lazy="false" table="`letterbodytype`"> - <meta attribute="eclassName">LetterBodyType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/mixed</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`letterbodytype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`letterbodytype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`letterbodytype_mixed_idx`"/> - <one-to-many entity-name="LetterBodyType_mixed"/> - </list> - </class> - <class entity-name="LetterBodyType_mixed" lazy="false" table="`letterbodytype_mixed`"> - <meta attribute="featureMap">LetterBodyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="salutation" entity-name="SalutationType" lazy="false" cascade="all" foreign-key="letterbodytype_salutation" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_salutationtype_salutation_e_id`"/> - </many-to-one> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`mixed_quantity`"/> - </property> - <property name="productName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_productname`"/> - </property> - <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`mixed_shipdate`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.SalutationTypeImpl" entity-name="SalutationType" abstract="false" lazy="false" table="`salutationtype`"> - <meta attribute="eclassName">SalutationType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/mixed</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`salutationtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`salutationtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`salutationtype_mixed_idx`"/> - <one-to-many entity-name="SalutationType_mixed"/> - </list> - </class> - <class entity-name="SalutationType_mixed" lazy="false" table="`salutationtype_mixed`"> - <meta attribute="featureMap">SalutationType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`mixed_name`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/MixedAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/MixedAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 70d555973..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/MixedAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,82 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.LetterBodyTypeImpl" entity-name="LetterBodyType" abstract="false" lazy="false" table="`letterbodytype`"> - <meta attribute="eclassName">LetterBodyType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/mixed</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`letterbodytype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`letterbodytype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`letterbodytype_mixed_idx`"/> - <one-to-many entity-name="LetterBodyType_mixed"/> - </list> - </class> - <class entity-name="LetterBodyType_mixed" lazy="false" table="`letterbodytype_mixed`"> - <meta attribute="featureMap">LetterBodyType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="salutation" entity-name="SalutationType" lazy="false" cascade="all" foreign-key="letterbodytype_salutation" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_salutationtype_salutation_e_id`"/> - </many-to-one> - <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`mixed_quantity`"/> - </property> - <property name="productName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mixed_productname`"/> - </property> - <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`mixed_shipdate`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.SalutationTypeImpl" entity-name="SalutationType" abstract="false" lazy="false" table="`salutationtype`"> - <meta attribute="eclassName">SalutationType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/mixed</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`salutationtype_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`salutationtype_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`salutationtype_mixed_idx`"/> - <one-to-many entity-name="SalutationType_mixed"/> - </list> - </class> - <class entity-name="SalutationType_mixed" lazy="false" table="`salutationtype_mixed`"> - <meta attribute="featureMap">SalutationType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`mixed_name`"/> - </property> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ModelGroupAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ModelGroupAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index bef803834..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/ModelGroupAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,62 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.modelgroup.impl.OrderListImpl" entity-name="OrderList" abstract="false" lazy="false" table="`orderlist`"> - <meta attribute="eclassName">OrderList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/modelgroup</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> - <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> - <list name="orders" table="`orderlist_orders`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`orderlist_orders_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`orderlist_orders_idx`"/> - <one-to-many entity-name="OrderList_orders"/> - </list> - </class> - <class entity-name="OrderList_orders" lazy="false" table="`orderlist_orders`"> - <meta attribute="featureMap">OrderList</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="preferredOrders" entity-name="PurchaseOrder" lazy="false" cascade="all" foreign-key="orderlist_preferredorders" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`orders_purchaseorder_preferredorders_e_id`"/> - </many-to-one> - <many-to-one name="standardOrders" entity-name="PurchaseOrder" lazy="false" cascade="all" foreign-key="orderlist_standardorders" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`orders_purchaseorder_standardorders_e_id`"/> - </many-to-one> - <property name="hardCopyOrderReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orders_hardcopyorderreference`"/> - </property> - <property name="hardCopyOrderNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`orders_hardcopyordernumber`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.modelgroup.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`"> - <meta attribute="eclassName">PurchaseOrder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/modelgroup</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="reference" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`reference`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index b1401c955..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,128 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.AImpl" entity-name="A" abstract="false" lazy="false" discriminator-value="A" table="`a`"> - <meta attribute="eclassName">A</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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 type="string"> - <column name="dtype" index="adtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="group" table="`a_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`a_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`a_group_idx`"/> - <one-to-many entity-name="A_group"/> - </list> - </class> - <class entity-name="A_group" lazy="false" table="`a_group`"> - <meta attribute="featureMap">A</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="b" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_b`"/> - </property> - <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="a_c" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_ctype_c_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.CTypeImpl" entity-name="CType" abstract="false" lazy="false" discriminator-value="CType" table="`ctype`"> - <meta attribute="eclassName">CType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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 type="string"> - <column name="dtype" index="ctypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="cname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`cname`"/> - </property> - <property name="cvalue" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`cvalue`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" discriminator-value="Element" table="`element`"> - <meta attribute="eclassName">Element</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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 type="string"> - <column name="dtype" index="elementdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`element_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`element_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`element_mixed_idx`"/> - <one-to-many entity-name="Element_mixed"/> - </list> - </class> - <class entity-name="Element_mixed" lazy="false" table="`element_mixed`"> - <meta attribute="featureMap">Element</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`mixed_name`"/> - </property> - <list name="true" table="`mixed_element_true`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_element_true_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_element_true_idx`"/> - <one-to-many entity-name="Element_true"/> - </list> - <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="element_c" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_ctype_c_e_id`"/> - </many-to-one> - <many-to-one name="recursive" entity-name="Element" lazy="false" cascade="all" foreign-key="element_recursive" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_element_recursive_e_id`"/> - </many-to-one> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="Element_true" lazy="false" table="`element_true`"> - <meta attribute="featureMap">Element</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="element_c" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`true_ctype_c_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index b1a3153ea..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,119 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.AImpl" entity-name="A" abstract="false" lazy="false" table="`a`"> - <meta attribute="eclassName">A</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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> - <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> - <list name="group" table="`a_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`a_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`a_group_idx`"/> - <one-to-many entity-name="A_group"/> - </list> - </class> - <class entity-name="A_group" lazy="false" table="`a_group`"> - <meta attribute="featureMap">A</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="b" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_b`"/> - </property> - <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="a_c" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_ctype_c_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.CTypeImpl" entity-name="CType" abstract="false" lazy="false" table="`ctype`"> - <meta attribute="eclassName">CType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="cname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`cname`"/> - </property> - <property name="cvalue" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`cvalue`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" table="`element`"> - <meta attribute="eclassName">Element</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`element_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`element_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`element_mixed_idx`"/> - <one-to-many entity-name="Element_mixed"/> - </list> - </class> - <class entity-name="Element_mixed" lazy="false" table="`element_mixed`"> - <meta attribute="featureMap">Element</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`mixed_name`"/> - </property> - <list name="true" table="`mixed_element_true`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_element_true_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_element_true_idx`"/> - <one-to-many entity-name="Element_true"/> - </list> - <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="element_c" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_ctype_c_e_id`"/> - </many-to-one> - <many-to-one name="recursive" entity-name="Element" lazy="false" cascade="all" foreign-key="element_recursive" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_element_recursive_e_id`"/> - </many-to-one> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="Element_true" lazy="false" table="`element_true`"> - <meta attribute="featureMap">Element</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="element_c" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`true_ctype_c_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index b1a3153ea..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,119 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.AImpl" entity-name="A" abstract="false" lazy="false" table="`a`"> - <meta attribute="eclassName">A</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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> - <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> - <list name="group" table="`a_group`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`a_group_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`a_group_idx`"/> - <one-to-many entity-name="A_group"/> - </list> - </class> - <class entity-name="A_group" lazy="false" table="`a_group`"> - <meta attribute="featureMap">A</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="b" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`group_b`"/> - </property> - <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="a_c" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`group_ctype_c_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.CTypeImpl" entity-name="CType" abstract="false" lazy="false" table="`ctype`"> - <meta attribute="eclassName">CType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="cname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`cname`"/> - </property> - <property name="cvalue" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`cvalue`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" table="`element`"> - <meta attribute="eclassName">Element</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="mixed" table="`element_mixed`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`element_mixed_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`element_mixed_idx`"/> - <one-to-many entity-name="Element_mixed"/> - </list> - </class> - <class entity-name="Element_mixed" lazy="false" table="`element_mixed`"> - <meta attribute="featureMap">Element</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <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="`mixed_name`"/> - </property> - <list name="true" table="`mixed_element_true`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mixed_element_true_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mixed_element_true_idx`"/> - <one-to-many entity-name="Element_true"/> - </list> - <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="element_c" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_ctype_c_e_id`"/> - </many-to-one> - <many-to-one name="recursive" entity-name="Element" lazy="false" cascade="all" foreign-key="element_recursive" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mixed_element_recursive_e_id`"/> - </many-to-one> - <property name="fme_mixed_text" type="java.lang.String"/> - <property name="fme_mixed_cdata" type="java.lang.String"/> - <property name="fme_mixed_comment" type="java.lang.String"/> - </class> - <class entity-name="Element_true" lazy="false" table="`element_true`"> - <meta attribute="featureMap">Element</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="element_c" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`true_ctype_c_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/QNameAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/QNameAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ca820900f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/QNameAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,32 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.qname.impl.MytestImpl" entity-name="Mytest" abstract="false" lazy="false" discriminator-value="Mytest" table="`mytest`"> - <meta attribute="eclassName">Mytest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/qname</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 type="string"> - <column name="dtype" index="mytestdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.QNameUserType"> - <column not-null="true" unique="false" name="`name`"/> - </property> - <list name="names" table="`mytest_names`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mytest_names_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`mytest_names_idx`"/> - <element type="org.eclipse.emf.teneo.hibernate.mapping.QNameUserType"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/QNameAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/QNameAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 9ae61854b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/QNameAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,29 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.qname.impl.MytestImpl" entity-name="Mytest" abstract="false" lazy="false" table="`mytest`"> - <meta attribute="eclassName">Mytest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/qname</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.QNameUserType"> - <column not-null="true" unique="false" name="`name`"/> - </property> - <list name="names" table="`mytest_names`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mytest_names_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`mytest_names_idx`"/> - <element type="org.eclipse.emf.teneo.hibernate.mapping.QNameUserType"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/QNameAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/QNameAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 9ae61854b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/QNameAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,29 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.qname.impl.MytestImpl" entity-name="Mytest" abstract="false" lazy="false" table="`mytest`"> - <meta attribute="eclassName">Mytest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/qname</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`description`"/> - </property> - <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.QNameUserType"> - <column not-null="true" unique="false" name="`name`"/> - </property> - <list name="names" table="`mytest_names`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`mytest_names_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`mytest_names_idx`"/> - <element type="org.eclipse.emf.teneo.hibernate.mapping.QNameUserType"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/RestrictionAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/RestrictionAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f24483672..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/RestrictionAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.impl.XMLDeviantImpl" entity-name="XMLDeviant" abstract="false" lazy="false" discriminator-value="XMLDeviant" table="`xmldeviant`"> - <meta attribute="eclassName">XMLDeviant</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/restriction</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 type="string"> - <column name="dtype" index="xmldeviantdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="numPosts" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`numposts`"/> - </property> - <property name="signature" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`signature`"/> - </property> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - <property name="firstSubscribed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`firstsubscribed`"/> - </property> - <property name="mailReader" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mailreader`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.impl.MemberImpl" entity-name="Member" abstract="false" lazy="false" extends="XMLDeviant" discriminator-value="Member"> - <meta attribute="eclassName">Member</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/restriction</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/RestrictionAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/RestrictionAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 89e62c9c3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/RestrictionAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.impl.XMLDeviantImpl" entity-name="XMLDeviant" abstract="false" lazy="false" table="`xmldeviant`"> - <meta attribute="eclassName">XMLDeviant</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/restriction</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="numPosts" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`numposts`"/> - </property> - <property name="signature" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`signature`"/> - </property> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - <property name="firstSubscribed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`firstsubscribed`"/> - </property> - <property name="mailReader" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mailreader`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.impl.MemberImpl" entity-name="Member" abstract="false" lazy="false" extends="XMLDeviant" table="`member`"> - <meta attribute="eclassName">Member</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/restriction</meta> - <key> - <column name="`xmldeviant_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/RestrictionAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/RestrictionAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 89e62c9c3..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/RestrictionAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.impl.XMLDeviantImpl" entity-name="XMLDeviant" abstract="false" lazy="false" table="`xmldeviant`"> - <meta attribute="eclassName">XMLDeviant</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/restriction</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="numPosts" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`numposts`"/> - </property> - <property name="signature" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`signature`"/> - </property> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - <property name="firstSubscribed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`firstsubscribed`"/> - </property> - <property name="mailReader" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`mailreader`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.impl.MemberImpl" entity-name="Member" abstract="false" lazy="false" extends="XMLDeviant" table="`member`"> - <meta attribute="eclassName">Member</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/restriction</meta> - <key> - <column name="`xmldeviant_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimpleTypeAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimpleTypeAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index fab726101..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimpleTypeAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,239 +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"> - <typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">SimpleEnumObject</param> - </typedef> - <typedef name="simpletypes.StringArray" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">StringArray</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleListImpl" entity-name="SimpleList" abstract="false" lazy="false" discriminator-value="SimpleList" table="`simplelist`"> - <meta attribute="eclassName">SimpleList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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 type="string"> - <column name="dtype" index="simplelistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <list name="boo" table="`simplelist_boo`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_boo_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_boo_idx`"/> - <element type="boolean"/> - </list> - <list name="byt" table="`simplelist_byt`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_byt_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_byt_idx`"/> - <element type="java.lang.Byte"/> - </list> - <list name="doubl" table="`simplelist_doubl`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_doubl_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_doubl_idx`"/> - <element type="java.lang.Double"/> - </list> - <list name="floa" table="`simplelist_floa`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_floa_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_floa_idx`"/> - <element type="java.lang.Float"/> - </list> - <list name="inte" table="`simplelist_inte`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_inte_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_inte_idx`"/> - <element type="java.lang.Integer"/> - </list> - <list name="long" table="`longnum`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_long_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_long_idx`"/> - <element type="java.lang.Long"/> - </list> - <list name="shor" table="`simplelist_shor`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_shor_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_shor_idx`"/> - <element type="short"/> - </list> - <list name="enu" table="`simplelist_enu`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_enu_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_enu_idx`"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> - <param name="eclassifier">SimpleEnum</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - </type> - </element> - </list> - <list name="dat" table="`simplelist_dat`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_dat_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_dat_idx`"/> - <element type="timestamp"/> - </list> - <list name="limitedstring" table="`simplelist_limitedstring`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_limitedstring_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_limitedstring_idx`"/> - <element type="java.lang.String"/> - </list> - <list name="stri" table="`simplelist_stri`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_stri_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_stri_idx`"/> - <element type="java.lang.String"/> - </list> - <array name="intArray" table="`simplelist_intarray`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_intarray_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_intarray_idx`"/> - <element type="int"/> - </array> - <array name="doubleArray" table="`simplelist_doublearray`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_doublearray_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_doublearray_idx`"/> - <element type="double"/> - </array> - <property name="stringArray" lazy="false" insert="true" update="true" not-null="true" unique="false" type="simpletypes.StringArray"> - <column not-null="true" unique="false" name="`stringarray`"/> - </property> - <array name="byteArray" table="`simplelist_bytearray`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_bytearray_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_bytearray_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeImpl" entity-name="SimpleType" abstract="false" lazy="false" discriminator-value="SimpleType" table="`simpletype`"> - <meta attribute="eclassName">SimpleType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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 type="string"> - <column name="dtype" index="simpletypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`boo`"/> - </property> - <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`byt`"/> - </property> - <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`doubl`"/> - </property> - <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`float`"/> - </property> - <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`inte`"/> - </property> - <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`lon`"/> - </property> - <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="short"> - <column not-null="false" unique="false" name="`shor`"/> - </property> - <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`enu`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> - <param name="eclassifier">SimpleEnum</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - </type> - </property> - <property name="dat" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`dat`"/> - </property> - <property name="limitedstring" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`limitedstring`" length="10"/> - </property> - <property name="limitedDecimal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`limiteddecimal`" precision="4" scale="1"/> - </property> - <property name="extraLimitedString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`extralimitedstring`" length="5"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeObjectImpl" entity-name="SimpleTypeObject" abstract="false" lazy="false" discriminator-value="SimpleTypeObject" table="`simpletypeobject`"> - <meta attribute="eclassName">SimpleTypeObject</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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 type="string"> - <column name="dtype" index="simpletypeobjectdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Boolean"> - <column not-null="false" unique="false" name="`boo`"/> - </property> - <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Byte"> - <column not-null="false" unique="false" name="`byt`"/> - </property> - <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Double"> - <column not-null="false" unique="false" name="`doubl`"/> - </property> - <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Float"> - <column not-null="false" unique="false" name="`float`"/> - </property> - <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer"> - <column not-null="false" unique="false" name="`inte`"/> - </property> - <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> - <column not-null="false" unique="false" name="`lon`"/> - </property> - <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Short"> - <column not-null="false" unique="false" name="`shor`"/> - </property> - <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false" type="simpletypes.SimpleEnumObject"> - <column not-null="false" unique="false" name="`enu`"/> - </property> - <property name="dat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`dat`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimpleTypeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimpleTypeAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index ea7280f12..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimpleTypeAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,230 +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"> - <typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">SimpleEnumObject</param> - </typedef> - <typedef name="simpletypes.StringArray" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">StringArray</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleListImpl" entity-name="SimpleList" abstract="false" lazy="false" table="`simplelist`"> - <meta attribute="eclassName">SimpleList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <list name="boo" table="`simplelist_boo`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_boo_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_boo_idx`"/> - <element type="boolean"/> - </list> - <list name="byt" table="`simplelist_byt`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_byt_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_byt_idx`"/> - <element type="java.lang.Byte"/> - </list> - <list name="doubl" table="`simplelist_doubl`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_doubl_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_doubl_idx`"/> - <element type="java.lang.Double"/> - </list> - <list name="floa" table="`simplelist_floa`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_floa_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_floa_idx`"/> - <element type="java.lang.Float"/> - </list> - <list name="inte" table="`simplelist_inte`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_inte_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_inte_idx`"/> - <element type="java.lang.Integer"/> - </list> - <list name="long" table="`longnum`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_long_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_long_idx`"/> - <element type="java.lang.Long"/> - </list> - <list name="shor" table="`simplelist_shor`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_shor_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_shor_idx`"/> - <element type="short"/> - </list> - <list name="enu" table="`simplelist_enu`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_enu_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_enu_idx`"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> - <param name="eclassifier">SimpleEnum</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - </type> - </element> - </list> - <list name="dat" table="`simplelist_dat`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_dat_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_dat_idx`"/> - <element type="timestamp"/> - </list> - <list name="limitedstring" table="`simplelist_limitedstring`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_limitedstring_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_limitedstring_idx`"/> - <element type="java.lang.String"/> - </list> - <list name="stri" table="`simplelist_stri`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_stri_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_stri_idx`"/> - <element type="java.lang.String"/> - </list> - <array name="intArray" table="`simplelist_intarray`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_intarray_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_intarray_idx`"/> - <element type="int"/> - </array> - <array name="doubleArray" table="`simplelist_doublearray`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_doublearray_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_doublearray_idx`"/> - <element type="double"/> - </array> - <property name="stringArray" lazy="false" insert="true" update="true" not-null="true" unique="false" type="simpletypes.StringArray"> - <column not-null="true" unique="false" name="`stringarray`"/> - </property> - <array name="byteArray" table="`simplelist_bytearray`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_bytearray_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_bytearray_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeImpl" entity-name="SimpleType" abstract="false" lazy="false" table="`simpletype`"> - <meta attribute="eclassName">SimpleType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`boo`"/> - </property> - <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`byt`"/> - </property> - <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`doubl`"/> - </property> - <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`float`"/> - </property> - <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`inte`"/> - </property> - <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`lon`"/> - </property> - <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="short"> - <column not-null="false" unique="false" name="`shor`"/> - </property> - <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`enu`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> - <param name="eclassifier">SimpleEnum</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - </type> - </property> - <property name="dat" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`dat`"/> - </property> - <property name="limitedstring" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`limitedstring`" length="10"/> - </property> - <property name="limitedDecimal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`limiteddecimal`" precision="4" scale="1"/> - </property> - <property name="extraLimitedString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`extralimitedstring`" length="5"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeObjectImpl" entity-name="SimpleTypeObject" abstract="false" lazy="false" table="`simpletypeobject`"> - <meta attribute="eclassName">SimpleTypeObject</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Boolean"> - <column not-null="false" unique="false" name="`boo`"/> - </property> - <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Byte"> - <column not-null="false" unique="false" name="`byt`"/> - </property> - <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Double"> - <column not-null="false" unique="false" name="`doubl`"/> - </property> - <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Float"> - <column not-null="false" unique="false" name="`float`"/> - </property> - <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer"> - <column not-null="false" unique="false" name="`inte`"/> - </property> - <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> - <column not-null="false" unique="false" name="`lon`"/> - </property> - <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Short"> - <column not-null="false" unique="false" name="`shor`"/> - </property> - <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false" type="simpletypes.SimpleEnumObject"> - <column not-null="false" unique="false" name="`enu`"/> - </property> - <property name="dat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`dat`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimpleTypeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimpleTypeAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ea7280f12..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimpleTypeAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,230 +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"> - <typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">SimpleEnumObject</param> - </typedef> - <typedef name="simpletypes.StringArray" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - <param name="edatatype">StringArray</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleListImpl" entity-name="SimpleList" abstract="false" lazy="false" table="`simplelist`"> - <meta attribute="eclassName">SimpleList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <list name="boo" table="`simplelist_boo`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_boo_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_boo_idx`"/> - <element type="boolean"/> - </list> - <list name="byt" table="`simplelist_byt`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_byt_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_byt_idx`"/> - <element type="java.lang.Byte"/> - </list> - <list name="doubl" table="`simplelist_doubl`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_doubl_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_doubl_idx`"/> - <element type="java.lang.Double"/> - </list> - <list name="floa" table="`simplelist_floa`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_floa_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_floa_idx`"/> - <element type="java.lang.Float"/> - </list> - <list name="inte" table="`simplelist_inte`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_inte_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_inte_idx`"/> - <element type="java.lang.Integer"/> - </list> - <list name="long" table="`longnum`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_long_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_long_idx`"/> - <element type="java.lang.Long"/> - </list> - <list name="shor" table="`simplelist_shor`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_shor_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_shor_idx`"/> - <element type="short"/> - </list> - <list name="enu" table="`simplelist_enu`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_enu_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_enu_idx`"/> - <element> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> - <param name="eclassifier">SimpleEnum</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - </type> - </element> - </list> - <list name="dat" table="`simplelist_dat`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_dat_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_dat_idx`"/> - <element type="timestamp"/> - </list> - <list name="limitedstring" table="`simplelist_limitedstring`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_limitedstring_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_limitedstring_idx`"/> - <element type="java.lang.String"/> - </list> - <list name="stri" table="`simplelist_stri`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_stri_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_stri_idx`"/> - <element type="java.lang.String"/> - </list> - <array name="intArray" table="`simplelist_intarray`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_intarray_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_intarray_idx`"/> - <element type="int"/> - </array> - <array name="doubleArray" table="`simplelist_doublearray`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_doublearray_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_doublearray_idx`"/> - <element type="double"/> - </array> - <property name="stringArray" lazy="false" insert="true" update="true" not-null="true" unique="false" type="simpletypes.StringArray"> - <column not-null="true" unique="false" name="`stringarray`"/> - </property> - <array name="byteArray" table="`simplelist_bytearray`" cascade="all,delete-orphan"> - <key update="true"> - <column name="`simplelist_bytearray_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`simplelist_bytearray_idx`"/> - <element type="byte"/> - </array> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeImpl" entity-name="SimpleType" abstract="false" lazy="false" table="`simpletype`"> - <meta attribute="eclassName">SimpleType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`boo`"/> - </property> - <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> - <column not-null="false" unique="false" name="`byt`"/> - </property> - <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> - <column not-null="false" unique="false" name="`doubl`"/> - </property> - <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> - <column not-null="false" unique="false" name="`float`"/> - </property> - <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`inte`"/> - </property> - <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`lon`"/> - </property> - <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="short"> - <column not-null="false" unique="false" name="`shor`"/> - </property> - <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`enu`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> - <param name="eclassifier">SimpleEnum</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> - </type> - </property> - <property name="dat" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`dat`"/> - </property> - <property name="limitedstring" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`limitedstring`" length="10"/> - </property> - <property name="limitedDecimal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> - <column not-null="false" unique="false" name="`limiteddecimal`" precision="4" scale="1"/> - </property> - <property name="extraLimitedString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`extralimitedstring`" length="5"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeObjectImpl" entity-name="SimpleTypeObject" abstract="false" lazy="false" table="`simpletypeobject`"> - <meta attribute="eclassName">SimpleTypeObject</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> - </property> - <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Boolean"> - <column not-null="false" unique="false" name="`boo`"/> - </property> - <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Byte"> - <column not-null="false" unique="false" name="`byt`"/> - </property> - <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Double"> - <column not-null="false" unique="false" name="`doubl`"/> - </property> - <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Float"> - <column not-null="false" unique="false" name="`float`"/> - </property> - <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer"> - <column not-null="false" unique="false" name="`inte`"/> - </property> - <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> - <column not-null="false" unique="false" name="`lon`"/> - </property> - <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Short"> - <column not-null="false" unique="false" name="`shor`"/> - </property> - <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false" type="simpletypes.SimpleEnumObject"> - <column not-null="false" unique="false" name="`enu`"/> - </property> - <property name="dat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`dat`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimplefeaturemapAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimplefeaturemapAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 39dbe7b5e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimplefeaturemapAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,68 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`"> - <meta attribute="eclassName">PurchaseOrder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/simplefeaturemap</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 type="string"> - <column name="dtype" index="purchaseorderdtype" length="255" not-null="true"/> - </discriminator> - <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 name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" discriminator-value="Supplier" table="`supplier`"> - <meta attribute="eclassName">Supplier</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/simplefeaturemap</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 type="string"> - <column name="dtype" index="supplierdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="orders" table="`supplier_orders`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`supplier_orders_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`supplier_orders_idx`"/> - <one-to-many entity-name="Supplier_orders"/> - </list> - </class> - <class entity-name="Supplier_orders" lazy="false" table="`supplier_orders`"> - <meta attribute="featureMap">Supplier</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="preferredOrders" entity-name="PurchaseOrder" lazy="false" cascade="all" foreign-key="supplier_preferredorders" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`orders_purchaseorder_preferredorders_e_id`"/> - </many-to-one> - <many-to-one name="standardOrders" entity-name="PurchaseOrder" lazy="false" cascade="all" foreign-key="supplier_standardorders" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`orders_purchaseorder_standardorders_e_id`"/> - </many-to-one> - <property name="hardCopyOrderReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orders_hardcopyorderreference`"/> - </property> - <property name="hardCopyOrderNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`orders_hardcopyordernumber`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimplefeaturemapAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimplefeaturemapAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e855677d5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimplefeaturemapAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,62 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`"> - <meta attribute="eclassName">PurchaseOrder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/simplefeaturemap</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> - <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 name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" table="`supplier`"> - <meta attribute="eclassName">Supplier</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/simplefeaturemap</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> - <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> - <list name="orders" table="`supplier_orders`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`supplier_orders_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`supplier_orders_idx`"/> - <one-to-many entity-name="Supplier_orders"/> - </list> - </class> - <class entity-name="Supplier_orders" lazy="false" table="`supplier_orders`"> - <meta attribute="featureMap">Supplier</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="preferredOrders" entity-name="PurchaseOrder" lazy="false" cascade="all" foreign-key="supplier_preferredorders" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`orders_purchaseorder_preferredorders_e_id`"/> - </many-to-one> - <many-to-one name="standardOrders" entity-name="PurchaseOrder" lazy="false" cascade="all" foreign-key="supplier_standardorders" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`orders_purchaseorder_standardorders_e_id`"/> - </many-to-one> - <property name="hardCopyOrderReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orders_hardcopyorderreference`"/> - </property> - <property name="hardCopyOrderNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`orders_hardcopyordernumber`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimplefeaturemapAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimplefeaturemapAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index e855677d5..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SimplefeaturemapAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,62 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`"> - <meta attribute="eclassName">PurchaseOrder</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/simplefeaturemap</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> - <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 name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" table="`supplier`"> - <meta attribute="eclassName">Supplier</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/simplefeaturemap</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> - <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> - <list name="orders" table="`supplier_orders`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`supplier_orders_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`supplier_orders_idx`"/> - <one-to-many entity-name="Supplier_orders"/> - </list> - </class> - <class entity-name="Supplier_orders" lazy="false" table="`supplier_orders`"> - <meta attribute="featureMap">Supplier</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="preferredOrders" entity-name="PurchaseOrder" lazy="false" cascade="all" foreign-key="supplier_preferredorders" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`orders_purchaseorder_preferredorders_e_id`"/> - </many-to-one> - <many-to-one name="standardOrders" entity-name="PurchaseOrder" lazy="false" cascade="all" foreign-key="supplier_standardorders" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`orders_purchaseorder_standardorders_e_id`"/> - </many-to-one> - <property name="hardCopyOrderReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orders_hardcopyorderreference`"/> - </property> - <property name="hardCopyOrderNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`orders_hardcopyordernumber`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 9980b3a99..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,127 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.ComplexNumberImpl" entity-name="ComplexNumber" abstract="false" lazy="false" discriminator-value="ComplexNumber" table="`complexnumber`"> - <meta attribute="eclassName">ComplexNumber</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</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 type="string"> - <column name="dtype" index="complexnumberdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger"> - <column not-null="true" unique="false" name="`value`"/> - </property> - <property name="unit" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`unit`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.EvenComplexNumberTypeImpl" entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="EvenComplexNumberType"> - <meta attribute="eclassName">EvenComplexNumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</meta> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.MultiNumberTypeImpl" entity-name="MultiNumberType" abstract="false" lazy="false" discriminator-value="MultiNumberType" table="`multinumbertype`"> - <meta attribute="eclassName">MultiNumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</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 type="string"> - <column name="dtype" index="multinumbertypedtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="myComplexAbstractGroup" table="`multinumbertype_mycomplexabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`multinumbertype_mycomplexabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`multinumbertype_mycomplexabstractgroup_idx`"/> - <one-to-many entity-name="MultiNumberType_myComplexAbstractGroup"/> - </list> - </class> - <class entity-name="MultiNumberType_myComplexAbstractGroup" lazy="false" table="`multinumbertype_mycomplexabstractgroup`"> - <meta attribute="featureMap">MultiNumberType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" lazy="false" cascade="all" foreign-key="multinumbertype_mycomplexabstract" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mycomplexabstractgroup_complexnumber_mycomplexabstract_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.NumberTypeImpl" entity-name="NumberType" abstract="false" lazy="false" discriminator-value="NumberType" table="`numbertype`"> - <meta attribute="eclassName">NumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</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 type="string"> - <column name="dtype" index="numbertypedtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="mySimpleAbstractGroup" table="`numbertype_mysimpleabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`numbertype_mysimpleabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`numbertype_mysimpleabstractgroup_idx`"/> - <one-to-many entity-name="NumberType_mySimpleAbstractGroup"/> - </list> - <list name="myComplexAbstractGroup" table="`numbertype_mycomplexabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`numbertype_mycomplexabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`numbertype_mycomplexabstractgroup_idx`"/> - <one-to-many entity-name="NumberType_myComplexAbstractGroup"/> - </list> - </class> - <class entity-name="NumberType_mySimpleAbstractGroup" lazy="false" table="`numbertype_mysimpleabstractgroup`"> - <meta attribute="featureMap">NumberType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="mySimpleAbstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`mysimpleabstractgroup_mysimpleabstract`"/> - </property> - </class> - <class entity-name="NumberType_myComplexAbstractGroup" lazy="false" table="`numbertype_mycomplexabstractgroup`"> - <meta attribute="featureMap">NumberType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" lazy="false" cascade="all" foreign-key="numbertype_mycomplexabstract" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mycomplexabstractgroup_complexnumber_mycomplexabstract_e_id`"/> - </many-to-one> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.OddComplexNumberTypeImpl" entity-name="OddComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="OddComplexNumberType"> - <meta attribute="eclassName">OddComplexNumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 748778b2f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,124 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.ComplexNumberImpl" entity-name="ComplexNumber" abstract="false" lazy="false" table="`complexnumber`"> - <meta attribute="eclassName">ComplexNumber</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger"> - <column not-null="true" unique="false" name="`value`"/> - </property> - <property name="unit" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`unit`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.EvenComplexNumberTypeImpl" entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" table="`evencomplexnumbertype`"> - <meta attribute="eclassName">EvenComplexNumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</meta> - <key> - <column name="`complexnumber_e_id`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.MultiNumberTypeImpl" entity-name="MultiNumberType" abstract="false" lazy="false" table="`multinumbertype`"> - <meta attribute="eclassName">MultiNumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</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> - <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> - <list name="myComplexAbstractGroup" table="`multinumbertype_mycomplexabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`multinumbertype_mycomplexabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`multinumbertype_mycomplexabstractgroup_idx`"/> - <one-to-many entity-name="MultiNumberType_myComplexAbstractGroup"/> - </list> - </class> - <class entity-name="MultiNumberType_myComplexAbstractGroup" lazy="false" table="`multinumbertype_mycomplexabstractgroup`"> - <meta attribute="featureMap">MultiNumberType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" lazy="false" cascade="all" foreign-key="multinumbertype_mycomplexabstract" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mycomplexabstractgroup_complexnumber_mycomplexabstract_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.NumberTypeImpl" entity-name="NumberType" abstract="false" lazy="false" table="`numbertype`"> - <meta attribute="eclassName">NumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</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> - <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> - <list name="mySimpleAbstractGroup" table="`numbertype_mysimpleabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`numbertype_mysimpleabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`numbertype_mysimpleabstractgroup_idx`"/> - <one-to-many entity-name="NumberType_mySimpleAbstractGroup"/> - </list> - <list name="myComplexAbstractGroup" table="`numbertype_mycomplexabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`numbertype_mycomplexabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`numbertype_mycomplexabstractgroup_idx`"/> - <one-to-many entity-name="NumberType_myComplexAbstractGroup"/> - </list> - </class> - <class entity-name="NumberType_mySimpleAbstractGroup" lazy="false" table="`numbertype_mysimpleabstractgroup`"> - <meta attribute="featureMap">NumberType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="mySimpleAbstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`mysimpleabstractgroup_mysimpleabstract`"/> - </property> - </class> - <class entity-name="NumberType_myComplexAbstractGroup" lazy="false" table="`numbertype_mycomplexabstractgroup`"> - <meta attribute="featureMap">NumberType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" lazy="false" cascade="all" foreign-key="numbertype_mycomplexabstract" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mycomplexabstractgroup_complexnumber_mycomplexabstract_e_id`"/> - </many-to-one> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.OddComplexNumberTypeImpl" entity-name="OddComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" table="`oddcomplexnumbertype`"> - <meta attribute="eclassName">OddComplexNumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</meta> - <key> - <column name="`complexnumber_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 748778b2f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,124 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.ComplexNumberImpl" entity-name="ComplexNumber" abstract="false" lazy="false" table="`complexnumber`"> - <meta attribute="eclassName">ComplexNumber</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger"> - <column not-null="true" unique="false" name="`value`"/> - </property> - <property name="unit" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`unit`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.EvenComplexNumberTypeImpl" entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" table="`evencomplexnumbertype`"> - <meta attribute="eclassName">EvenComplexNumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</meta> - <key> - <column name="`complexnumber_e_id`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.MultiNumberTypeImpl" entity-name="MultiNumberType" abstract="false" lazy="false" table="`multinumbertype`"> - <meta attribute="eclassName">MultiNumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</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> - <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> - <list name="myComplexAbstractGroup" table="`multinumbertype_mycomplexabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`multinumbertype_mycomplexabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`multinumbertype_mycomplexabstractgroup_idx`"/> - <one-to-many entity-name="MultiNumberType_myComplexAbstractGroup"/> - </list> - </class> - <class entity-name="MultiNumberType_myComplexAbstractGroup" lazy="false" table="`multinumbertype_mycomplexabstractgroup`"> - <meta attribute="featureMap">MultiNumberType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" lazy="false" cascade="all" foreign-key="multinumbertype_mycomplexabstract" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mycomplexabstractgroup_complexnumber_mycomplexabstract_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.NumberTypeImpl" entity-name="NumberType" abstract="false" lazy="false" table="`numbertype`"> - <meta attribute="eclassName">NumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</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> - <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> - <list name="mySimpleAbstractGroup" table="`numbertype_mysimpleabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`numbertype_mysimpleabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`numbertype_mysimpleabstractgroup_idx`"/> - <one-to-many entity-name="NumberType_mySimpleAbstractGroup"/> - </list> - <list name="myComplexAbstractGroup" table="`numbertype_mycomplexabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`numbertype_mycomplexabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`numbertype_mycomplexabstractgroup_idx`"/> - <one-to-many entity-name="NumberType_myComplexAbstractGroup"/> - </list> - </class> - <class entity-name="NumberType_mySimpleAbstractGroup" lazy="false" table="`numbertype_mysimpleabstractgroup`"> - <meta attribute="featureMap">NumberType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="mySimpleAbstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`mysimpleabstractgroup_mysimpleabstract`"/> - </property> - </class> - <class entity-name="NumberType_myComplexAbstractGroup" lazy="false" table="`numbertype_mycomplexabstractgroup`"> - <meta attribute="featureMap">NumberType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" lazy="false" cascade="all" foreign-key="numbertype_mycomplexabstract" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mycomplexabstractgroup_complexnumber_mycomplexabstract_e_id`"/> - </many-to-one> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.OddComplexNumberTypeImpl" entity-name="OddComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" table="`oddcomplexnumbertype`"> - <meta attribute="eclassName">OddComplexNumberType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitution</meta> - <key> - <column name="`complexnumber_e_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 17e2497e7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexAAAImpl" entity-name="ComplexAAA" abstract="false" lazy="false" discriminator-value="ComplexAAA" table="`complexaaa`"> - <meta attribute="eclassName">ComplexAAA</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</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 type="string"> - <column name="dtype" index="complexaaadtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexEvenTypeImpl" entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexEvenType"> - <meta attribute="eclassName">ComplexEvenType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexOddTypeImpl" entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexOddType"> - <meta attribute="eclassName">ComplexOddType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta> - </subclass> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.RootTypeImpl" entity-name="RootType" abstract="false" lazy="false" discriminator-value="RootType" table="`roottype`"> - <meta attribute="eclassName">RootType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</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 type="string"> - <column name="dtype" index="roottypedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="myAbstractGroup" table="`roottype_myabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`roottype_myabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`roottype_myabstractgroup_idx`"/> - <one-to-many entity-name="RootType_myAbstractGroup"/> - </list> - <list name="myComplexAbstractGroup" table="`roottype_mycomplexabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`roottype_mycomplexabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`roottype_mycomplexabstractgroup_idx`"/> - <one-to-many entity-name="RootType_myComplexAbstractGroup"/> - </list> - </class> - <class entity-name="RootType_myAbstractGroup" lazy="false" table="`roottype_myabstractgroup`"> - <meta attribute="featureMap">RootType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="myAbstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`myabstractgroup_myabstract`"/> - </property> - </class> - <class entity-name="RootType_myComplexAbstractGroup" lazy="false" table="`roottype_mycomplexabstractgroup`"> - <meta attribute="featureMap">RootType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="myComplexAbstract" entity-name="ComplexAAA" lazy="false" cascade="all" foreign-key="roottype_mycomplexabstract" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mycomplexabstractgroup_complexaaa_mycomplexabstract_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index c43878c5d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexAAAImpl" entity-name="ComplexAAA" abstract="false" lazy="false" table="`complexaaa`"> - <meta attribute="eclassName">ComplexAAA</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexEvenTypeImpl" entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" table="`complexeventype`"> - <meta attribute="eclassName">ComplexEvenType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta> - <key> - <column name="`complexaaa_e_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexOddTypeImpl" entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" table="`complexoddtype`"> - <meta attribute="eclassName">ComplexOddType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta> - <key> - <column name="`complexaaa_e_id`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.RootTypeImpl" entity-name="RootType" abstract="false" lazy="false" table="`roottype`"> - <meta attribute="eclassName">RootType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="myAbstractGroup" table="`roottype_myabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`roottype_myabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`roottype_myabstractgroup_idx`"/> - <one-to-many entity-name="RootType_myAbstractGroup"/> - </list> - <list name="myComplexAbstractGroup" table="`roottype_mycomplexabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`roottype_mycomplexabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`roottype_mycomplexabstractgroup_idx`"/> - <one-to-many entity-name="RootType_myComplexAbstractGroup"/> - </list> - </class> - <class entity-name="RootType_myAbstractGroup" lazy="false" table="`roottype_myabstractgroup`"> - <meta attribute="featureMap">RootType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="myAbstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`myabstractgroup_myabstract`"/> - </property> - </class> - <class entity-name="RootType_myComplexAbstractGroup" lazy="false" table="`roottype_mycomplexabstractgroup`"> - <meta attribute="featureMap">RootType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="myComplexAbstract" entity-name="ComplexAAA" lazy="false" cascade="all" foreign-key="roottype_mycomplexabstract" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mycomplexabstractgroup_complexaaa_mycomplexabstract_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index c43878c5d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,84 +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="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexAAAImpl" entity-name="ComplexAAA" abstract="false" lazy="false" table="`complexaaa`"> - <meta attribute="eclassName">ComplexAAA</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexEvenTypeImpl" entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" table="`complexeventype`"> - <meta attribute="eclassName">ComplexEvenType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta> - <key> - <column name="`complexaaa_e_id`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexOddTypeImpl" entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" table="`complexoddtype`"> - <meta attribute="eclassName">ComplexOddType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta> - <key> - <column name="`complexaaa_e_id`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.RootTypeImpl" entity-name="RootType" abstract="false" lazy="false" table="`roottype`"> - <meta attribute="eclassName">RootType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="myAbstractGroup" table="`roottype_myabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`roottype_myabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`roottype_myabstractgroup_idx`"/> - <one-to-many entity-name="RootType_myAbstractGroup"/> - </list> - <list name="myComplexAbstractGroup" table="`roottype_mycomplexabstractgroup`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`roottype_mycomplexabstractgroup_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`roottype_mycomplexabstractgroup_idx`"/> - <one-to-many entity-name="RootType_myComplexAbstractGroup"/> - </list> - </class> - <class entity-name="RootType_myAbstractGroup" lazy="false" table="`roottype_myabstractgroup`"> - <meta attribute="featureMap">RootType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <property name="myAbstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`myabstractgroup_myabstract`"/> - </property> - </class> - <class entity-name="RootType_myComplexAbstractGroup" lazy="false" table="`roottype_mycomplexabstractgroup`"> - <meta attribute="featureMap">RootType</meta> - <id type="long"> - <generator class="native"/> - </id> - <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="fme_feature" type="java.lang.String"/> - <many-to-one name="myComplexAbstract" entity-name="ComplexAAA" lazy="false" cascade="all" foreign-key="roottype_mycomplexabstract" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mycomplexabstractgroup_complexaaa_mycomplexabstract_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 0ba596884..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,98 +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="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</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 type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="country" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="address_country"> - <column name="`address_country_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`address_country_idx`"/> - <one-to-many entity-name="City"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.CityImpl" entity-name="City" abstract="true" lazy="false" discriminator-value="City" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</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 type="string"> - <column name="dtype" index="citydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="city_address"> - <column name="`city_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`city_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_address"> - <column name="`person_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <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="`state`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.USCityImpl" entity-name="USCity" abstract="false" lazy="false" extends="City" discriminator-value="USCity"> - <meta attribute="eclassName">USCity</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <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="`state`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.USOfficeAddressImpl" entity-name="USOfficeAddress" abstract="false" lazy="false" extends="USAddress" discriminator-value="USOfficeAddress"> - <meta attribute="eclassName">USOfficeAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <property name="location" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`location`"/> - </property> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index be8757cb8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,98 +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="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</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="country" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="address_country"> - <column name="`address_country_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`address_country_idx`"/> - <one-to-many entity-name="City"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.CityImpl" entity-name="City" abstract="true" lazy="false" table="`city`"> - <meta attribute="eclassName" inherit="false">City</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</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="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="city_address"> - <column name="`city_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`city_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</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="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_address"> - <column name="`person_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`state`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.USCityImpl" entity-name="USCity" abstract="false" lazy="false" extends="City" table="`uscity`"> - <meta attribute="eclassName" inherit="false">USCity</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <key> - <column name="`city_e_id`"/> - </key> - <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`state`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.USOfficeAddressImpl" entity-name="USOfficeAddress" abstract="false" lazy="false" extends="USAddress" table="`usofficeaddress`"> - <meta attribute="eclassName" inherit="false">USOfficeAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <key> - <column name="`usaddress_e_id`"/> - </key> - <property name="location" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`location`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index be8757cb8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,98 +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="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</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="country" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="address_country"> - <column name="`address_country_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`address_country_idx`"/> - <one-to-many entity-name="City"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.CityImpl" entity-name="City" abstract="true" lazy="false" table="`city`"> - <meta attribute="eclassName" inherit="false">City</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</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="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="city_address"> - <column name="`city_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`city_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</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="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="person_address"> - <column name="`person_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`state`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.USCityImpl" entity-name="USCity" abstract="false" lazy="false" extends="City" table="`uscity`"> - <meta attribute="eclassName" inherit="false">USCity</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <key> - <column name="`city_e_id`"/> - </key> - <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`state`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.USOfficeAddressImpl" entity-name="USOfficeAddress" abstract="false" lazy="false" extends="USAddress" table="`usofficeaddress`"> - <meta attribute="eclassName" inherit="false">USOfficeAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <key> - <column name="`usaddress_e_id`"/> - </key> - <property name="location" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`location`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 9ac279678..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,157 +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"> - <typedef name="abstractsuper.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" discriminator-value="ContentList" table="`contentlist`"> - <meta attribute="eclassName">ContentList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="contentlistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName">UKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName">DistrictUKAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName">Price</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</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 type="string"> - <column name="DISCRIMINATOR" index="mypriceDISCRIMINATOR" length="255" not-null="true"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName">InternationalPrice</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.abstractsuper.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" discriminator-value="Customer" table="`customer`"> - <meta attribute="eclassName">Customer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="customerdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" discriminator-value="SpecificCustomer"> - <meta attribute="eclassName">SpecificCustomer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" discriminator-value="UKAddressList" table="`ukaddresslist`"> - <meta attribute="eclassName">UKAddressList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ukaddresslistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index e42a79368..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,151 +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"> - <typedef name="abstractsuper.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`"> - <meta attribute="eclassName" inherit="false">ContentList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName" inherit="false">UKAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName" inherit="false">DistrictUKAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName" inherit="false">Price</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</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> - <discriminator type="string"> - <column name="DISCRIMINATOR" index="mypriceDISCRIMINATOR" length="255" not-null="true"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName" inherit="false">InternationalPrice</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.abstractsuper.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName" inherit="false">Customer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName" inherit="false">SpecificCustomer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`customer_name`"/> - </key> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" table="`ukaddresslist`"> - <meta attribute="eclassName" inherit="false">UKAddressList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index e42a79368..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,151 +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"> - <typedef name="abstractsuper.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</param> - <param name="edatatype">USStateObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`street`"/> - </property> - <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`city`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.ContentListImpl" entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`"> - <meta attribute="eclassName" inherit="false">ContentList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_address"> - <column name="`contentlist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_address_idx`"/> - <one-to-many entity-name="Address"/> - </list> - <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="contentlist_price"> - <column name="`contentlist_price_name`" not-null="false" unique="false"/> - </key> - <list-index column="`contentlist_price_idx`"/> - <one-to-many entity-name="Price"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.UKAddressImpl" entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`"> - <meta attribute="eclassName" inherit="false">UKAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="postcode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`postcode`"/> - </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.DistrictUKAddressImpl" entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> - <meta attribute="eclassName" inherit="false">DistrictUKAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`ukaddress_name`"/> - </key> - <property name="district" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`district`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.PriceImpl" entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`"> - <meta attribute="eclassName" inherit="false">Price</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</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> - <discriminator type="string"> - <column name="DISCRIMINATOR" index="mypriceDISCRIMINATOR" length="255" not-null="true"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal"> - <column not-null="true" unique="false" name="`value`"/> - </property> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.InternationalPriceImpl" entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> - <meta attribute="eclassName" inherit="false">InternationalPrice</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <property name="currency" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`currency`"/> - </property> - </subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`unitedstatesaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`address_name`"/> - </key> - <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`state`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.abstractsuper.USState</param> - <param name="eclassifier">USState</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/issues/abstractsuper</param> - </type> - </property> - <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`zip`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`customer`"> - <meta attribute="eclassName" inherit="false">Customer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.SpecificCustomerImpl" entity-name="SpecificCustomer" abstract="false" lazy="false" extends="Customer" table="`specificcustomer`"> - <meta attribute="eclassName" inherit="false">SpecificCustomer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <key> - <column name="`customer_name`"/> - </key> - <property name="specificName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`specificname`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.abstractsuper.impl.UKAddressListImpl" entity-name="UKAddressList" abstract="false" lazy="false" table="`ukaddresslist`"> - <meta attribute="eclassName" inherit="false">UKAddressList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/issues/abstractsuper</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <list name="address" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="ukaddresslist_address"> - <column name="`ukaddresslist_address_name`" not-null="false" unique="false"/> - </key> - <list-index column="`ukaddresslist_address_idx`"/> - <one-to-many entity-name="UKAddress"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AgilAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AgilAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d01f9623e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AgilAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,1313 +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"> - -<!-- Generated by Teneo on Wed Mar 28 18:05:07 CEST 2007 --> -<hibernate-mapping> - <class entity-name="LearningObject" abstract="true" lazy="false" discriminator-value="LearningObject" table="`learningobject`"> - <meta attribute="eclassName">LearningObject</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="timestamp" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`timestamp`"/> - </property> - <property name="synchronized" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`synchronized`"/> - </property> - </class> - <subclass entity-name="Block" abstract="true" lazy="false" extends="LearningObject" discriminator-value="Block"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="blockMeta" class="BlockMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`blockmeta_blockmeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`block_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many class="ExternalMetadata"/> - </bag> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="HypertextBlock" abstract="false" lazy="false" extends="Block" discriminator-value="HypertextBlock"> - <meta attribute="eclassName">HypertextBlock</meta> - <meta attribute="epackage">lobj.ecore</meta> - <list name="hypertextContent" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`hypertextblock_hypertextcontent_id`" not-null="false" unique="false"/> - </key> - <list-index column="`hypertextblock_hypertextcontent_idx`"/> - <one-to-many class="HypertextContent"/> - </list> - </subclass> - <subclass entity-name="AbstractContent" abstract="true" lazy="false" extends="LearningObject" discriminator-value="AbstractContent"> - <meta attribute="eclassName">AbstractContent</meta> - <meta attribute="epackage">lobj.ecore</meta> - <property name="heading" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`heading`"/> - </property> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <many-to-one name="source" class="Source" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`source_source_e_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="HypertextContent" abstract="false" lazy="false" extends="AbstractContent" discriminator-value="HypertextContent"> - <meta attribute="eclassName">HypertextContent</meta> - <meta attribute="epackage">lobj.ecore</meta> - <property name="content" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`content`"/> - </property> - <many-to-one name="blockAudiofile" class="BlockAudiofile" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`blockaudiofile_blockaudiofile_id`"/> - </many-to-one> - <bag name="resrcFile" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`resrcfile_hypertextcontent`"> - <key update="true"> - <column name="`hypertextcontent_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="ResrcFile" unique="false"> - <column name="`resrcfile_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </subclass> - <subclass entity-name="BlockFolder" abstract="false" lazy="false" extends="LearningObject" discriminator-value="BlockFolder"> - <meta attribute="eclassName">BlockFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="folderMeta" class="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="blockFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockfolder_blockfolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`blockfolder_blockfolder_idx`"/> - <one-to-many class="BlockFolder"/> - </list> - <list name="block" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockfolder_block_id`" not-null="false" unique="false"/> - </key> - <list-index column="`blockfolder_block_idx`"/> - <one-to-many class="Block"/> - </list> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="Category" abstract="false" lazy="false" extends="LearningObject" discriminator-value="Category"> - <meta attribute="eclassName">Category</meta> - <meta attribute="epackage">lobj.ecore</meta> - <list name="titleMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`category_titlemeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`category_titlemeta_idx`"/> - <one-to-many class="TitleMeta"/> - </list> - <list name="course" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`category_course_id`" not-null="false" unique="false"/> - </key> - <list-index column="`category_course_idx`"/> - <one-to-many class="Course"/> - </list> - </subclass> - <class entity-name="CorrBlock" abstract="false" lazy="false" discriminator-value="CorrBlock" table="`corrblock`"> - <meta attribute="eclassName">CorrBlock</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="presentationBlock" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`corrblock_presentationblock_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`corrblock_presentationblock_idx`"/> - <one-to-many class="PresentationBlock"/> - </list> - <list name="titleMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`corrblock_titlemeta_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`corrblock_titlemeta_idx`"/> - <one-to-many class="TitleMeta"/> - </list> - </class> - <subclass entity-name="Course" abstract="false" lazy="false" extends="LearningObject" discriminator-value="Course"> - <meta attribute="eclassName">Course</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="courseMeta" class="CourseMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`coursemeta_coursemeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`course_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many class="ExternalMetadata"/> - </bag> - <many-to-one name="coursetype" class="Coursetype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`coursetype_coursetype_e_id`"/> - </many-to-one> - <property name="outlineAsXml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`outlineasxml`"/> - </property> - <list name="module" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`course_module_id`" not-null="false" unique="false"/> - </key> - <list-index column="`course_module_idx`"/> - <one-to-many class="Module"/> - </list> - </subclass> - <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="corrBlock" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`item_corrblock_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`item_corrblock_idx`"/> - <one-to-many class="CorrBlock"/> - </list> - <list name="childitems" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`item_childitems_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`item_childitems_idx`"/> - <one-to-many class="Item"/> - </list> - <property name="luRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`luref`"/> - </property> - </class> - <subclass entity-name="LearningUnit" abstract="false" lazy="false" extends="LearningObject" discriminator-value="LearningUnit"> - <meta attribute="eclassName">LearningUnit</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="luMeta" class="LuMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`lumeta_lumeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`learningunit_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many class="ExternalMetadata"/> - </bag> - <property name="treeAsXml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`treeasxml`"/> - </property> - <property name="luFile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lufile`"/> - </property> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - <list name="item" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`learningunit_item_id`" not-null="false" unique="false"/> - </key> - <list-index column="`learningunit_item_idx`"/> - <one-to-many class="Item"/> - </list> - </subclass> - <subclass entity-name="LuFolder" abstract="false" lazy="false" extends="LearningObject" discriminator-value="LuFolder"> - <meta attribute="eclassName">LuFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="folderMeta" class="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="luFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lufolder_lufolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lufolder_lufolder_idx`"/> - <one-to-many class="LuFolder"/> - </list> - <list name="learningUnit" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lufolder_learningunit_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lufolder_learningunit_idx`"/> - <one-to-many class="LearningUnit"/> - </list> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="Module" abstract="false" lazy="false" extends="LearningObject" discriminator-value="Module"> - <meta attribute="eclassName">Module</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="moduleMeta" class="ModuleMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`modulemeta_modulemeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`module_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many class="ExternalMetadata"/> - </bag> - <many-to-one name="rootNode" class="Node" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`node_rootnode_e_id`"/> - </many-to-one> - <property name="moduleFile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`modulefile`"/> - </property> - <property name="treeAsXml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`treeasxml`"/> - </property> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="ModuleFolder" abstract="false" lazy="false" extends="LearningObject" discriminator-value="ModuleFolder"> - <meta attribute="eclassName">ModuleFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="folderMeta" class="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="moduleFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulefolder_modulefolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulefolder_modulefolder_idx`"/> - <one-to-many class="ModuleFolder"/> - </list> - <list name="module" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulefolder_module_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulefolder_module_idx`"/> - <one-to-many class="Module"/> - </list> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="ResrcFolder" abstract="false" lazy="false" extends="LearningObject" discriminator-value="ResrcFolder"> - <meta attribute="eclassName">ResrcFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="folderMeta" class="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="resrcFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfolder_resrcfolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`resrcfolder_resrcfolder_idx`"/> - <one-to-many class="ResrcFolder"/> - </list> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - <property name="deleteScheduled" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`deletescheduled`"/> - </property> - <list name="resrcFile" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfolder_resrcfile_id`" not-null="false" unique="false"/> - </key> - <list-index column="`resrcfolder_resrcfile_idx`"/> - <one-to-many class="ResrcFile"/> - </list> - </subclass> - <subclass entity-name="Theme" abstract="false" lazy="false" extends="LearningObject" discriminator-value="Theme"> - <meta attribute="eclassName">Theme</meta> - <meta attribute="epackage">lobj.ecore</meta> - <list name="simpleDidacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`theme_simpledidacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`theme_simpledidacmeta_idx`"/> - <one-to-many class="SimpleDidacMeta"/> - </list> - </subclass> - <class entity-name="PresentationBlock" abstract="false" lazy="false" discriminator-value="PresentationBlock" table="`presentationblock`"> - <meta attribute="eclassName">PresentationBlock</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="lod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`lod`"/> - </property> - <property name="rendering" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`rendering`"/> - </property> - <many-to-one name="block" class="Block" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`block_block_id`"/> - </many-to-one> - </class> - <class name="lobj.Node" entity-name="Node" proxy="lobj.Node" abstract="true" lazy="true" discriminator-value="Node" table="`node`"> - <meta attribute="eclassName">Node</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="visible" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`visible`"/> - </property> - </class> - <subclass entity-name="ThemeNode" abstract="false" lazy="false" extends="Node" discriminator-value="ThemeNode"> - <meta attribute="eclassName">ThemeNode</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="theme" class="Theme" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`theme_theme_id`"/> - </many-to-one> - <list name="childnodes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`themenode_childnodes_id`" not-null="false" unique="false"/> - </key> - <list-index column="`themenode_childnodes_idx`"/> - <one-to-many class="Node"/> - </list> - </subclass> - <subclass entity-name="LuNode" abstract="false" lazy="false" extends="Node" discriminator-value="LuNode"> - <meta attribute="eclassName">LuNode</meta> - <meta attribute="epackage">lobj.ecore</meta> - <many-to-one name="learningUnit" class="LearningUnit" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`learningunit_learningunit_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="ResrcFile" abstract="false" lazy="false" extends="LearningObject" discriminator-value="ResrcFile"> - <meta attribute="eclassName">ResrcFile</meta> - <meta attribute="epackage">lobj.ecore</meta> - <array name="file" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfile_file_id`" not-null="true" unique="false"/> - </key> - <list-index column="`resrcfile_file_idx`"/> - <element type="byte"/> - </array> - <array name="file_tn" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfile_file_tn_id`" not-null="true" unique="false"/> - </key> - <list-index column="`resrcfile_file_tn_idx`"/> - <element type="byte"/> - </array> - <property name="originalextension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`originalextension`"/> - </property> - <property name="filesize" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`filesize`"/> - </property> - <property name="resrcHref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`resrchref`"/> - </property> - <many-to-one name="accesscontrol" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - <many-to-one name="resrcFiletype" class="ResrcFiletype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resrcfiletype_resrcfiletype_e_id`"/> - </many-to-one> - <many-to-one name="source" class="Source" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`source_source_e_id`"/> - </many-to-one> - <bag name="hypertextContent" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`resrcfile_hypertextcontent`"> - <key update="true"> - <column name="`resrcfile_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="HypertextContent" unique="false"> - <column name="`hypertextcontent_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="resrcMeta" class="ResrcMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resrcmeta_resrcmeta_id`"/> - </many-to-one> - </subclass> - <subclass entity-name="BlockAudiofile" abstract="false" lazy="false" extends="LearningObject" discriminator-value="BlockAudiofile"> - <meta attribute="eclassName">BlockAudiofile</meta> - <meta attribute="epackage">lobj.ecore</meta> - <array name="file" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockaudiofile_file_id`" not-null="true" unique="false"/> - </key> - <list-index column="`blockaudiofile_file_idx`"/> - <element type="byte"/> - </array> - <property name="originalextension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`originalextension`"/> - </property> - <property name="filesize" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`filesize`"/> - </property> - <property name="resrcHref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`resrchref`"/> - </property> - <many-to-one name="resrcFiletype" class="ResrcFiletype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resrcfiletype_resrcfiletype_e_id`"/> - </many-to-one> - </subclass> - <class entity-name="ResrcFiletype" abstract="false" lazy="false" discriminator-value="ResrcFiletype" table="`resrcfiletype`"> - <meta attribute="eclassName">ResrcFiletype</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="filetypeExtension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypeextension`"/> - </property> - <property name="filetypeDesc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypedesc`"/> - </property> - <property name="image" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`image`"/> - </property> - <property name="applet" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`applet`"/> - </property> - <property name="filetypeImageSmall" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypeimagesmall`"/> - </property> - <property name="filetypeImageBif" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypeimagebif`"/> - </property> - </class> - <class entity-name="AccessControl" abstract="false" lazy="false" discriminator-value="AccessControl" table="`accesscontrol`"> - <meta attribute="eclassName">AccessControl</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="owner" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_owner_e_id`"/> - </many-to-one> - <property name="lastModified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastmodified`"/> - </property> - <many-to-one name="lastModifiedBy" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_lastmodifiedby_e_id`"/> - </many-to-one> - <property name="status" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`status`"/> - </property> - <property name="lastStatusChange" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`laststatuschange`"/> - </property> - <many-to-one name="lastStatusChangeBy" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_laststatuschangeby_e_id`"/> - </many-to-one> - <many-to-one name="sharednotes" class="Sharednotes" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`sharednotes_sharednotes_e_id`"/> - </many-to-one> - <list name="authorizes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`accesscontrol_authorizes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accesscontrol_authorizes_idx`"/> - <one-to-many class="Userauthorization"/> - </list> - <list name="editionHistory" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`accesscontrol_editionhistory_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accesscontrol_editionhistory_idx`"/> - <one-to-many class="Edition"/> - </list> - <property name="globalAccess" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`globalaccess`"/> - </property> - </class> - <class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`street`"/> - </property> - <property name="postcode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`postcode`"/> - </property> - <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="`city`"/> - </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="`state`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - <property name="phone" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phone`"/> - </property> - <property name="fax" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`fax`"/> - </property> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - <property name="otheraddr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`otheraddr`"/> - </property> - </class> - <class entity-name="Affiliation" abstract="false" lazy="false" discriminator-value="Affiliation" table="`affiliation`"> - <meta attribute="eclassName">Affiliation</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="shortaffil" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`shortaffil`"/> - </property> - <property name="jobtitle" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`jobtitle`"/> - </property> - <property name="orgname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orgname`"/> - </property> - <property name="orgdiv" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orgdiv`"/> - </property> - <many-to-one name="address" class="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_id`"/> - </many-to-one> - </class> - <class entity-name="Author" abstract="false" lazy="false" discriminator-value="Author" table="`author`"> - <meta attribute="eclassName">Author</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="credittype" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`credittype`"/> - </property> - <many-to-one name="person" class="Person" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_person_e_id`"/> - </many-to-one> - <many-to-one name="address" class="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_id`"/> - </many-to-one> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - </class> - <subclass entity-name="BlockMeta" abstract="false" lazy="false" extends="LearningObject" discriminator-value="BlockMeta"> - <meta attribute="eclassName">BlockMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <property name="lod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`lod`"/> - </property> - <property name="rendering" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`rendering`"/> - </property> - <many-to-one name="blocktype" class="Blocktype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`blocktype_blocktype_e_id`"/> - </many-to-one> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="lastModified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastmodified`"/> - </property> - <list name="simpleDidacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockmeta_simpledidacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`blockmeta_simpledidacmeta_idx`"/> - <one-to-many class="SimpleDidacMeta"/> - </list> - <many-to-one name="defLang" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_e_id`"/> - </many-to-one> - </subclass> - <class entity-name="Blocktype" abstract="false" lazy="false" discriminator-value="Blocktype" table="`blocktype`"> - <meta attribute="eclassName">Blocktype</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="styleRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`styleref`"/> - </property> - <bag name="domains" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`domain_blocktype`"> - <key update="true"> - <column name="`blocktype_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Domain" unique="false"> - <column name="`domain_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class entity-name="TitleMeta" abstract="false" lazy="false" discriminator-value="TitleMeta" table="`titlemeta`"> - <meta attribute="eclassName">TitleMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - </class> - <subclass entity-name="CourseMeta" abstract="false" lazy="false" extends="LearningObject" discriminator-value="CourseMeta"> - <meta attribute="eclassName">CourseMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <list name="didacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`coursemeta_didacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`coursemeta_didacmeta_idx`"/> - <one-to-many class="DidacMeta"/> - </list> - <property name="hours" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`hours`"/> - </property> - <property name="lvanr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lvanr`"/> - </property> - <property name="columnfilterasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnfilterasxml`"/> - </property> - <property name="fromext" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`fromext`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <many-to-one name="lecturer" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_lecturer_e_id`"/> - </many-to-one> - <many-to-one name="defLang" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_e_id`"/> - </many-to-one> - </subclass> - <class entity-name="SimpleDidacMeta" abstract="false" lazy="false" discriminator-value="SimpleDidacMeta" table="`simpledidacmeta`"> - <meta attribute="eclassName">SimpleDidacMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="keywords" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`keywords`"/> - </property> - </class> - <subclass entity-name="DidacMeta" abstract="false" lazy="false" extends="SimpleDidacMeta" discriminator-value="DidacMeta"> - <meta attribute="eclassName">DidacMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <property name="goal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`goal`"/> - </property> - <many-to-one name="precognition" class="Precognition" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`precognition_precognition_e_id`"/> - </many-to-one> - </subclass> - <class entity-name="Domain" abstract="false" lazy="false" discriminator-value="Domain" table="`domain`"> - <meta attribute="eclassName">Domain</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <bag name="blocktypes" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`domain_blocktype`"> - <key update="true"> - <column name="`domain_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Blocktype" unique="false"> - <column name="`blocktype_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="serverURL" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`serverurl`"/> - </property> - </class> - <class entity-name="Edition" abstract="false" lazy="false" discriminator-value="Edition" table="`edition`"> - <meta attribute="eclassName">Edition</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="editionNr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`editionnr`"/> - </property> - <property name="editedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`editedby`"/> - </property> - <property name="version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`version`"/> - </property> - <property name="lastVersionNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastversionnumber`"/> - </property> - <property name="status" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`status`"/> - </property> - <property name="editionCreationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`editioncreationdate`"/> - </property> - </class> - <subclass entity-name="FolderMeta" abstract="false" lazy="false" extends="LearningObject" discriminator-value="FolderMeta"> - <meta attribute="eclassName">FolderMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - </subclass> - <subclass entity-name="LuMeta" abstract="false" lazy="false" extends="LearningObject" discriminator-value="LuMeta"> - <meta attribute="eclassName">LuMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <list name="didacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lumeta_didacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lumeta_didacmeta_idx`"/> - <one-to-many class="DidacMeta"/> - </list> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <many-to-one name="domain" class="Domain" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`domain_domain_id`"/> - </many-to-one> - <list name="authors" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lumeta_authors_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lumeta_authors_idx`"/> - <one-to-many class="Author"/> - </list> - <many-to-one name="publishInfo" class="PublishInfo" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publishinfo_publishinfo_e_id`"/> - </many-to-one> - <many-to-one name="defLang" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_e_id`"/> - </many-to-one> - </subclass> - <class entity-name="Userauthorization" abstract="false" lazy="false" discriminator-value="Userauthorization" table="`userauthorization`"> - <meta attribute="eclassName">Userauthorization</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="user" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_user_e_id`"/> - </many-to-one> - <many-to-one name="authType" class="AuthorizationTypes" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`authorizationtypes_authtype_e_id`"/> - </many-to-one> - </class> - <class entity-name="Note" abstract="false" lazy="false" discriminator-value="Note" table="`note`"> - <meta attribute="eclassName">Note</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`date`"/> - </property> - <property name="noteAuthor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`noteauthor`"/> - </property> - <property name="content" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`content`"/> - </property> - </class> - <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="honorific" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`honorific`"/> - </property> - <property name="firstname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - <property name="surname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`surname`"/> - </property> - <property name="contrib" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`contrib`"/> - </property> - <list name="affiliations" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_affiliations_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_affiliations_idx`"/> - <one-to-many class="Affiliation"/> - </list> - <property name="personblurb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`personblurb`"/> - </property> - </class> - <class entity-name="Publisher" abstract="false" lazy="false" discriminator-value="Publisher" table="`publisher`"> - <meta attribute="eclassName">Publisher</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="publishername" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`publishername`"/> - </property> - <many-to-one name="address" class="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_id`"/> - </many-to-one> - </class> - <class entity-name="PublishInfo" abstract="false" lazy="false" discriminator-value="PublishInfo" table="`publishinfo`"> - <meta attribute="eclassName">PublishInfo</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="edition" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`edition`"/> - </property> - <property name="pubdate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`pubdate`"/> - </property> - <many-to-one name="publisher" class="Publisher" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publisher_publisher_id`"/> - </many-to-one> - <property name="pubsnumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`pubsnumber`"/> - </property> - <property name="releaseinfo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`releaseinfo`"/> - </property> - </class> - <subclass entity-name="ResrcMeta" abstract="false" lazy="false" extends="LearningObject" discriminator-value="ResrcMeta"> - <meta attribute="eclassName">ResrcMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <property name="filename" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filename`"/> - </property> - <property name="parameters" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`parameters`"/> - </property> - <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`height`"/> - </property> - <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`width`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="lastModified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastmodified`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="keywords" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`keywords`"/> - </property> - </subclass> - <class entity-name="Sharednotes" abstract="false" lazy="false" discriminator-value="Sharednotes" table="`sharednotes`"> - <meta attribute="eclassName">Sharednotes</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <list name="notes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`sharednotes_notes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`sharednotes_notes_idx`"/> - <one-to-many class="Note"/> - </list> - </class> - <class entity-name="Coursetype" abstract="false" lazy="false" discriminator-value="Coursetype" table="`coursetype`"> - <meta attribute="eclassName">Coursetype</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - </class> - <class entity-name="ExternalMetadata" abstract="false" lazy="false" discriminator-value="ExternalMetadata" table="`externalmetadata`"> - <meta attribute="eclassName">ExternalMetadata</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ref`"/> - </property> - <property name="file" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`file`"/> - </property> - </class> - <class entity-name="Language" abstract="false" lazy="false" discriminator-value="Language" table="`language`"> - <meta attribute="eclassName">Language</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="code" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </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="language" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`language`"/> - </property> - </class> - <class entity-name="Precognition" abstract="false" lazy="false" discriminator-value="Precognition" table="`precognition`"> - <meta attribute="eclassName">Precognition</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="precog" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`precog`"/> - </property> - <list name="internalRefs" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`precognition_internalrefs_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`precognition_internalrefs_idx`"/> - <one-to-many class="InternalRef"/> - </list> - </class> - <class entity-name="InternalRef" abstract="false" lazy="false" discriminator-value="InternalRef" table="`internalref`"> - <meta attribute="eclassName">InternalRef</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_code`"/> - </many-to-one> - <property name="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ref`"/> - </property> - <property name="file" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`file`"/> - </property> - <property name="reftype" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`reftype`"/> - </property> - </class> - <subclass entity-name="ModuleMeta" abstract="false" lazy="false" extends="LearningObject" discriminator-value="ModuleMeta"> - <meta attribute="eclassName">ModuleMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <list name="didacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulemeta_didacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulemeta_didacmeta_idx`"/> - <one-to-many class="DidacMeta"/> - </list> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <list name="authors" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulemeta_authors_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulemeta_authors_idx`"/> - <one-to-many class="Author"/> - </list> - <many-to-one name="publishInfo" class="PublishInfo" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publishinfo_publishinfo_id`"/> - </many-to-one> - <many-to-one name="defLang" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_code`"/> - </many-to-one> - </subclass> - <class entity-name="Source" abstract="false" lazy="false" discriminator-value="Source" table="`source`"> - <meta attribute="eclassName">Source</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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> - <many-to-one name="author" class="Author" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`author_author_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="subtitle" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`subtitle`"/> - </property> - <property name="publishedIn" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`publishedin`"/> - </property> - <property name="publishedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`publishedby`"/> - </property> - <property name="publishDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`publishdate`"/> - </property> - <property name="pp" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`pp`"/> - </property> - </class> - <class entity-name="AuthorizationTypes" abstract="false" lazy="false" discriminator-value="AuthorizationTypes" table="`authorizationtypes`"> - <meta attribute="eclassName">AuthorizationTypes</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="authType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`authtype`"/> - </property> - <property name="authTypeDesc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`authtypedesc`"/> - </property> - <property name="readOnly" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`readonly`"/> - </property> - </class> - <class entity-name="User" abstract="false" lazy="false" discriminator-value="User" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </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="loginname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`loginname`"/> - </property> - <property name="password" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`password`"/> - </property> - <property name="firstname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - <property name="lastname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastname`"/> - </property> - <property name="matriculationnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`matriculationnr`"/> - </property> - <property name="scn" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`scn`"/> - </property> - <property name="icqnumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`icqnumber`"/> - </property> - <property name="icqpassword" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`icqpassword`"/> - </property> - <property name="entryasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`entryasxml`"/> - </property> - <property name="languagenr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`languagenr`"/> - </property> - <property name="notificationprofileasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`notificationprofileasxml`"/> - </property> - <property name="dossierasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`dossierasxml`"/> - </property> - <array name="photo" cascade="all,delete-orphan"> - <key update="true"> - <column name="`user_photo_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`user_photo_idx`"/> - <element type="byte"/> - </array> - <property name="onlinestatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`onlinestatus`"/> - </property> - <property name="onlinedate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`onlinedate`"/> - </property> - <property name="datafilter" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`datafilter`"/> - </property> - <property name="inchatsince" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`inchatsince`"/> - </property> - <property name="contchatdate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`contchatdate`"/> - </property> - <property name="chatroomnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`chatroomnr`"/> - </property> - <property name="fromext" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`fromext`"/> - </property> - <property name="lastlogindate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastlogindate`"/> - </property> - <property name="currlogindate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`currlogindate`"/> - </property> - <property name="lastcoursematerialnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`lastcoursematerialnr`"/> - </property> - <property name="lastcoursematerialviewnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`lastcoursematerialviewnr`"/> - </property> - <property name="authenticateldap" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`authenticateldap`"/> - </property> - <property name="photochanged" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`photochanged`"/> - </property> - <list name="authorizations" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`user_authorizations_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`user_authorizations_idx`"/> - <one-to-many class="AuthorizationTypes"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AgilAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AgilAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 85786a337..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AgilAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,1356 +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"> - -<!-- Generated by Teneo on Tue Mar 27 09:40:39 CEST 2007 --> -<hibernate-mapping> - <class entity-name="LearningObject" abstract="true" lazy="false" table="`learningobject`"> - <meta attribute="eclassName">LearningObject</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="timestamp" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`timestamp`"/> - </property> - <property name="synchronized" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`synchronized`"/> - </property> - </class> - <joined-subclass entity-name="Block" abstract="true" lazy="false" extends="LearningObject" table="`block`"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="blockMeta" entity-name="BlockMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`blockmeta_blockmeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`block_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ExternalMetadata"/> - </bag> - <many-to-one name="accessControl" entity-name="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="HypertextBlock" abstract="false" lazy="false" extends="Block" table="`hypertextblock`"> - <meta attribute="eclassName">HypertextBlock</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`block_id`"/> - </key> - <list name="hypertextContent" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`hypertextblock_hypertextcontent_id`" not-null="false" unique="false"/> - </key> - <list-index column="`hypertextblock_hypertextcontent_idx`"/> - <one-to-many entity-name="HypertextContent"/> - </list> - </joined-subclass> - <joined-subclass entity-name="AbstractContent" abstract="true" lazy="false" extends="LearningObject" table="`abstractcontent`"> - <meta attribute="eclassName">AbstractContent</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <property name="heading" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`heading`"/> - </property> - <many-to-one name="language" entity-name="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <many-to-one name="source" entity-name="Source" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`source_source_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="HypertextContent" abstract="false" lazy="false" extends="AbstractContent" table="`hypertextcontent`"> - <meta attribute="eclassName">HypertextContent</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`abstractcontent_id`"/> - </key> - <property name="content" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`content`"/> - </property> - <many-to-one name="blockAudiofile" entity-name="BlockAudiofile" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`blockaudiofile_blockaudiofile_id`"/> - </many-to-one> - <bag name="resrcFile" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`resrcfile_hypertextcontent`"> - <key update="true"> - <column name="`hypertextcontent_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="ResrcFile" unique="false"> - <column name="`resrcfile_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </joined-subclass> - <joined-subclass entity-name="BlockFolder" abstract="false" lazy="false" extends="LearningObject" table="`blockfolder`"> - <meta attribute="eclassName">BlockFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="folderMeta" entity-name="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="blockFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockfolder_blockfolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`blockfolder_blockfolder_idx`"/> - <one-to-many entity-name="BlockFolder"/> - </list> - <list name="block" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockfolder_block_id`" not-null="false" unique="false"/> - </key> - <list-index column="`blockfolder_block_idx`"/> - <one-to-many entity-name="Block"/> - </list> - <many-to-one name="accessControl" entity-name="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="Category" abstract="false" lazy="false" extends="LearningObject" table="`category`"> - <meta attribute="eclassName">Category</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="titleMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`category_titlemeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`category_titlemeta_idx`"/> - <one-to-many entity-name="TitleMeta"/> - </list> - <list name="course" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`category_course_id`" not-null="false" unique="false"/> - </key> - <list-index column="`category_course_idx`"/> - <one-to-many entity-name="Course"/> - </list> - </joined-subclass> - <class entity-name="CorrBlock" abstract="false" lazy="false" table="`corrblock`"> - <meta attribute="eclassName">CorrBlock</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="presentationBlock" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`corrblock_presentationblock_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`corrblock_presentationblock_idx`"/> - <one-to-many entity-name="PresentationBlock"/> - </list> - <list name="titleMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`corrblock_titlemeta_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`corrblock_titlemeta_idx`"/> - <one-to-many entity-name="TitleMeta"/> - </list> - </class> - <joined-subclass entity-name="Course" abstract="false" lazy="false" extends="LearningObject" table="`course`"> - <meta attribute="eclassName">Course</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="courseMeta" entity-name="CourseMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`coursemeta_coursemeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`course_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ExternalMetadata"/> - </bag> - <many-to-one name="coursetype" entity-name="Coursetype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`coursetype_coursetype_e_id`"/> - </many-to-one> - <property name="outlineAsXml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`outlineasxml`"/> - </property> - <list name="module" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`course_module_id`" not-null="false" unique="false"/> - </key> - <list-index column="`course_module_idx`"/> - <one-to-many entity-name="Module"/> - </list> - </joined-subclass> - <class entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="corrBlock" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`item_corrblock_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`item_corrblock_idx`"/> - <one-to-many entity-name="CorrBlock"/> - </list> - <list name="childitems" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`item_childitems_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`item_childitems_idx`"/> - <one-to-many entity-name="Item"/> - </list> - <property name="luRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`luref`"/> - </property> - </class> - <joined-subclass entity-name="LearningUnit" abstract="false" lazy="false" extends="LearningObject" table="`learningunit`"> - <meta attribute="eclassName">LearningUnit</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="luMeta" entity-name="LuMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`lumeta_lumeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`learningunit_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ExternalMetadata"/> - </bag> - <property name="treeAsXml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`treeasxml`"/> - </property> - <property name="luFile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lufile`"/> - </property> - <many-to-one name="accessControl" entity-name="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - <list name="item" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`learningunit_item_id`" not-null="false" unique="false"/> - </key> - <list-index column="`learningunit_item_idx`"/> - <one-to-many entity-name="Item"/> - </list> - </joined-subclass> - <joined-subclass entity-name="LuFolder" abstract="false" lazy="false" extends="LearningObject" table="`lufolder`"> - <meta attribute="eclassName">LuFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="folderMeta" entity-name="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="luFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lufolder_lufolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lufolder_lufolder_idx`"/> - <one-to-many entity-name="LuFolder"/> - </list> - <list name="learningUnit" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lufolder_learningunit_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lufolder_learningunit_idx`"/> - <one-to-many entity-name="LearningUnit"/> - </list> - <many-to-one name="accessControl" entity-name="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="Module" abstract="false" lazy="false" extends="LearningObject" table="`module`"> - <meta attribute="eclassName">Module</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="moduleMeta" entity-name="ModuleMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`modulemeta_modulemeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`module_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="ExternalMetadata"/> - </bag> - <many-to-one name="rootNode" entity-name="Node" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`node_rootnode_e_id`"/> - </many-to-one> - <property name="moduleFile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`modulefile`"/> - </property> - <property name="treeAsXml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`treeasxml`"/> - </property> - <many-to-one name="accessControl" entity-name="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="ModuleFolder" abstract="false" lazy="false" extends="LearningObject" table="`modulefolder`"> - <meta attribute="eclassName">ModuleFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="folderMeta" entity-name="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="moduleFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulefolder_modulefolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulefolder_modulefolder_idx`"/> - <one-to-many entity-name="ModuleFolder"/> - </list> - <list name="module" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulefolder_module_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulefolder_module_idx`"/> - <one-to-many entity-name="Module"/> - </list> - <many-to-one name="accessControl" entity-name="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="ResrcFolder" abstract="false" lazy="false" extends="LearningObject" table="`resrcfolder`"> - <meta attribute="eclassName">ResrcFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="folderMeta" entity-name="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="resrcFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfolder_resrcfolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`resrcfolder_resrcfolder_idx`"/> - <one-to-many entity-name="ResrcFolder"/> - </list> - <many-to-one name="accessControl" entity-name="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - <property name="deleteScheduled" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`deletescheduled`"/> - </property> - <list name="resrcFile" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfolder_resrcfile_id`" not-null="false" unique="false"/> - </key> - <list-index column="`resrcfolder_resrcfile_idx`"/> - <one-to-many entity-name="ResrcFile"/> - </list> - </joined-subclass> - <joined-subclass entity-name="Theme" abstract="false" lazy="false" extends="LearningObject" table="`theme`"> - <meta attribute="eclassName">Theme</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="simpleDidacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`theme_simpledidacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`theme_simpledidacmeta_idx`"/> - <one-to-many entity-name="SimpleDidacMeta"/> - </list> - </joined-subclass> - <class entity-name="PresentationBlock" abstract="false" lazy="false" table="`presentationblock`"> - <meta attribute="eclassName">PresentationBlock</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="lod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`lod`"/> - </property> - <property name="rendering" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`rendering`"/> - </property> - <many-to-one name="block" entity-name="Block" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`block_block_id`"/> - </many-to-one> - </class> - <class entity-name="Node" abstract="true" lazy="false" table="`node`"> - <meta attribute="eclassName">Node</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="visible" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`visible`"/> - </property> - </class> - <joined-subclass entity-name="ThemeNode" abstract="false" lazy="false" extends="Node" table="`themenode`"> - <meta attribute="eclassName">ThemeNode</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`node_id`"/> - </key> - <many-to-one name="theme" entity-name="Theme" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`theme_theme_id`"/> - </many-to-one> - <list name="childnodes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`themenode_childnodes_id`" not-null="false" unique="false"/> - </key> - <list-index column="`themenode_childnodes_idx`"/> - <one-to-many entity-name="Node"/> - </list> - </joined-subclass> - <joined-subclass entity-name="LuNode" abstract="false" lazy="false" extends="Node" table="`lunode`"> - <meta attribute="eclassName">LuNode</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`node_id`"/> - </key> - <many-to-one name="learningUnit" entity-name="LearningUnit" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`learningunit_learningunit_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="ResrcFile" abstract="false" lazy="false" extends="LearningObject" table="`resrcfile`"> - <meta attribute="eclassName">ResrcFile</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <array name="file" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfile_file_id`" not-null="true" unique="false"/> - </key> - <list-index column="`resrcfile_file_idx`"/> - <element type="byte"/> - </array> - <array name="file_tn" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfile_file_tn_id`" not-null="true" unique="false"/> - </key> - <list-index column="`resrcfile_file_tn_idx`"/> - <element type="byte"/> - </array> - <property name="originalextension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`originalextension`"/> - </property> - <property name="filesize" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`filesize`"/> - </property> - <property name="resrcHref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`resrchref`"/> - </property> - <many-to-one name="accesscontrol" entity-name="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - <many-to-one name="resrcFiletype" entity-name="ResrcFiletype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resrcfiletype_resrcfiletype_e_id`"/> - </many-to-one> - <many-to-one name="source" entity-name="Source" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`source_source_e_id`"/> - </many-to-one> - <bag name="hypertextContent" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`resrcfile_hypertextcontent`"> - <key update="true"> - <column name="`resrcfile_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="HypertextContent" unique="false"> - <column name="`hypertextcontent_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="resrcMeta" entity-name="ResrcMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resrcmeta_resrcmeta_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="BlockAudiofile" abstract="false" lazy="false" extends="LearningObject" table="`blockaudiofile`"> - <meta attribute="eclassName">BlockAudiofile</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <array name="file" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockaudiofile_file_id`" not-null="true" unique="false"/> - </key> - <list-index column="`blockaudiofile_file_idx`"/> - <element type="byte"/> - </array> - <property name="originalextension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`originalextension`"/> - </property> - <property name="filesize" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`filesize`"/> - </property> - <property name="resrcHref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`resrchref`"/> - </property> - <many-to-one name="resrcFiletype" entity-name="ResrcFiletype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resrcfiletype_resrcfiletype_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="ResrcFiletype" abstract="false" lazy="false" table="`resrcfiletype`"> - <meta attribute="eclassName">ResrcFiletype</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="filetypeExtension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypeextension`"/> - </property> - <property name="filetypeDesc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypedesc`"/> - </property> - <property name="image" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`image`"/> - </property> - <property name="applet" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`applet`"/> - </property> - <property name="filetypeImageSmall" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypeimagesmall`"/> - </property> - <property name="filetypeImageBif" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypeimagebif`"/> - </property> - </class> - <class entity-name="AccessControl" abstract="false" lazy="false" table="`accesscontrol`"> - <meta attribute="eclassName">AccessControl</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="owner" entity-name="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_owner_e_id`"/> - </many-to-one> - <property name="lastModified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastmodified`"/> - </property> - <many-to-one name="lastModifiedBy" entity-name="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_lastmodifiedby_e_id`"/> - </many-to-one> - <property name="status" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`status`"/> - </property> - <property name="lastStatusChange" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`laststatuschange`"/> - </property> - <many-to-one name="lastStatusChangeBy" entity-name="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_laststatuschangeby_e_id`"/> - </many-to-one> - <many-to-one name="sharednotes" entity-name="Sharednotes" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`sharednotes_sharednotes_e_id`"/> - </many-to-one> - <list name="authorizes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`accesscontrol_authorizes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accesscontrol_authorizes_idx`"/> - <one-to-many entity-name="Userauthorization"/> - </list> - <list name="editionHistory" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`accesscontrol_editionhistory_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accesscontrol_editionhistory_idx`"/> - <one-to-many entity-name="Edition"/> - </list> - <property name="globalAccess" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`globalaccess`"/> - </property> - </class> - <class entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`street`"/> - </property> - <property name="postcode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`postcode`"/> - </property> - <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="`city`"/> - </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="`state`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - <property name="phone" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phone`"/> - </property> - <property name="fax" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`fax`"/> - </property> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - <property name="otheraddr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`otheraddr`"/> - </property> - </class> - <class entity-name="Affiliation" abstract="false" lazy="false" table="`affiliation`"> - <meta attribute="eclassName">Affiliation</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="shortaffil" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`shortaffil`"/> - </property> - <property name="jobtitle" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`jobtitle`"/> - </property> - <property name="orgname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orgname`"/> - </property> - <property name="orgdiv" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orgdiv`"/> - </property> - <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_id`"/> - </many-to-one> - </class> - <class entity-name="Author" abstract="false" lazy="false" table="`author`"> - <meta attribute="eclassName">Author</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="credittype" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`credittype`"/> - </property> - <many-to-one name="person" entity-name="Person" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_person_e_id`"/> - </many-to-one> - <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_id`"/> - </many-to-one> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - </class> - <joined-subclass entity-name="BlockMeta" abstract="false" lazy="false" extends="LearningObject" table="`blockmeta`"> - <meta attribute="eclassName">BlockMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <property name="lod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`lod`"/> - </property> - <property name="rendering" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`rendering`"/> - </property> - <many-to-one name="blocktype" entity-name="Blocktype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`blocktype_blocktype_e_id`"/> - </many-to-one> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="lastModified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastmodified`"/> - </property> - <list name="simpleDidacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockmeta_simpledidacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`blockmeta_simpledidacmeta_idx`"/> - <one-to-many entity-name="SimpleDidacMeta"/> - </list> - <many-to-one name="defLang" entity-name="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="Blocktype" abstract="false" lazy="false" table="`blocktype`"> - <meta attribute="eclassName">Blocktype</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="styleRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`styleref`"/> - </property> - <bag name="domains" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`domain_blocktype`"> - <key update="true"> - <column name="`blocktype_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Domain" unique="false"> - <column name="`domain_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class entity-name="TitleMeta" abstract="false" lazy="false" table="`titlemeta`"> - <meta attribute="eclassName">TitleMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="language" entity-name="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - </class> - <joined-subclass entity-name="CourseMeta" abstract="false" lazy="false" extends="LearningObject" table="`coursemeta`"> - <meta attribute="eclassName">CourseMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="didacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`coursemeta_didacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`coursemeta_didacmeta_idx`"/> - <one-to-many entity-name="DidacMeta"/> - </list> - <property name="hours" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`hours`"/> - </property> - <property name="lvanr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lvanr`"/> - </property> - <property name="columnfilterasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnfilterasxml`"/> - </property> - <property name="fromext" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`fromext`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <many-to-one name="lecturer" entity-name="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_lecturer_e_id`"/> - </many-to-one> - <many-to-one name="defLang" entity-name="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="SimpleDidacMeta" abstract="false" lazy="false" table="`simpledidacmeta`"> - <meta attribute="eclassName">SimpleDidacMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="language" entity-name="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="keywords" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`keywords`"/> - </property> - </class> - <joined-subclass entity-name="DidacMeta" abstract="false" lazy="false" extends="SimpleDidacMeta" table="`didacmeta`"> - <meta attribute="eclassName">DidacMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`simpledidacmeta_id`"/> - </key> - <property name="goal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`goal`"/> - </property> - <many-to-one name="precognition" entity-name="Precognition" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`precognition_precognition_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="Domain" abstract="false" lazy="false" table="`domain`"> - <meta attribute="eclassName">Domain</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <bag name="blocktypes" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`domain_blocktype`"> - <key update="true"> - <column name="`domain_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Blocktype" unique="false"> - <column name="`blocktype_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="serverURL" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`serverurl`"/> - </property> - </class> - <class entity-name="Edition" abstract="false" lazy="false" table="`edition`"> - <meta attribute="eclassName">Edition</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="editionNr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`editionnr`"/> - </property> - <property name="editedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`editedby`"/> - </property> - <property name="version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`version`"/> - </property> - <property name="lastVersionNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastversionnumber`"/> - </property> - <property name="status" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`status`"/> - </property> - <property name="editionCreationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`editioncreationdate`"/> - </property> - </class> - <joined-subclass entity-name="FolderMeta" abstract="false" lazy="false" extends="LearningObject" table="`foldermeta`"> - <meta attribute="eclassName">FolderMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - </joined-subclass> - <joined-subclass entity-name="LuMeta" abstract="false" lazy="false" extends="LearningObject" table="`lumeta`"> - <meta attribute="eclassName">LuMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="didacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lumeta_didacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lumeta_didacmeta_idx`"/> - <one-to-many entity-name="DidacMeta"/> - </list> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <many-to-one name="domain" entity-name="Domain" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`domain_domain_id`"/> - </many-to-one> - <list name="authors" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lumeta_authors_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lumeta_authors_idx`"/> - <one-to-many entity-name="Author"/> - </list> - <many-to-one name="publishInfo" entity-name="PublishInfo" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publishinfo_publishinfo_e_id`"/> - </many-to-one> - <many-to-one name="defLang" entity-name="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="Userauthorization" abstract="false" lazy="false" table="`userauthorization`"> - <meta attribute="eclassName">Userauthorization</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="user" entity-name="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_user_e_id`"/> - </many-to-one> - <many-to-one name="authType" entity-name="AuthorizationTypes" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`authorizationtypes_authtype_e_id`"/> - </many-to-one> - </class> - <class entity-name="Note" abstract="false" lazy="false" table="`note`"> - <meta attribute="eclassName">Note</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`date`"/> - </property> - <property name="noteAuthor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`noteauthor`"/> - </property> - <property name="content" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`content`"/> - </property> - </class> - <class entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="honorific" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`honorific`"/> - </property> - <property name="firstname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - <property name="surname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`surname`"/> - </property> - <property name="contrib" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`contrib`"/> - </property> - <list name="affiliations" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_affiliations_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_affiliations_idx`"/> - <one-to-many entity-name="Affiliation"/> - </list> - <property name="personblurb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`personblurb`"/> - </property> - </class> - <class entity-name="Publisher" abstract="false" lazy="false" table="`publisher`"> - <meta attribute="eclassName">Publisher</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="publishername" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`publishername`"/> - </property> - <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_id`"/> - </many-to-one> - </class> - <class entity-name="PublishInfo" abstract="false" lazy="false" table="`publishinfo`"> - <meta attribute="eclassName">PublishInfo</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="edition" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`edition`"/> - </property> - <property name="pubdate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`pubdate`"/> - </property> - <many-to-one name="publisher" entity-name="Publisher" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publisher_publisher_id`"/> - </many-to-one> - <property name="pubsnumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`pubsnumber`"/> - </property> - <property name="releaseinfo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`releaseinfo`"/> - </property> - </class> - <joined-subclass entity-name="ResrcMeta" abstract="false" lazy="false" extends="LearningObject" table="`resrcmeta`"> - <meta attribute="eclassName">ResrcMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <property name="filename" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filename`"/> - </property> - <property name="parameters" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`parameters`"/> - </property> - <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`height`"/> - </property> - <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`width`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="lastModified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastmodified`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="keywords" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`keywords`"/> - </property> - </joined-subclass> - <class entity-name="Sharednotes" abstract="false" lazy="false" table="`sharednotes`"> - <meta attribute="eclassName">Sharednotes</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="notes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`sharednotes_notes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`sharednotes_notes_idx`"/> - <one-to-many entity-name="Note"/> - </list> - </class> - <class entity-name="Coursetype" abstract="false" lazy="false" table="`coursetype`"> - <meta attribute="eclassName">Coursetype</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="language" entity-name="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - </class> - <class entity-name="ExternalMetadata" abstract="false" lazy="false" table="`externalmetadata`"> - <meta attribute="eclassName">ExternalMetadata</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ref`"/> - </property> - <property name="file" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`file`"/> - </property> - </class> - <class entity-name="Language" abstract="false" lazy="false" table="`language`"> - <meta attribute="eclassName">Language</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="code" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="language" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`language`"/> - </property> - </class> - <class entity-name="Precognition" abstract="false" lazy="false" table="`precognition`"> - <meta attribute="eclassName">Precognition</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="precog" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`precog`"/> - </property> - <list name="internalRefs" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`precognition_internalrefs_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`precognition_internalrefs_idx`"/> - <one-to-many entity-name="InternalRef"/> - </list> - </class> - <class entity-name="InternalRef" abstract="false" lazy="false" table="`internalref`"> - <meta attribute="eclassName">InternalRef</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="language" entity-name="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_code`"/> - </many-to-one> - <property name="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ref`"/> - </property> - <property name="file" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`file`"/> - </property> - <property name="reftype" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`reftype`"/> - </property> - </class> - <joined-subclass entity-name="ModuleMeta" abstract="false" lazy="false" extends="LearningObject" table="`modulemeta`"> - <meta attribute="eclassName">ModuleMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="didacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulemeta_didacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulemeta_didacmeta_idx`"/> - <one-to-many entity-name="DidacMeta"/> - </list> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <list name="authors" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulemeta_authors_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulemeta_authors_idx`"/> - <one-to-many entity-name="Author"/> - </list> - <many-to-one name="publishInfo" entity-name="PublishInfo" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publishinfo_publishinfo_id`"/> - </many-to-one> - <many-to-one name="defLang" entity-name="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_code`"/> - </many-to-one> - </joined-subclass> - <class entity-name="Source" abstract="false" lazy="false" table="`source`"> - <meta attribute="eclassName">Source</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="author" entity-name="Author" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`author_author_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="subtitle" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`subtitle`"/> - </property> - <property name="publishedIn" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`publishedin`"/> - </property> - <property name="publishedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`publishedby`"/> - </property> - <property name="publishDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`publishdate`"/> - </property> - <property name="pp" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`pp`"/> - </property> - </class> - <class entity-name="AuthorizationTypes" abstract="false" lazy="false" table="`authorizationtypes`"> - <meta attribute="eclassName">AuthorizationTypes</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="authType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`authtype`"/> - </property> - <property name="authTypeDesc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`authtypedesc`"/> - </property> - <property name="readOnly" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`readonly`"/> - </property> - </class> - <class entity-name="User" abstract="false" lazy="false" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="loginname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`loginname`"/> - </property> - <property name="password" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`password`"/> - </property> - <property name="firstname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - <property name="lastname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastname`"/> - </property> - <property name="matriculationnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`matriculationnr`"/> - </property> - <property name="scn" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`scn`"/> - </property> - <property name="icqnumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`icqnumber`"/> - </property> - <property name="icqpassword" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`icqpassword`"/> - </property> - <property name="entryasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`entryasxml`"/> - </property> - <property name="languagenr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`languagenr`"/> - </property> - <property name="notificationprofileasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`notificationprofileasxml`"/> - </property> - <property name="dossierasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`dossierasxml`"/> - </property> - <array name="photo" cascade="all,delete-orphan"> - <key update="true"> - <column name="`user_photo_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`user_photo_idx`"/> - <element type="byte"/> - </array> - <property name="onlinestatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`onlinestatus`"/> - </property> - <property name="onlinedate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`onlinedate`"/> - </property> - <property name="datafilter" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`datafilter`"/> - </property> - <property name="inchatsince" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`inchatsince`"/> - </property> - <property name="contchatdate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`contchatdate`"/> - </property> - <property name="chatroomnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`chatroomnr`"/> - </property> - <property name="fromext" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`fromext`"/> - </property> - <property name="lastlogindate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastlogindate`"/> - </property> - <property name="currlogindate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`currlogindate`"/> - </property> - <property name="lastcoursematerialnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`lastcoursematerialnr`"/> - </property> - <property name="lastcoursematerialviewnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`lastcoursematerialviewnr`"/> - </property> - <property name="authenticateldap" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`authenticateldap`"/> - </property> - <property name="photochanged" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`photochanged`"/> - </property> - <list name="authorizations" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`user_authorizations_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`user_authorizations_idx`"/> - <one-to-many entity-name="AuthorizationTypes"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AgilAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AgilAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 27c57b83d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AgilAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,1356 +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"> - -<!-- Generated by Teneo on Wed Mar 28 18:04:40 CEST 2007 --> -<hibernate-mapping> - <class entity-name="LearningObject" abstract="true" lazy="false" table="`learningobject`"> - <meta attribute="eclassName">LearningObject</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="timestamp" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> - <column not-null="true" unique="false" name="`timestamp`"/> - </property> - <property name="synchronized" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean"> - <column not-null="true" unique="false" name="`synchronized`"/> - </property> - </class> - <joined-subclass entity-name="Block" abstract="true" lazy="false" extends="LearningObject" table="`block`"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="blockMeta" class="BlockMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`blockmeta_blockmeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`block_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many class="ExternalMetadata"/> - </bag> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="HypertextBlock" abstract="false" lazy="false" extends="Block" table="`hypertextblock`"> - <meta attribute="eclassName">HypertextBlock</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`block_id`"/> - </key> - <list name="hypertextContent" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`hypertextblock_hypertextcontent_id`" not-null="false" unique="false"/> - </key> - <list-index column="`hypertextblock_hypertextcontent_idx`"/> - <one-to-many class="HypertextContent"/> - </list> - </joined-subclass> - <joined-subclass entity-name="AbstractContent" abstract="true" lazy="false" extends="LearningObject" table="`abstractcontent`"> - <meta attribute="eclassName">AbstractContent</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <property name="heading" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`heading`"/> - </property> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <many-to-one name="source" class="Source" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`source_source_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="HypertextContent" abstract="false" lazy="false" extends="AbstractContent" table="`hypertextcontent`"> - <meta attribute="eclassName">HypertextContent</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`abstractcontent_id`"/> - </key> - <property name="content" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`content`"/> - </property> - <many-to-one name="blockAudiofile" class="BlockAudiofile" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`blockaudiofile_blockaudiofile_id`"/> - </many-to-one> - <bag name="resrcFile" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`resrcfile_hypertextcontent`"> - <key update="true"> - <column name="`hypertextcontent_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="ResrcFile" unique="false"> - <column name="`resrcfile_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </joined-subclass> - <joined-subclass entity-name="BlockFolder" abstract="false" lazy="false" extends="LearningObject" table="`blockfolder`"> - <meta attribute="eclassName">BlockFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="folderMeta" class="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="blockFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockfolder_blockfolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`blockfolder_blockfolder_idx`"/> - <one-to-many class="BlockFolder"/> - </list> - <list name="block" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockfolder_block_id`" not-null="false" unique="false"/> - </key> - <list-index column="`blockfolder_block_idx`"/> - <one-to-many class="Block"/> - </list> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="Category" abstract="false" lazy="false" extends="LearningObject" table="`category`"> - <meta attribute="eclassName">Category</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="titleMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`category_titlemeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`category_titlemeta_idx`"/> - <one-to-many class="TitleMeta"/> - </list> - <list name="course" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`category_course_id`" not-null="false" unique="false"/> - </key> - <list-index column="`category_course_idx`"/> - <one-to-many class="Course"/> - </list> - </joined-subclass> - <class entity-name="CorrBlock" abstract="false" lazy="false" table="`corrblock`"> - <meta attribute="eclassName">CorrBlock</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="presentationBlock" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`corrblock_presentationblock_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`corrblock_presentationblock_idx`"/> - <one-to-many class="PresentationBlock"/> - </list> - <list name="titleMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`corrblock_titlemeta_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`corrblock_titlemeta_idx`"/> - <one-to-many class="TitleMeta"/> - </list> - </class> - <joined-subclass entity-name="Course" abstract="false" lazy="false" extends="LearningObject" table="`course`"> - <meta attribute="eclassName">Course</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="courseMeta" class="CourseMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`coursemeta_coursemeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`course_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many class="ExternalMetadata"/> - </bag> - <many-to-one name="coursetype" class="Coursetype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`coursetype_coursetype_e_id`"/> - </many-to-one> - <property name="outlineAsXml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`outlineasxml`"/> - </property> - <list name="module" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`course_module_id`" not-null="false" unique="false"/> - </key> - <list-index column="`course_module_idx`"/> - <one-to-many class="Module"/> - </list> - </joined-subclass> - <class entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="corrBlock" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`item_corrblock_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`item_corrblock_idx`"/> - <one-to-many class="CorrBlock"/> - </list> - <list name="childitems" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`item_childitems_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`item_childitems_idx`"/> - <one-to-many class="Item"/> - </list> - <property name="luRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`luref`"/> - </property> - </class> - <joined-subclass entity-name="LearningUnit" abstract="false" lazy="false" extends="LearningObject" table="`learningunit`"> - <meta attribute="eclassName">LearningUnit</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="luMeta" class="LuMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`lumeta_lumeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`learningunit_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many class="ExternalMetadata"/> - </bag> - <property name="treeAsXml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`treeasxml`"/> - </property> - <property name="luFile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lufile`"/> - </property> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - <list name="item" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`learningunit_item_id`" not-null="false" unique="false"/> - </key> - <list-index column="`learningunit_item_idx`"/> - <one-to-many class="Item"/> - </list> - </joined-subclass> - <joined-subclass entity-name="LuFolder" abstract="false" lazy="false" extends="LearningObject" table="`lufolder`"> - <meta attribute="eclassName">LuFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="folderMeta" class="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="luFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lufolder_lufolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lufolder_lufolder_idx`"/> - <one-to-many class="LuFolder"/> - </list> - <list name="learningUnit" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lufolder_learningunit_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lufolder_learningunit_idx`"/> - <one-to-many class="LearningUnit"/> - </list> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="Module" abstract="false" lazy="false" extends="LearningObject" table="`module`"> - <meta attribute="eclassName">Module</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="moduleMeta" class="ModuleMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`modulemeta_modulemeta_id`"/> - </many-to-one> - <bag name="externalMetadata" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`module_externalmetadata_id`" not-null="false" unique="false"/> - </key> - <one-to-many class="ExternalMetadata"/> - </bag> - <many-to-one name="rootNode" class="Node" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`node_rootnode_e_id`"/> - </many-to-one> - <property name="moduleFile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`modulefile`"/> - </property> - <property name="treeAsXml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`treeasxml`"/> - </property> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="ModuleFolder" abstract="false" lazy="false" extends="LearningObject" table="`modulefolder`"> - <meta attribute="eclassName">ModuleFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="folderMeta" class="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="moduleFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulefolder_modulefolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulefolder_modulefolder_idx`"/> - <one-to-many class="ModuleFolder"/> - </list> - <list name="module" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulefolder_module_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulefolder_module_idx`"/> - <one-to-many class="Module"/> - </list> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="ResrcFolder" abstract="false" lazy="false" extends="LearningObject" table="`resrcfolder`"> - <meta attribute="eclassName">ResrcFolder</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <many-to-one name="folderMeta" class="FolderMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`foldermeta_foldermeta_id`"/> - </many-to-one> - <list name="resrcFolder" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfolder_resrcfolder_id`" not-null="false" unique="false"/> - </key> - <list-index column="`resrcfolder_resrcfolder_idx`"/> - <one-to-many class="ResrcFolder"/> - </list> - <many-to-one name="accessControl" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - <property name="deleteScheduled" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`deletescheduled`"/> - </property> - <list name="resrcFile" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfolder_resrcfile_id`" not-null="false" unique="false"/> - </key> - <list-index column="`resrcfolder_resrcfile_idx`"/> - <one-to-many class="ResrcFile"/> - </list> - </joined-subclass> - <joined-subclass entity-name="Theme" abstract="false" lazy="false" extends="LearningObject" table="`theme`"> - <meta attribute="eclassName">Theme</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="simpleDidacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`theme_simpledidacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`theme_simpledidacmeta_idx`"/> - <one-to-many class="SimpleDidacMeta"/> - </list> - </joined-subclass> - <class entity-name="PresentationBlock" abstract="false" lazy="false" table="`presentationblock`"> - <meta attribute="eclassName">PresentationBlock</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="lod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`lod`"/> - </property> - <property name="rendering" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`rendering`"/> - </property> - <many-to-one name="block" class="Block" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`block_block_id`"/> - </many-to-one> - </class> - <class name="lobj.Node" entity-name="Node" proxy="lobj.Node" abstract="true" lazy="true" table="`node`"> - <meta attribute="eclassName">Node</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="visible" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`visible`"/> - </property> - </class> - <joined-subclass entity-name="ThemeNode" abstract="false" lazy="false" extends="Node" table="`themenode`"> - <meta attribute="eclassName">ThemeNode</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`node_id`"/> - </key> - <many-to-one name="theme" class="Theme" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`theme_theme_id`"/> - </many-to-one> - <list name="childnodes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`themenode_childnodes_id`" not-null="false" unique="false"/> - </key> - <list-index column="`themenode_childnodes_idx`"/> - <one-to-many class="Node"/> - </list> - </joined-subclass> - <joined-subclass entity-name="LuNode" abstract="false" lazy="false" extends="Node" table="`lunode`"> - <meta attribute="eclassName">LuNode</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`node_id`"/> - </key> - <many-to-one name="learningUnit" class="LearningUnit" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`learningunit_learningunit_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="ResrcFile" abstract="false" lazy="false" extends="LearningObject" table="`resrcfile`"> - <meta attribute="eclassName">ResrcFile</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <array name="file" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfile_file_id`" not-null="true" unique="false"/> - </key> - <list-index column="`resrcfile_file_idx`"/> - <element type="byte"/> - </array> - <array name="file_tn" cascade="all,delete-orphan"> - <key update="true"> - <column name="`resrcfile_file_tn_id`" not-null="true" unique="false"/> - </key> - <list-index column="`resrcfile_file_tn_idx`"/> - <element type="byte"/> - </array> - <property name="originalextension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`originalextension`"/> - </property> - <property name="filesize" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`filesize`"/> - </property> - <property name="resrcHref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`resrchref`"/> - </property> - <many-to-one name="accesscontrol" class="AccessControl" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`accesscontrol_accesscontrol_e_id`"/> - </many-to-one> - <many-to-one name="resrcFiletype" class="ResrcFiletype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resrcfiletype_resrcfiletype_e_id`"/> - </many-to-one> - <many-to-one name="source" class="Source" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`source_source_e_id`"/> - </many-to-one> - <bag name="hypertextContent" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`resrcfile_hypertextcontent`"> - <key update="true"> - <column name="`resrcfile_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="HypertextContent" unique="false"> - <column name="`hypertextcontent_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="resrcMeta" class="ResrcMeta" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resrcmeta_resrcmeta_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass entity-name="BlockAudiofile" abstract="false" lazy="false" extends="LearningObject" table="`blockaudiofile`"> - <meta attribute="eclassName">BlockAudiofile</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <array name="file" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockaudiofile_file_id`" not-null="true" unique="false"/> - </key> - <list-index column="`blockaudiofile_file_idx`"/> - <element type="byte"/> - </array> - <property name="originalextension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`originalextension`"/> - </property> - <property name="filesize" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`filesize`"/> - </property> - <property name="resrcHref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`resrchref`"/> - </property> - <many-to-one name="resrcFiletype" class="ResrcFiletype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`resrcfiletype_resrcfiletype_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="ResrcFiletype" abstract="false" lazy="false" table="`resrcfiletype`"> - <meta attribute="eclassName">ResrcFiletype</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="filetypeExtension" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypeextension`"/> - </property> - <property name="filetypeDesc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypedesc`"/> - </property> - <property name="image" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`image`"/> - </property> - <property name="applet" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`applet`"/> - </property> - <property name="filetypeImageSmall" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypeimagesmall`"/> - </property> - <property name="filetypeImageBif" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filetypeimagebif`"/> - </property> - </class> - <class entity-name="AccessControl" abstract="false" lazy="false" table="`accesscontrol`"> - <meta attribute="eclassName">AccessControl</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="owner" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_owner_e_id`"/> - </many-to-one> - <property name="lastModified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastmodified`"/> - </property> - <many-to-one name="lastModifiedBy" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_lastmodifiedby_e_id`"/> - </many-to-one> - <property name="status" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`status`"/> - </property> - <property name="lastStatusChange" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`laststatuschange`"/> - </property> - <many-to-one name="lastStatusChangeBy" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_laststatuschangeby_e_id`"/> - </many-to-one> - <many-to-one name="sharednotes" class="Sharednotes" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`sharednotes_sharednotes_e_id`"/> - </many-to-one> - <list name="authorizes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`accesscontrol_authorizes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accesscontrol_authorizes_idx`"/> - <one-to-many class="Userauthorization"/> - </list> - <list name="editionHistory" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`accesscontrol_editionhistory_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`accesscontrol_editionhistory_idx`"/> - <one-to-many class="Edition"/> - </list> - <property name="globalAccess" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`globalaccess`"/> - </property> - </class> - <class entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`street`"/> - </property> - <property name="postcode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`postcode`"/> - </property> - <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="`city`"/> - </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="`state`"/> - </property> - <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`country`"/> - </property> - <property name="phone" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`phone`"/> - </property> - <property name="fax" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`fax`"/> - </property> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - <property name="otheraddr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`otheraddr`"/> - </property> - </class> - <class entity-name="Affiliation" abstract="false" lazy="false" table="`affiliation`"> - <meta attribute="eclassName">Affiliation</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="shortaffil" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`shortaffil`"/> - </property> - <property name="jobtitle" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`jobtitle`"/> - </property> - <property name="orgname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orgname`"/> - </property> - <property name="orgdiv" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`orgdiv`"/> - </property> - <many-to-one name="address" class="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_id`"/> - </many-to-one> - </class> - <class entity-name="Author" abstract="false" lazy="false" table="`author`"> - <meta attribute="eclassName">Author</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="credittype" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`credittype`"/> - </property> - <many-to-one name="person" class="Person" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_person_e_id`"/> - </many-to-one> - <many-to-one name="address" class="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_id`"/> - </many-to-one> - <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`email`"/> - </property> - </class> - <joined-subclass entity-name="BlockMeta" abstract="false" lazy="false" extends="LearningObject" table="`blockmeta`"> - <meta attribute="eclassName">BlockMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <property name="lod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`lod`"/> - </property> - <property name="rendering" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`rendering`"/> - </property> - <many-to-one name="blocktype" class="Blocktype" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`blocktype_blocktype_e_id`"/> - </many-to-one> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="lastModified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastmodified`"/> - </property> - <list name="simpleDidacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`blockmeta_simpledidacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`blockmeta_simpledidacmeta_idx`"/> - <one-to-many class="SimpleDidacMeta"/> - </list> - <many-to-one name="defLang" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="Blocktype" abstract="false" lazy="false" table="`blocktype`"> - <meta attribute="eclassName">Blocktype</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="styleRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`styleref`"/> - </property> - <bag name="domains" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`domain_blocktype`"> - <key update="true"> - <column name="`blocktype_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Domain" unique="false"> - <column name="`domain_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class entity-name="TitleMeta" abstract="false" lazy="false" table="`titlemeta`"> - <meta attribute="eclassName">TitleMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - </class> - <joined-subclass entity-name="CourseMeta" abstract="false" lazy="false" extends="LearningObject" table="`coursemeta`"> - <meta attribute="eclassName">CourseMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="didacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`coursemeta_didacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`coursemeta_didacmeta_idx`"/> - <one-to-many class="DidacMeta"/> - </list> - <property name="hours" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`hours`"/> - </property> - <property name="lvanr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lvanr`"/> - </property> - <property name="columnfilterasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`columnfilterasxml`"/> - </property> - <property name="fromext" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`fromext`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <many-to-one name="lecturer" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_lecturer_e_id`"/> - </many-to-one> - <many-to-one name="defLang" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="SimpleDidacMeta" abstract="false" lazy="false" table="`simpledidacmeta`"> - <meta attribute="eclassName">SimpleDidacMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="keywords" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`keywords`"/> - </property> - </class> - <joined-subclass entity-name="DidacMeta" abstract="false" lazy="false" extends="SimpleDidacMeta" table="`didacmeta`"> - <meta attribute="eclassName">DidacMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`simpledidacmeta_id`"/> - </key> - <property name="goal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`goal`"/> - </property> - <many-to-one name="precognition" class="Precognition" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`precognition_precognition_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="Domain" abstract="false" lazy="false" table="`domain`"> - <meta attribute="eclassName">Domain</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <bag name="blocktypes" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`domain_blocktype`"> - <key update="true"> - <column name="`domain_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Blocktype" unique="false"> - <column name="`blocktype_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="serverURL" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`serverurl`"/> - </property> - </class> - <class entity-name="Edition" abstract="false" lazy="false" table="`edition`"> - <meta attribute="eclassName">Edition</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="editionNr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`editionnr`"/> - </property> - <property name="editedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`editedby`"/> - </property> - <property name="version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`version`"/> - </property> - <property name="lastVersionNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastversionnumber`"/> - </property> - <property name="status" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`status`"/> - </property> - <property name="editionCreationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`editioncreationdate`"/> - </property> - </class> - <joined-subclass entity-name="FolderMeta" abstract="false" lazy="false" extends="LearningObject" table="`foldermeta`"> - <meta attribute="eclassName">FolderMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - </joined-subclass> - <joined-subclass entity-name="LuMeta" abstract="false" lazy="false" extends="LearningObject" table="`lumeta`"> - <meta attribute="eclassName">LuMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="didacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lumeta_didacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lumeta_didacmeta_idx`"/> - <one-to-many class="DidacMeta"/> - </list> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <many-to-one name="domain" class="Domain" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`domain_domain_id`"/> - </many-to-one> - <list name="authors" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`lumeta_authors_id`" not-null="false" unique="false"/> - </key> - <list-index column="`lumeta_authors_idx`"/> - <one-to-many class="Author"/> - </list> - <many-to-one name="publishInfo" class="PublishInfo" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publishinfo_publishinfo_e_id`"/> - </many-to-one> - <many-to-one name="defLang" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_e_id`"/> - </many-to-one> - </joined-subclass> - <class entity-name="Userauthorization" abstract="false" lazy="false" table="`userauthorization`"> - <meta attribute="eclassName">Userauthorization</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="user" class="User" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`user_user_e_id`"/> - </many-to-one> - <many-to-one name="authType" class="AuthorizationTypes" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`authorizationtypes_authtype_e_id`"/> - </many-to-one> - </class> - <class entity-name="Note" abstract="false" lazy="false" table="`note`"> - <meta attribute="eclassName">Note</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`date`"/> - </property> - <property name="noteAuthor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`noteauthor`"/> - </property> - <property name="content" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`content`"/> - </property> - </class> - <class entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="honorific" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`honorific`"/> - </property> - <property name="firstname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - <property name="surname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`surname`"/> - </property> - <property name="contrib" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`contrib`"/> - </property> - <list name="affiliations" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`person_affiliations_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`person_affiliations_idx`"/> - <one-to-many class="Affiliation"/> - </list> - <property name="personblurb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`personblurb`"/> - </property> - </class> - <class entity-name="Publisher" abstract="false" lazy="false" table="`publisher`"> - <meta attribute="eclassName">Publisher</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="publishername" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`publishername`"/> - </property> - <many-to-one name="address" class="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`address_address_id`"/> - </many-to-one> - </class> - <class entity-name="PublishInfo" abstract="false" lazy="false" table="`publishinfo`"> - <meta attribute="eclassName">PublishInfo</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="edition" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`edition`"/> - </property> - <property name="pubdate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`pubdate`"/> - </property> - <many-to-one name="publisher" class="Publisher" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publisher_publisher_id`"/> - </many-to-one> - <property name="pubsnumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`pubsnumber`"/> - </property> - <property name="releaseinfo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`releaseinfo`"/> - </property> - </class> - <joined-subclass entity-name="ResrcMeta" abstract="false" lazy="false" extends="LearningObject" table="`resrcmeta`"> - <meta attribute="eclassName">ResrcMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <property name="filename" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`filename`"/> - </property> - <property name="parameters" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`parameters`"/> - </property> - <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`height`"/> - </property> - <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`width`"/> - </property> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <property name="lastModified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastmodified`"/> - </property> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="keywords" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`keywords`"/> - </property> - </joined-subclass> - <class entity-name="Sharednotes" abstract="false" lazy="false" table="`sharednotes`"> - <meta attribute="eclassName">Sharednotes</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="notes" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`sharednotes_notes_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`sharednotes_notes_idx`"/> - <one-to-many class="Note"/> - </list> - </class> - <class entity-name="Coursetype" abstract="false" lazy="false" table="`coursetype`"> - <meta attribute="eclassName">Coursetype</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_e_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - </class> - <class entity-name="ExternalMetadata" abstract="false" lazy="false" table="`externalmetadata`"> - <meta attribute="eclassName">ExternalMetadata</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ref`"/> - </property> - <property name="file" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`file`"/> - </property> - </class> - <class entity-name="Language" abstract="false" lazy="false" table="`language`"> - <meta attribute="eclassName">Language</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="code" type="java.lang.String"> - <column not-null="true" unique="false" name="`code`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="language" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`language`"/> - </property> - </class> - <class entity-name="Precognition" abstract="false" lazy="false" table="`precognition`"> - <meta attribute="eclassName">Precognition</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="precog" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`precog`"/> - </property> - <list name="internalRefs" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`precognition_internalrefs_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`precognition_internalrefs_idx`"/> - <one-to-many class="InternalRef"/> - </list> - </class> - <class entity-name="InternalRef" abstract="false" lazy="false" table="`internalref`"> - <meta attribute="eclassName">InternalRef</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="language" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_language_code`"/> - </many-to-one> - <property name="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ref`"/> - </property> - <property name="file" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`file`"/> - </property> - <property name="reftype" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`reftype`"/> - </property> - </class> - <joined-subclass entity-name="ModuleMeta" abstract="false" lazy="false" extends="LearningObject" table="`modulemeta`"> - <meta attribute="eclassName">ModuleMeta</meta> - <meta attribute="epackage">lobj.ecore</meta> - <key> - <column name="`learningobject_id`"/> - </key> - <list name="didacMeta" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulemeta_didacmeta_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulemeta_didacmeta_idx`"/> - <one-to-many class="DidacMeta"/> - </list> - <property name="creationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`creationdate`"/> - </property> - <list name="authors" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`modulemeta_authors_id`" not-null="false" unique="false"/> - </key> - <list-index column="`modulemeta_authors_idx`"/> - <one-to-many class="Author"/> - </list> - <many-to-one name="publishInfo" class="PublishInfo" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`publishinfo_publishinfo_id`"/> - </many-to-one> - <many-to-one name="defLang" class="Language" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`language_deflang_code`"/> - </many-to-one> - </joined-subclass> - <class entity-name="Source" abstract="false" lazy="false" table="`source`"> - <meta attribute="eclassName">Source</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="author" class="Author" cascade="all" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`author_author_id`"/> - </many-to-one> - <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`title`"/> - </property> - <property name="subtitle" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`subtitle`"/> - </property> - <property name="publishedIn" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`publishedin`"/> - </property> - <property name="publishedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`publishedby`"/> - </property> - <property name="publishDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate"> - <column not-null="false" unique="false" name="`publishdate`"/> - </property> - <property name="pp" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`pp`"/> - </property> - </class> - <class entity-name="AuthorizationTypes" abstract="false" lazy="false" table="`authorizationtypes`"> - <meta attribute="eclassName">AuthorizationTypes</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="authType" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`authtype`"/> - </property> - <property name="authTypeDesc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`authtypedesc`"/> - </property> - <property name="readOnly" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`readonly`"/> - </property> - </class> - <class entity-name="User" abstract="false" lazy="false" table="`user`"> - <meta attribute="eclassName">User</meta> - <meta attribute="epackage">lobj.ecore</meta> - <id name="id" type="java.lang.String"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="loginname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`loginname`"/> - </property> - <property name="password" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`password`"/> - </property> - <property name="firstname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> - </property> - <property name="lastname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastname`"/> - </property> - <property name="matriculationnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`matriculationnr`"/> - </property> - <property name="scn" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`scn`"/> - </property> - <property name="icqnumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`icqnumber`"/> - </property> - <property name="icqpassword" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`icqpassword`"/> - </property> - <property name="entryasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`entryasxml`"/> - </property> - <property name="languagenr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`languagenr`"/> - </property> - <property name="notificationprofileasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`notificationprofileasxml`"/> - </property> - <property name="dossierasxml" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`dossierasxml`"/> - </property> - <array name="photo" cascade="all,delete-orphan"> - <key update="true"> - <column name="`user_photo_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`user_photo_idx`"/> - <element type="byte"/> - </array> - <property name="onlinestatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`onlinestatus`"/> - </property> - <property name="onlinedate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`onlinedate`"/> - </property> - <property name="datafilter" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`datafilter`"/> - </property> - <property name="inchatsince" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`inchatsince`"/> - </property> - <property name="contchatdate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`contchatdate`"/> - </property> - <property name="chatroomnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`chatroomnr`"/> - </property> - <property name="fromext" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`fromext`"/> - </property> - <property name="lastlogindate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`lastlogindate`"/> - </property> - <property name="currlogindate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`currlogindate`"/> - </property> - <property name="lastcoursematerialnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`lastcoursematerialnr`"/> - </property> - <property name="lastcoursematerialviewnr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`lastcoursematerialviewnr`"/> - </property> - <property name="authenticateldap" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`authenticateldap`"/> - </property> - <property name="photochanged" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`photochanged`"/> - </property> - <list name="authorizations" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`user_authorizations_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`user_authorizations_idx`"/> - <one-to-many class="AuthorizationTypes"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index ca223adc6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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="org.eclipse.emf.teneo.samples.issues.bz224991.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" discriminator-value="Parent" table="`parent`"> - <meta attribute="eclassName">Parent</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz224991</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="parentdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz224991.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Parent" discriminator-value="Child"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz224991</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index daf2b8036..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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="org.eclipse.emf.teneo.samples.issues.bz224991.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" table="`parent`"> - <meta attribute="eclassName" inherit="false">Parent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz224991</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz224991.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Parent" table="`child`"> - <meta attribute="eclassName" inherit="false">Child</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz224991</meta> - <key> - <column name="`mypk`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index daf2b8036..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,22 +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="org.eclipse.emf.teneo.samples.issues.bz224991.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" table="`parent`"> - <meta attribute="eclassName" inherit="false">Parent</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz224991</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz224991.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" extends="Parent" table="`child`"> - <meta attribute="eclassName" inherit="false">Child</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz224991</meta> - <key> - <column name="`mypk`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index d8aabadce..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,45 +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="org.eclipse.emf.teneo.samples.issues.bz225296.impl.BlockImpl" entity-name="Block" abstract="false" lazy="false" discriminator-value="Block" table="`block`"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <many-to-one name="vserver" entity-name="VServer" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`block_vserver_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" discriminator-value="VServer" table="`vserver`"> - <meta attribute="eclassName">VServer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <list name="blocks" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`block_vserver_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`vserver_blocks_idx`"/> - <one-to-many entity-name="Block"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 7200dbc91..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,43 +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="org.eclipse.emf.teneo.samples.issues.bz225296.impl.BlockImpl" entity-name="Block" abstract="false" lazy="false" table="`block`"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <many-to-one name="vserver" entity-name="VServer" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`block_vserver_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" table="`vserver`"> - <meta attribute="eclassName">VServer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <list name="blocks" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`block_vserver_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`vserver_blocks_idx`"/> - <one-to-many entity-name="Block"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 7200dbc91..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,43 +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="org.eclipse.emf.teneo.samples.issues.bz225296.impl.BlockImpl" entity-name="Block" abstract="false" lazy="false" table="`block`"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <many-to-one name="vserver" entity-name="VServer" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" lazy="false" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`block_vserver_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" table="`vserver`"> - <meta attribute="eclassName">VServer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <list name="blocks" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`block_vserver_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`vserver_blocks_idx`"/> - <one-to-many entity-name="Block"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index bddce2c98..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.issues.bz225296.impl.BlockImpl" entity-name="Block" abstract="false" lazy="true" table="`ops_block`" proxy="org.eclipse.emf.teneo.samples.issues.bz225296.Block"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="vserver" entity-name="VServer" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vserver_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" table="`ops_vserver`"> - <meta attribute="eclassName">VServer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="blocks" fetch="select" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vserver_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Block"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index 28f5b9cf2..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296Action_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.bz225296.impl.BlockImpl" entity-name="Block" abstract="false" lazy="true" discriminator-value="Block" table="`ops_block`" proxy="org.eclipse.emf.teneo.samples.issues.bz225296.Block"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" 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> - <many-to-one name="vserver" entity-name="VServer" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vserver_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" discriminator-value="VServer" table="`ops_vserver`"> - <meta attribute="eclassName">VServer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" 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> - <bag name="blocks" fetch="select" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vserver_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Block"/> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 846933853..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,622 +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="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.BlockImpl" entity-name="Block" abstract="false" lazy="false" discriminator-value="Block" table="`ops_block`"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_blockdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="vserver" entity-name="VServer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vserver_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DataCenterImpl" entity-name="DataCenter" abstract="false" lazy="false" discriminator-value="DataCenter" table="`ops_datacenter`"> - <meta attribute="eclassName">DataCenter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_datacenterdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="host" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`datacenter_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Host"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainImpl" entity-name="Domain" abstract="false" lazy="false" discriminator-value="Domain" table="`domain`"> - <meta attribute="eclassName">Domain</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="domaindtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="systems" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`domain_system`"> - <key update="true"> - <column name="`domain_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="domain_systems"> - <column name="`system_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainSystemImpl" entity-name="DomainSystem" abstract="false" lazy="false" discriminator-value="DomainSystem" table="`domainsystem`"> - <meta attribute="eclassName">DomainSystem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="domainsystemdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <bag name="domains" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`domain_system`"> - <key update="true"> - <column name="`system_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Domain" unique="false" foreign-key="domainsystem_domains"> - <column name="`domain_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="opsSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="domainsystem_opssystem"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="interface" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="domainsystem_interface" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`interface_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="forwardEmail" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`forwardemail`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.FailoverTypeImpl" entity-name="FailoverType" abstract="false" lazy="false" discriminator-value="FailoverType" table="`ops_failovertype`"> - <meta attribute="eclassName">FailoverType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_failovertypedtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostImpl" entity-name="Host" abstract="false" lazy="false" discriminator-value="Host" table="`ops_host`"> - <meta attribute="eclassName">Host</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_hostdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <many-to-one name="dataCenter" entity-name="DataCenter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_datacenter" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`datacenter_id`"/> - </many-to-one> - <bag name="vserver" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="ip" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="IP"/> - </bag> - <many-to-one name="ownIp" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_ownip" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ownip_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - <property name="network" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`network`" length="64000"/> - </property> - <property name="providerId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`providerid`" length="64000"/> - </property> - <many-to-one name="gateway" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_gateway" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ip_gateway_id`"/> - </many-to-one> - <bag name="block" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="HostBlock"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostBlockImpl" entity-name="HostBlock" abstract="false" lazy="false" discriminator-value="HostBlock" table="`ops_hostblock`"> - <meta attribute="eclassName">HostBlock</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_hostblockdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="hostblock_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.InterfaceImpl" entity-name="Interface" abstract="false" lazy="false" discriminator-value="Interface" table="`ops_interface`"> - <meta attribute="eclassName">Interface</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_interfacedtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="role" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_role_interface`"> - <key update="true"> - <column name="`interface_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Role" unique="false" foreign-key="interface_role"> - <column name="`role_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`interface_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="DomainSystem"/> - </bag> - <many-to-one name="failoverType" entity-name="FailoverType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="interface_failovertype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`failovertype_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="port" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`port`"/> - </property> - <property name="external" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`external`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPImpl" entity-name="IP" abstract="false" lazy="false" discriminator-value="IP" table="`ops_ip`"> - <meta attribute="eclassName">IP</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_ipdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <property name="ip" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`ip`"/> - </property> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ip_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.IpType</param> - <param name="eclassifier">IpType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</param> - </type> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="shared" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`shared`"/> - </property> - <bag name="ipName" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IPName" unique="false" foreign-key="ip_ipname"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="ip_vserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.MuninInfoImpl" entity-name="MuninInfo" abstract="false" lazy="false" discriminator-value="MuninInfo" table="`ops_munininfo`"> - <meta attribute="eclassName">MuninInfo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_munininfodtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="pluginName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`pluginname`" length="64000"/> - </property> - <property name="warningLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`warninglevel`"/> - </property> - <property name="criticalLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`criticallevel`"/> - </property> - <property name="monitorableByNagios" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`monitorablebynagios`"/> - </property> - <property name="displaySummary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`displaysummary`"/> - </property> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="munininfo_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPNameImpl" entity-name="IPName" abstract="false" lazy="false" discriminator-value="IPName" table="`ops_ipname`"> - <meta attribute="eclassName">IPName</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_ipnamedtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="ip" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="ipname_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.ParameterImpl" entity-name="Parameter" abstract="false" lazy="false" discriminator-value="Parameter" table="`ops_parameter`"> - <meta attribute="eclassName">Parameter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_parameterdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`value`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.RoleImpl" entity-name="Role" abstract="false" lazy="false" discriminator-value="Role" table="`ops_role`"> - <meta attribute="eclassName">Role</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_roledtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="interface" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_interface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_interface"> - <column name="`interface_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="requiredInterface" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_requredinterface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_requiredinterface"> - <column name="`interface_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <bag name="muninInfo" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="MuninInfo"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.OpsSystemImpl" entity-name="OpsSystem" abstract="false" lazy="false" discriminator-value="OpsSystem" table="`ops_opssystem`"> - <meta attribute="eclassName">OpsSystem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_opssystemdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="ownVserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`own_opssystem_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="servingVserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="opssystem_servingvserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="opssystem_domainsystem"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" discriminator-value="VServer" table="`ops_vserver`"> - <meta attribute="eclassName">VServer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_vserverdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="block" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vserver_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Block"/> - </bag> - <many-to-one name="ownSystem" entity-name="OpsSystem" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_ownsystem" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`own_opssystem_id`"/> - </many-to-one> - <bag name="servedSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="vserver_servedsystem"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="ip" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="vserver_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHClusterImpl" entity-name="DWHCluster" abstract="false" lazy="false" discriminator-value="DWHCluster" table="`ops_dwhcluster`"> - <meta attribute="eclassName">DWHCluster</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_dwhclusterdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="instance" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="dwhcluster_instance"> - <column name="`dwhcluster_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="DWHInstance"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHInstanceImpl" entity-name="DWHInstance" abstract="false" lazy="false" discriminator-value="DWHInstance" table="`ops_dwhinstance`"> - <meta attribute="eclassName">DWHInstance</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_dwhinstancedtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="etl" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="dwhinstance_etl"> - <column name="`dwhinstance_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 19d0cc96e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,571 +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="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.BlockImpl" entity-name="Block" abstract="false" lazy="false" table="`ops_block`"> - <meta attribute="eclassName" inherit="false">Block</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="vserver" entity-name="VServer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vserver_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DataCenterImpl" entity-name="DataCenter" abstract="false" lazy="false" table="`ops_datacenter`"> - <meta attribute="eclassName" inherit="false">DataCenter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="host" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`datacenter_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Host"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainImpl" entity-name="Domain" abstract="false" lazy="false" table="`domain`"> - <meta attribute="eclassName" inherit="false">Domain</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="systems" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`domain_system`"> - <key update="true"> - <column name="`domain_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="domain_systems"> - <column name="`system_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainSystemImpl" entity-name="DomainSystem" abstract="false" lazy="false" table="`domainsystem`"> - <meta attribute="eclassName" inherit="false">DomainSystem</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <bag name="domains" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`domain_system`"> - <key update="true"> - <column name="`system_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Domain" unique="false" foreign-key="domainsystem_domains"> - <column name="`domain_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="opsSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="domainsystem_opssystem"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="interface" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="domainsystem_interface" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`interface_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="forwardEmail" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`forwardemail`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.FailoverTypeImpl" entity-name="FailoverType" abstract="false" lazy="false" table="`ops_failovertype`"> - <meta attribute="eclassName" inherit="false">FailoverType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostImpl" entity-name="Host" abstract="false" lazy="false" table="`ops_host`"> - <meta attribute="eclassName" inherit="false">Host</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <many-to-one name="dataCenter" entity-name="DataCenter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_datacenter" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`datacenter_id`"/> - </many-to-one> - <bag name="vserver" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="ip" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="IP"/> - </bag> - <many-to-one name="ownIp" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_ownip" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ownip_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - <property name="network" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`network`" length="64000"/> - </property> - <property name="providerId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`providerid`" length="64000"/> - </property> - <many-to-one name="gateway" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_gateway" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ip_gateway_id`"/> - </many-to-one> - <bag name="block" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="HostBlock"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostBlockImpl" entity-name="HostBlock" abstract="false" lazy="false" table="`ops_hostblock`"> - <meta attribute="eclassName" inherit="false">HostBlock</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="hostblock_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.InterfaceImpl" entity-name="Interface" abstract="false" lazy="false" table="`ops_interface`"> - <meta attribute="eclassName" inherit="false">Interface</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="role" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_role_interface`"> - <key update="true"> - <column name="`interface_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Role" unique="false" foreign-key="interface_role"> - <column name="`role_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`interface_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="DomainSystem"/> - </bag> - <many-to-one name="failoverType" entity-name="FailoverType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="interface_failovertype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`failovertype_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="port" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`port`"/> - </property> - <property name="external" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`external`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPImpl" entity-name="IP" abstract="false" lazy="false" table="`ops_ip`"> - <meta attribute="eclassName" inherit="false">IP</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <property name="ip" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`ip`"/> - </property> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ip_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.IpType</param> - <param name="eclassifier">IpType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</param> - </type> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="shared" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`shared`"/> - </property> - <bag name="ipName" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IPName" unique="false" foreign-key="ip_ipname"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="ip_vserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.MuninInfoImpl" entity-name="MuninInfo" abstract="false" lazy="false" table="`ops_munininfo`"> - <meta attribute="eclassName" inherit="false">MuninInfo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="pluginName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`pluginname`" length="64000"/> - </property> - <property name="warningLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`warninglevel`"/> - </property> - <property name="criticalLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`criticallevel`"/> - </property> - <property name="monitorableByNagios" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`monitorablebynagios`"/> - </property> - <property name="displaySummary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`displaysummary`"/> - </property> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="munininfo_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPNameImpl" entity-name="IPName" abstract="false" lazy="false" table="`ops_ipname`"> - <meta attribute="eclassName" inherit="false">IPName</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="ip" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="ipname_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.ParameterImpl" entity-name="Parameter" abstract="false" lazy="false" table="`ops_parameter`"> - <meta attribute="eclassName" inherit="false">Parameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`value`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.RoleImpl" entity-name="Role" abstract="false" lazy="false" table="`ops_role`"> - <meta attribute="eclassName" inherit="false">Role</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="interface" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_interface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_interface"> - <column name="`interface_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="requiredInterface" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_requredinterface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_requiredinterface"> - <column name="`interface_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <bag name="muninInfo" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="MuninInfo"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.OpsSystemImpl" entity-name="OpsSystem" abstract="false" lazy="false" table="`ops_opssystem`"> - <meta attribute="eclassName" inherit="false">OpsSystem</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="ownVserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`own_opssystem_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="servingVserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="opssystem_servingvserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="opssystem_domainsystem"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" table="`ops_vserver`"> - <meta attribute="eclassName" inherit="false">VServer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="block" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vserver_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Block"/> - </bag> - <many-to-one name="ownSystem" entity-name="OpsSystem" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_ownsystem" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`own_opssystem_id`"/> - </many-to-one> - <bag name="servedSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="vserver_servedsystem"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="ip" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="vserver_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHClusterImpl" entity-name="DWHCluster" abstract="false" lazy="false" table="`ops_dwhcluster`"> - <meta attribute="eclassName" inherit="false">DWHCluster</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="instance" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="dwhcluster_instance"> - <column name="`dwhcluster_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="DWHInstance"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHInstanceImpl" entity-name="DWHInstance" abstract="false" lazy="false" table="`ops_dwhinstance`"> - <meta attribute="eclassName" inherit="false">DWHInstance</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="etl" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="dwhinstance_etl"> - <column name="`dwhinstance_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 19d0cc96e..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,571 +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="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.BlockImpl" entity-name="Block" abstract="false" lazy="false" table="`ops_block`"> - <meta attribute="eclassName" inherit="false">Block</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="vserver" entity-name="VServer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vserver_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DataCenterImpl" entity-name="DataCenter" abstract="false" lazy="false" table="`ops_datacenter`"> - <meta attribute="eclassName" inherit="false">DataCenter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="host" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`datacenter_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Host"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainImpl" entity-name="Domain" abstract="false" lazy="false" table="`domain`"> - <meta attribute="eclassName" inherit="false">Domain</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="systems" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`domain_system`"> - <key update="true"> - <column name="`domain_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="domain_systems"> - <column name="`system_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainSystemImpl" entity-name="DomainSystem" abstract="false" lazy="false" table="`domainsystem`"> - <meta attribute="eclassName" inherit="false">DomainSystem</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <bag name="domains" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`domain_system`"> - <key update="true"> - <column name="`system_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Domain" unique="false" foreign-key="domainsystem_domains"> - <column name="`domain_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="opsSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="domainsystem_opssystem"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="interface" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="domainsystem_interface" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`interface_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="forwardEmail" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`forwardemail`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.FailoverTypeImpl" entity-name="FailoverType" abstract="false" lazy="false" table="`ops_failovertype`"> - <meta attribute="eclassName" inherit="false">FailoverType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostImpl" entity-name="Host" abstract="false" lazy="false" table="`ops_host`"> - <meta attribute="eclassName" inherit="false">Host</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <many-to-one name="dataCenter" entity-name="DataCenter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_datacenter" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`datacenter_id`"/> - </many-to-one> - <bag name="vserver" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="ip" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="IP"/> - </bag> - <many-to-one name="ownIp" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_ownip" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ownip_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - <property name="network" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`network`" length="64000"/> - </property> - <property name="providerId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`providerid`" length="64000"/> - </property> - <many-to-one name="gateway" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_gateway" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ip_gateway_id`"/> - </many-to-one> - <bag name="block" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="HostBlock"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostBlockImpl" entity-name="HostBlock" abstract="false" lazy="false" table="`ops_hostblock`"> - <meta attribute="eclassName" inherit="false">HostBlock</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="hostblock_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.InterfaceImpl" entity-name="Interface" abstract="false" lazy="false" table="`ops_interface`"> - <meta attribute="eclassName" inherit="false">Interface</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="role" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_role_interface`"> - <key update="true"> - <column name="`interface_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Role" unique="false" foreign-key="interface_role"> - <column name="`role_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`interface_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="DomainSystem"/> - </bag> - <many-to-one name="failoverType" entity-name="FailoverType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="interface_failovertype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`failovertype_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="port" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`port`"/> - </property> - <property name="external" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`external`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPImpl" entity-name="IP" abstract="false" lazy="false" table="`ops_ip`"> - <meta attribute="eclassName" inherit="false">IP</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <property name="ip" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`ip`"/> - </property> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ip_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.IpType</param> - <param name="eclassifier">IpType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</param> - </type> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="shared" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`shared`"/> - </property> - <bag name="ipName" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IPName" unique="false" foreign-key="ip_ipname"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="ip_vserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.MuninInfoImpl" entity-name="MuninInfo" abstract="false" lazy="false" table="`ops_munininfo`"> - <meta attribute="eclassName" inherit="false">MuninInfo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="pluginName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`pluginname`" length="64000"/> - </property> - <property name="warningLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`warninglevel`"/> - </property> - <property name="criticalLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`criticallevel`"/> - </property> - <property name="monitorableByNagios" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`monitorablebynagios`"/> - </property> - <property name="displaySummary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`displaysummary`"/> - </property> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="munininfo_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPNameImpl" entity-name="IPName" abstract="false" lazy="false" table="`ops_ipname`"> - <meta attribute="eclassName" inherit="false">IPName</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="ip" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="ipname_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.ParameterImpl" entity-name="Parameter" abstract="false" lazy="false" table="`ops_parameter`"> - <meta attribute="eclassName" inherit="false">Parameter</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`value`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.RoleImpl" entity-name="Role" abstract="false" lazy="false" table="`ops_role`"> - <meta attribute="eclassName" inherit="false">Role</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="interface" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_interface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_interface"> - <column name="`interface_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="requiredInterface" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_requredinterface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_requiredinterface"> - <column name="`interface_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <bag name="muninInfo" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="MuninInfo"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.OpsSystemImpl" entity-name="OpsSystem" abstract="false" lazy="false" table="`ops_opssystem`"> - <meta attribute="eclassName" inherit="false">OpsSystem</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="ownVserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`own_opssystem_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="servingVserver" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="opssystem_servingvserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="opssystem_domainsystem"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" table="`ops_vserver`"> - <meta attribute="eclassName" inherit="false">VServer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="block" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vserver_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Block"/> - </bag> - <many-to-one name="ownSystem" entity-name="OpsSystem" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_ownsystem" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`own_opssystem_id`"/> - </many-to-one> - <bag name="servedSystem" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="vserver_servedsystem"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="ip" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="vserver_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHClusterImpl" entity-name="DWHCluster" abstract="false" lazy="false" table="`ops_dwhcluster`"> - <meta attribute="eclassName" inherit="false">DWHCluster</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`name`"/> - </property> - <bag name="instance" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="dwhcluster_instance"> - <column name="`dwhcluster_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="DWHInstance"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHInstanceImpl" entity-name="DWHInstance" abstract="false" lazy="false" table="`ops_dwhinstance`"> - <meta attribute="eclassName" inherit="false">DWHInstance</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="etl" fetch="subselect" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="dwhinstance_etl"> - <column name="`dwhinstance_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_xjoin_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_xjoin_hibernate.hbm.xml deleted file mode 100755 index 621a75671..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_xjoin_hibernate.hbm.xml +++ /dev/null @@ -1,583 +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="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.BlockImpl" entity-name="Block" abstract="false" lazy="true" table="`ops_block`" proxy="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Block"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="vserver" entity-name="VServer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vserver_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DataCenterImpl" entity-name="DataCenter" abstract="false" lazy="false" table="`ops_datacenter`"> - <meta attribute="eclassName">DataCenter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="host" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`datacenter_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Host"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainImpl" entity-name="Domain" abstract="false" lazy="false" table="`domain`"> - <meta attribute="eclassName">Domain</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="systems" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`domain_system`"> - <key update="true"> - <column name="`domain_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="domain_systems"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainSystemImpl" entity-name="DomainSystem" abstract="false" lazy="false" table="`domainsystem`"> - <meta attribute="eclassName">DomainSystem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <bag name="domains" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`domain_system`"> - <key update="true"> - <column name="`system_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Domain" unique="false" foreign-key="domainsystem_domains"> - <column name="`domain_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="opsSystem" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="domainsystem_opssystem"> - <column name="`system_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="interface" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="domainsystem_interface" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`interface_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="forwardEmail" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`forwardemail`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.FailoverTypeImpl" entity-name="FailoverType" abstract="false" lazy="false" table="`ops_failovertype`"> - <meta attribute="eclassName">FailoverType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostImpl" entity-name="Host" abstract="false" lazy="false" table="`ops_host`"> - <meta attribute="eclassName">Host</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <many-to-one name="dataCenter" entity-name="DataCenter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_datacenter" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_datacenter_id`"/> - </many-to-one> - <bag name="vserver" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="ip" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="IP"/> - </bag> - <many-to-one name="ownIp" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_ownip" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ownip_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - <property name="network" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`network`" length="64000"/> - </property> - <property name="providerId" lazy="false" insert="true" update="true" not-null="false" unique="true" type="text"> - <column not-null="false" unique="true" name="`providerid`" length="64000"/> - </property> - <many-to-one name="gateway" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_gateway" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ip_gateway_id`"/> - </many-to-one> - <bag name="block" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="HostBlock"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostBlockImpl" entity-name="HostBlock" abstract="false" lazy="false" table="`ops_hostblock`"> - <meta attribute="eclassName">HostBlock</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="hostblock_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.InterfaceImpl" entity-name="Interface" abstract="false" lazy="false" table="`ops_interface`"> - <meta attribute="eclassName">Interface</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="role" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_role_interface`"> - <key update="true"> - <column name="`interface_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Role" unique="false" foreign-key="interface_role"> - <column name="`role_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`interface_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="DomainSystem"/> - </bag> - <many-to-one name="failoverType" entity-name="FailoverType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="interface_failovertype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`failovertype_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="port" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`port`"/> - </property> - <property name="external" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`external`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPImpl" entity-name="IP" abstract="false" lazy="false" table="`ops_ip`"> - <meta attribute="eclassName">IP</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <property name="ip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ip`"/> - </property> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ip_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.IpType</param> - <param name="eclassifier">IpType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</param> - </type> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="shared" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`shared`"/> - </property> - <bag name="ipName" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IPName" unique="false" foreign-key="ip_ipname"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="ip_vserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.MuninInfoImpl" entity-name="MuninInfo" abstract="false" lazy="false" table="`ops_munininfo`"> - <meta attribute="eclassName">MuninInfo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="pluginName" lazy="false" insert="true" update="true" not-null="false" unique="true" type="text"> - <column not-null="false" unique="true" name="`pluginname`" length="64000"/> - </property> - <property name="warningLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`warninglevel`"/> - </property> - <property name="criticalLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`criticallevel`"/> - </property> - <property name="monitorableByNagios" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`monitorablebynagios`"/> - </property> - <property name="displaySummary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`displaysummary`"/> - </property> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="munininfo_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPNameImpl" entity-name="IPName" abstract="false" lazy="false" table="`ops_ipname`"> - <meta attribute="eclassName">IPName</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <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> - <bag name="ip" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="ipname_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.ParameterImpl" entity-name="Parameter" abstract="false" lazy="false" table="`ops_parameter`"> - <meta attribute="eclassName">Parameter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.RoleImpl" entity-name="Role" abstract="false" lazy="false" table="`ops_role`"> - <meta attribute="eclassName">Role</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="interface" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_interface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_interface"> - <column name="`interface_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="requiredInterface" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_requredinterface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_requiredinterface"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <bag name="muninInfo" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="MuninInfo"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.OpsSystemImpl" entity-name="OpsSystem" abstract="false" lazy="false" table="`ops_opssystem`"> - <meta attribute="eclassName">OpsSystem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="ownVserver" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`own_opssystem_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="servingVserver" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="opssystem_servingvserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="opssystem_domainsystem"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" table="`ops_vserver`"> - <meta attribute="eclassName">VServer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="block" fetch="select" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vserver_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Block"/> - </bag> - <many-to-one name="ownSystem" entity-name="OpsSystem" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_ownsystem" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`own_opssystem_id`"/> - </many-to-one> - <bag name="servedSystem" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="vserver_servedsystem"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="ip" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="vserver_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHClusterImpl" entity-name="DWHCluster" abstract="false" lazy="false" table="`dwhcluster`"> - <meta attribute="eclassName">DWHCluster</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</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> - <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="instance" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="dwhcluster_instance"> - <column name="`dwhcluster_instance_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`dwhcluster_instance_idx`"/> - <one-to-many entity-name="DWHInstance"/> - </list> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <property name="modified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`modified`"/> - </property> - <property name="revision" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`revision`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHInstanceImpl" entity-name="DWHInstance" abstract="false" lazy="false" table="`dwhinstance`"> - <meta attribute="eclassName">DWHInstance</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</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> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <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="etl" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="dwhinstance_etl"> - <column name="`dwhinstance_etl_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`dwhinstance_etl_idx`"/> - <one-to-many entity-name="VServer"/> - </list> - <property name="modified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`modified`"/> - </property> - <property name="revision" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`revision`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_xsingle_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_xsingle_hibernate.hbm.xml deleted file mode 100755 index e2e6d067b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ225296_2Action_mysql_xsingle_hibernate.hbm.xml +++ /dev/null @@ -1,634 +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="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.BlockImpl" entity-name="Block" abstract="false" lazy="true" discriminator-value="Block" table="`ops_block`" proxy="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.Block"> - <meta attribute="eclassName">Block</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_blockdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="vserver" entity-name="VServer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="block_vserver" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`vserver_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DataCenterImpl" entity-name="DataCenter" abstract="false" lazy="false" discriminator-value="DataCenter" table="`ops_datacenter`"> - <meta attribute="eclassName">DataCenter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_datacenterdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="host" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`datacenter_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Host"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainImpl" entity-name="Domain" abstract="false" lazy="false" discriminator-value="Domain" table="`domain`"> - <meta attribute="eclassName">Domain</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="domaindtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="systems" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`domain_system`"> - <key update="true"> - <column name="`domain_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="domain_systems"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DomainSystemImpl" entity-name="DomainSystem" abstract="false" lazy="false" discriminator-value="DomainSystem" table="`domainsystem`"> - <meta attribute="eclassName">DomainSystem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="domainsystemdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <bag name="domains" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`domain_system`"> - <key update="true"> - <column name="`system_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Domain" unique="false" foreign-key="domainsystem_domains"> - <column name="`domain_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="opsSystem" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="domainsystem_opssystem"> - <column name="`system_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="interface" entity-name="Interface" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="domainsystem_interface" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`interface_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="forwardEmail" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`forwardemail`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.FailoverTypeImpl" entity-name="FailoverType" abstract="false" lazy="false" discriminator-value="FailoverType" table="`ops_failovertype`"> - <meta attribute="eclassName">FailoverType</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_failovertypedtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostImpl" entity-name="Host" abstract="false" lazy="false" discriminator-value="Host" table="`ops_host`"> - <meta attribute="eclassName">Host</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_hostdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <many-to-one name="dataCenter" entity-name="DataCenter" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_datacenter" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_datacenter_id`"/> - </many-to-one> - <bag name="vserver" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="ip" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="IP"/> - </bag> - <many-to-one name="ownIp" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_ownip" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ownip_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`description`" length="64000"/> - </property> - <property name="network" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`network`" length="64000"/> - </property> - <property name="providerId" lazy="false" insert="true" update="true" not-null="false" unique="true" type="text"> - <column not-null="false" unique="true" name="`providerid`" length="64000"/> - </property> - <many-to-one name="gateway" entity-name="IP" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="host_gateway" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`ip_gateway_id`"/> - </many-to-one> - <bag name="block" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`host_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="HostBlock"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.HostBlockImpl" entity-name="HostBlock" abstract="false" lazy="false" discriminator-value="HostBlock" table="`ops_hostblock`"> - <meta attribute="eclassName">HostBlock</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_hostblockdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="hostblock_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="agent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`agent`"/> - </property> - <property name="service" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`service`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.InterfaceImpl" entity-name="Interface" abstract="false" lazy="false" discriminator-value="Interface" table="`ops_interface`"> - <meta attribute="eclassName">Interface</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_interfacedtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="role" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_role_interface`"> - <key update="true"> - <column name="`interface_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Role" unique="false" foreign-key="interface_role"> - <column name="`role_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`interface_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="DomainSystem"/> - </bag> - <many-to-one name="failoverType" entity-name="FailoverType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="interface_failovertype" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`failovertype_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="port" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`port`"/> - </property> - <property name="external" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`external`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPImpl" entity-name="IP" abstract="false" lazy="false" discriminator-value="IP" table="`ops_ip`"> - <meta attribute="eclassName">IP</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_ipdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <property name="ip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ip`"/> - </property> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ip_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`type`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.IpType</param> - <param name="eclassifier">IpType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</param> - </type> - </property> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="shared" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`shared`"/> - </property> - <bag name="ipName" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IPName" unique="false" foreign-key="ip_ipname"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`ip_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="ip_vserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.MuninInfoImpl" entity-name="MuninInfo" abstract="false" lazy="false" discriminator-value="MuninInfo" table="`ops_munininfo`"> - <meta attribute="eclassName">MuninInfo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_munininfodtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="pluginName" lazy="false" insert="true" update="true" not-null="false" unique="true" type="text"> - <column not-null="false" unique="true" name="`pluginname`" length="64000"/> - </property> - <property name="warningLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`warninglevel`"/> - </property> - <property name="criticalLevel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`criticallevel`"/> - </property> - <property name="monitorableByNagios" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`monitorablebynagios`"/> - </property> - <property name="displaySummary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`displaysummary`"/> - </property> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="munininfo_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.IPNameImpl" entity-name="IPName" abstract="false" lazy="false" discriminator-value="IPName" table="`ops_ipname`"> - <meta attribute="eclassName">IPName</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_ipnamedtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <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> - <bag name="ip" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_ip_ipname`"> - <key update="true"> - <column name="`ipname_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="ipname_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.ParameterImpl" entity-name="Parameter" abstract="false" lazy="false" discriminator-value="Parameter" table="`ops_parameter`"> - <meta attribute="eclassName">Parameter</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_parameterdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </version> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`key`"/> - </property> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.RoleImpl" entity-name="Role" abstract="false" lazy="false" discriminator-value="Role" table="`ops_role`"> - <meta attribute="eclassName">Role</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_roledtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="interface" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_interface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_interface"> - <column name="`interface_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="vserver" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="requiredInterface" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_role_requredinterface`"> - <key update="true"> - <column name="`role_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Interface" unique="false" foreign-key="role_requiredinterface"/> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - <bag name="muninInfo" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`role_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="MuninInfo"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.OpsSystemImpl" entity-name="OpsSystem" abstract="false" lazy="false" discriminator-value="OpsSystem" table="`ops_opssystem`"> - <meta attribute="eclassName">OpsSystem</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_opssystemdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="ownVserver" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`own_opssystem_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="VServer"/> - </bag> - <bag name="servingVserver" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="VServer" unique="false" foreign-key="opssystem_servingvserver"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="domainSystem" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`ops_domainsystem_opssystem`"> - <key update="true"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="DomainSystem" unique="false" foreign-key="opssystem_domainsystem"> - <column name="`domainsystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.VServerImpl" entity-name="VServer" abstract="false" lazy="false" discriminator-value="VServer" table="`ops_vserver`"> - <meta attribute="eclassName">VServer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ops_vserverdtype" length="255" not-null="true"/> - </discriminator> - <version name="revision" type="int"> - <column not-null="false" unique="false" name="`e_version`"/> - </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> - <bag name="block" fetch="select" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`vserver_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Block"/> - </bag> - <many-to-one name="ownSystem" entity-name="OpsSystem" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_ownsystem" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`own_opssystem_id`"/> - </many-to-one> - <bag name="servedSystem" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_opssystem`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="OpsSystem" unique="false" foreign-key="vserver_servedsystem"> - <column name="`opssystem_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="ip" fetch="select" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`ops_vserver_ip`"> - <key update="true"> - <column name="`vserver_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="IP" unique="false" foreign-key="vserver_ip"> - <column name="`ip_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <many-to-one name="host" entity-name="Host" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_host" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`host_id`"/> - </many-to-one> - <many-to-one name="role" entity-name="Role" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vserver_role" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`role_id`"/> - </many-to-one> - <property name="modified" lazy="false" insert="false" update="false" not-null="false" unique="false" generated="always" type="timestamp"> - <column not-null="false" unique="false" name="`modified`" sql-type="timestamp"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHClusterImpl" entity-name="DWHCluster" abstract="false" lazy="false" discriminator-value="DWHCluster" table="`dwhcluster`"> - <meta attribute="eclassName">DWHCluster</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</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 type="string"> - <column name="dtype" index="dwhclusterdtype" length="255" not-null="true"/> - </discriminator> - <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="instance" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="dwhcluster_instance"> - <column name="`dwhcluster_instance_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`dwhcluster_instance_idx`"/> - <one-to-many entity-name="DWHInstance"/> - </list> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <property name="modified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`modified`"/> - </property> - <property name="revision" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`revision`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz225296_2.ops.impl.DWHInstanceImpl" entity-name="DWHInstance" abstract="false" lazy="false" discriminator-value="DWHInstance" table="`dwhinstance`"> - <meta attribute="eclassName">DWHInstance</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296_2</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 type="string"> - <column name="dtype" index="dwhinstancedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long"> - <column not-null="true" unique="false" name="`id`"/> - </property> - <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="etl" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="dwhinstance_etl"> - <column name="`dwhinstance_etl_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`dwhinstance_etl_idx`"/> - <one-to-many entity-name="VServer"/> - </list> - <property name="modified" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> - <column not-null="false" unique="false" name="`modified`"/> - </property> - <property name="revision" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`revision`"/> - </property> - <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`description`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 3b98bfbe4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,52 +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="org.eclipse.emf.teneo.samples.issues.bz237361.impl.OneImpl" entity-name="One" abstract="false" lazy="false" discriminator-value="One" table="`one`"> - <meta attribute="eclassName">One</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz237361</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 type="string"> - <column name="dtype" index="onedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="manies" inverse="true" table="`maniesofone`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`one_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Many" unique="true"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237361.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" discriminator-value="Many" table="`many`"> - <meta attribute="eclassName">Many</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz237361</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 type="string"> - <column name="dtype" index="manydtype" length="255" not-null="true"/> - </discriminator> - <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="`myname`"/> - </property> - <join table="maniesofone" inverse="false" optional="true"> - <key update="true"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </key> - <many-to-one name="one" entity-name="One" lazy="false" insert="true" update="true" cascade="merge,persist,save-update,lock,refresh" foreign-key="many_one"> - <column not-null="false" unique="false" name="`one_e_id`"/> - </many-to-one> - </join> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a7efcbcef..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.issues.bz237361.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237361</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> - <bag name="manies" inverse="true" table="`maniesofone`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`one_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Many" unique="true"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237361.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237361</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="`myname`"/> - </property> - <join table="`maniesofone`" inverse="false" optional="true"> - <key update="true"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </key> - <many-to-one name="one" entity-name="One" lazy="false" insert="true" update="true" cascade="merge,persist,save-update,lock,refresh" foreign-key="many_one"> - <column not-null="false" unique="false" name="`one_e_id`"/> - </many-to-one> - </join> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a7efcbcef..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.issues.bz237361.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237361</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> - <bag name="manies" inverse="true" table="`maniesofone`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`one_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Many" unique="true"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237361.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237361</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="`myname`"/> - </property> - <join table="`maniesofone`" inverse="false" optional="true"> - <key update="true"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </key> - <many-to-one name="one" entity-name="One" lazy="false" insert="true" update="true" cascade="merge,persist,save-update,lock,refresh" foreign-key="many_one"> - <column not-null="false" unique="false" name="`one_e_id`"/> - </many-to-one> - </join> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index be98b10de..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,42 +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="org.eclipse.emf.teneo.samples.issues.bz237498.impl.OneImpl" entity-name="One" abstract="false" lazy="false" discriminator-value="One" table="`one`"> - <meta attribute="eclassName">One</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz237498</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 type="string"> - <column name="dtype" index="onedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <bag name="manies" order-by="`myname` asc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="one_manies"> - <column name="`one_manies_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Many"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237498.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" discriminator-value="Many" table="`many`"> - <meta attribute="eclassName">Many</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz237498</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 type="string"> - <column name="dtype" index="manydtype" length="255" not-null="true"/> - </discriminator> - <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="`myname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 31fc7c147..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.issues.bz237498.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237498</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> - <bag name="manies" order-by="`myname` asc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="one_manies"> - <column name="`one_manies_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Many"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237498.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237498</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="`myname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 31fc7c147..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,36 +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="org.eclipse.emf.teneo.samples.issues.bz237498.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237498</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> - <bag name="manies" order-by="`myname` asc" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="one_manies"> - <column name="`one_manies_e_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Many"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237498.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237498</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="`myname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 07299f285..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,47 +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="org.eclipse.emf.teneo.samples.issues.bz237790.impl.OneImpl" entity-name="One" abstract="false" lazy="false" discriminator-value="One" table="`one`"> - <meta attribute="eclassName">One</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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 type="string"> - <column name="dtype" index="onedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <idbag name="manies" table="`one_many`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`one_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Many" unique="false" foreign-key="one_manies"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237790.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" discriminator-value="Many" table="`many`"> - <meta attribute="eclassName">Many</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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 type="string"> - <column name="dtype" index="manydtype" length="255" not-null="true"/> - </discriminator> - <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="`myname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 94dff5a47..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,41 +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="org.eclipse.emf.teneo.samples.issues.bz237790.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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> - <idbag name="manies" table="`one_many`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`one_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Many" unique="false" foreign-key="one_manies"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237790.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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="`myname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 94dff5a47..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,41 +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="org.eclipse.emf.teneo.samples.issues.bz237790.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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> - <idbag name="manies" table="`one_many`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <collection-id column="ID" type="long"> - <generator class="increment"/> - </collection-id> - <key update="true"> - <column name="`one_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Many" unique="false" foreign-key="one_manies"> - <column name="`many_e_id`" not-null="true" unique="false"/> - </many-to-many> - </idbag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237790.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz225296</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="`myname`"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 350f42a66..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.issues.bz237994.impl.OneImpl" entity-name="One" abstract="false" lazy="false" discriminator-value="One" table="`one`"> - <meta attribute="eclassName">One</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz237994</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 type="string"> - <column name="dtype" index="onedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="manies" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ref_to_one`" not-null="false" unique="false"/> - </key> - <list-index column="`one_manies_idx`"/> - <one-to-many entity-name="Many"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237994.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" discriminator-value="Many" table="`many`"> - <meta attribute="eclassName">Many</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz237994</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 type="string"> - <column name="dtype" index="manydtype" length="255" not-null="true"/> - </discriminator> - <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="`myname`"/> - </property> - <many-to-one name="one" entity-name="One" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="many_one" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`ref_to_one`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a30df4d6a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.issues.bz237994.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237994</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> - <list name="manies" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ref_to_one`" not-null="false" unique="false"/> - </key> - <list-index column="`one_manies_idx`"/> - <one-to-many entity-name="Many"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237994.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237994</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="`myname`"/> - </property> - <many-to-one name="one" entity-name="One" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="many_one" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`ref_to_one`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a30df4d6a..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.issues.bz237994.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237994</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> - <list name="manies" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`ref_to_one`" not-null="false" unique="false"/> - </key> - <list-index column="`one_manies_idx`"/> - <one-to-many entity-name="Many"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz237994.impl.ManyImpl" entity-name="Many" abstract="false" lazy="false" table="`many`"> - <meta attribute="eclassName" inherit="false">Many</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz237994</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="`myname`"/> - </property> - <many-to-one name="one" entity-name="One" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="many_one" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`ref_to_one`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 4372446f1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,49 +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="org.eclipse.emf.teneo.samples.issues.bz247785.impl.OwnerImpl" entity-name="Owner" abstract="false" lazy="false" discriminator-value="Owner" table="`owner`"> - <meta attribute="eclassName">Owner</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz247785</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`owner_id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ownerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="ownedCats" inverse="true" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`cat_owner_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Cat"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz247785.bz247785Sub.impl.AnimalImpl" entity-name="Animal" abstract="false" lazy="false" discriminator-value="Animal" table="`animal`"> - <meta attribute="eclassName">Animal</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz247785/sub</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`animal_id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ANIMALdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz247785.bz247785Sub.impl.CatImpl" entity-name="Cat" abstract="false" lazy="false" extends="Animal" discriminator-value="Cat"> - <meta attribute="eclassName">Cat</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz247785/sub</meta> - <many-to-one name="owner" entity-name="Owner" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="cat_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`cat_owner_id`"/> - </many-to-one> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index a9070aa7b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.issues.bz247785.impl.OwnerImpl" entity-name="Owner" abstract="false" lazy="false" table="`owner`"> - <meta attribute="eclassName" inherit="false">Owner</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247785</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`owner_id`"/> - <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> - <bag name="ownedCats" inverse="true" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`cat_owner_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Cat"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz247785.bz247785Sub.impl.AnimalImpl" entity-name="Animal" abstract="false" lazy="false" discriminator-value="Animal" table="`animal`"> - <meta attribute="eclassName" inherit="false">Animal</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247785/sub</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`animal_id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ANIMALdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz247785.bz247785Sub.impl.CatImpl" entity-name="Cat" abstract="false" lazy="false" extends="Animal" discriminator-value="Cat"> - <meta attribute="eclassName" inherit="false">Cat</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247785/sub</meta> - <many-to-one name="owner" entity-name="Owner" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="cat_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`cat_owner_id`"/> - </many-to-one> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index a9070aa7b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.issues.bz247785.impl.OwnerImpl" entity-name="Owner" abstract="false" lazy="false" table="`owner`"> - <meta attribute="eclassName" inherit="false">Owner</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247785</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`owner_id`"/> - <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> - <bag name="ownedCats" inverse="true" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`cat_owner_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Cat"/> - </bag> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz247785.bz247785Sub.impl.AnimalImpl" entity-name="Animal" abstract="false" lazy="false" discriminator-value="Animal" table="`animal`"> - <meta attribute="eclassName" inherit="false">Animal</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247785/sub</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`animal_id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="ANIMALdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz247785.bz247785Sub.impl.CatImpl" entity-name="Cat" abstract="false" lazy="false" extends="Animal" discriminator-value="Cat"> - <meta attribute="eclassName" inherit="false">Cat</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247785/sub</meta> - <many-to-one name="owner" entity-name="Owner" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="cat_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`cat_owner_id`"/> - </many-to-one> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index da4f9e920..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,54 +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="org.eclipse.emf.teneo.samples.issues.bz247939.impl.AnimalImpl" entity-name="Animal" abstract="false" lazy="false" discriminator-value="Animal" table="`animal`"> - <meta attribute="eclassName">Animal</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz247939</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`animal_id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="ANIMAL_TYPE" index="ANIMALANIMAL_TYPE" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz247939.impl.OwnerImpl" entity-name="Owner" abstract="false" lazy="false" discriminator-value="Owner" table="`owner`"> - <meta attribute="eclassName">Owner</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz247939</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`owner_id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="OWNERdtype" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="ownedCats" inverse="true" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`cat_owner_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Cat"/> - </bag> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz247939.impl.CatImpl" entity-name="Cat" abstract="false" lazy="false" extends="Animal" discriminator-value="Cat"> - <meta attribute="eclassName">Cat</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz247939</meta> - <join table="`cat`"> - <key> - <column name="`animal_id`"/> - </key> - <many-to-one name="owner" entity-name="Owner" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="cat_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`cat_owner_id`"/> - </many-to-one> - </join> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 0656e132d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.issues.bz247939.impl.AnimalImpl" entity-name="Animal" abstract="false" lazy="false" discriminator-value="Animal" table="`animal`"> - <meta attribute="eclassName" inherit="false">Animal</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247939</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`animal_id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="ANIMAL_TYPE" index="ANIMALANIMAL_TYPE" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz247939.impl.OwnerImpl" entity-name="Owner" abstract="false" lazy="false" table="`owner`"> - <meta attribute="eclassName" inherit="false">Owner</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247939</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`owner_id`"/> - <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> - <bag name="ownedCats" inverse="true" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`cat_owner_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Cat"/> - </bag> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz247939.impl.CatImpl" entity-name="Cat" abstract="false" lazy="false" extends="Animal" discriminator-value="Cat"> - <meta attribute="eclassName" inherit="false">Cat</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247939</meta> - <join table="`cat`"> - <key> - <column name="`animal_id`"/> - </key> - <many-to-one name="owner" entity-name="Owner" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="cat_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`cat_owner_id`"/> - </many-to-one> - </join> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 0656e132d..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.issues.bz247939.impl.AnimalImpl" entity-name="Animal" abstract="false" lazy="false" discriminator-value="Animal" table="`animal`"> - <meta attribute="eclassName" inherit="false">Animal</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247939</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`animal_id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="ANIMAL_TYPE" index="ANIMALANIMAL_TYPE" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz247939.impl.OwnerImpl" entity-name="Owner" abstract="false" lazy="false" table="`owner`"> - <meta attribute="eclassName" inherit="false">Owner</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247939</meta> - <id name="id" type="java.lang.Long"> - <column not-null="true" unique="false" name="`owner_id`"/> - <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> - <bag name="ownedCats" inverse="true" lazy="true" cascade="merge,persist,save-update,lock"> - <key update="true"> - <column name="`cat_owner_id`" not-null="false" unique="false"/> - </key> - <one-to-many entity-name="Cat"/> - </bag> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz247939.impl.CatImpl" entity-name="Cat" abstract="false" lazy="false" extends="Animal" discriminator-value="Cat"> - <meta attribute="eclassName" inherit="false">Cat</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz247939</meta> - <join table="`cat`"> - <key> - <column name="`animal_id`"/> - </key> - <many-to-one name="owner" entity-name="Owner" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="cat_owner" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`cat_owner_id`"/> - </many-to-one> - </join> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e3adac747..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,29 +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="org.eclipse.emf.teneo.samples.issues.bz249246.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz249246</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 type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <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> - <subclass name="org.eclipse.emf.teneo.samples.issues.bz249246.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" extends="Person" discriminator-value="Student"> - <meta attribute="eclassName">Student</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz249246</meta> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String"> - <column not-null="false" unique="true" name="`id`"/> - </property> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 440792483..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,29 +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="org.eclipse.emf.teneo.samples.issues.bz249246.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz249246</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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz249246.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" extends="Person" table="`student`"> - <meta attribute="eclassName" inherit="false">Student</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz249246</meta> - <key> - <column name="`person_e_id`"/> - </key> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="true" type="java.lang.String"> - <column not-null="true" unique="true" name="`id`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 440792483..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,29 +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="org.eclipse.emf.teneo.samples.issues.bz249246.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz249246</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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz249246.impl.StudentImpl" entity-name="Student" abstract="false" lazy="false" extends="Person" table="`student`"> - <meta attribute="eclassName" inherit="false">Student</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz249246</meta> - <key> - <column name="`person_e_id`"/> - </key> - <property name="id" lazy="false" insert="true" update="true" not-null="true" unique="true" type="java.lang.String"> - <column not-null="true" unique="true" name="`id`"/> - </property> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 918544d81..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,94 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`author`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`author`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index b96290afe..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`author`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`author`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index b96290afe..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,85 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta> - <id name="title" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </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="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`author`"/> - </many-to-one> - <property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`test`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers`" not-null="false" unique="false"/> - </key> - <list-index column="`test_index`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</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="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`author`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 9e03a02f7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,39 +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="org.eclipse.emf.teneo.samples.issues.bz253799.impl.OneImpl" entity-name="One" abstract="false" lazy="false" discriminator-value="One" table="`one`"> - <meta attribute="eclassName">One</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz253799</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 type="string"> - <column name="dtype" index="onedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="ref" entity-name="Two" cascade="merge,persist,save-update,lock,refresh" not-null="true" lazy="false" foreign-key="one_ref" insert="true" update="true" unique="true"> - <column not-null="true" unique="false" name="`ref1`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz253799.impl.TwoImpl" entity-name="Two" abstract="false" lazy="false" discriminator-value="Two" table="`two`"> - <meta attribute="eclassName">Two</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz253799</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 type="string"> - <column name="dtype" index="twodtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="ref" entity-name="One" cascade="merge,persist,save-update,lock,refresh" not-null="true" lazy="false" foreign-key="two_ref" insert="true" update="true" unique="true"> - <column not-null="true" unique="false" name="`ref1`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 1ce6fe2fc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,33 +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="org.eclipse.emf.teneo.samples.issues.bz253799.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz253799</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> - <many-to-one name="ref" entity-name="Two" cascade="merge,persist,save-update,lock,refresh" not-null="true" lazy="false" foreign-key="one_ref" insert="true" update="true" unique="true"> - <column not-null="true" unique="false" name="`ref1`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz253799.impl.TwoImpl" entity-name="Two" abstract="false" lazy="false" table="`two`"> - <meta attribute="eclassName" inherit="false">Two</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz253799</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> - <many-to-one name="ref" entity-name="One" cascade="merge,persist,save-update,lock,refresh" not-null="true" lazy="false" foreign-key="two_ref" insert="true" update="true" unique="true"> - <column not-null="true" unique="false" name="`ref1`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 1ce6fe2fc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,33 +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="org.eclipse.emf.teneo.samples.issues.bz253799.impl.OneImpl" entity-name="One" abstract="false" lazy="false" table="`one`"> - <meta attribute="eclassName" inherit="false">One</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz253799</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> - <many-to-one name="ref" entity-name="Two" cascade="merge,persist,save-update,lock,refresh" not-null="true" lazy="false" foreign-key="one_ref" insert="true" update="true" unique="true"> - <column not-null="true" unique="false" name="`ref1`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz253799.impl.TwoImpl" entity-name="Two" abstract="false" lazy="false" table="`two`"> - <meta attribute="eclassName" inherit="false">Two</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz253799</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> - <many-to-one name="ref" entity-name="One" cascade="merge,persist,save-update,lock,refresh" not-null="true" lazy="false" foreign-key="two_ref" insert="true" update="true" unique="true"> - <column not-null="true" unique="false" name="`ref1`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index fc4f00b40..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,47 +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="org.eclipse.emf.teneo.samples.issues.bz277546.impl.AnotherVersionImpl" entity-name="AnotherVersion" abstract="false" lazy="false" discriminator-value="AnotherVersion" table="`anotherversion`"> - <meta attribute="eclassName">AnotherVersion</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz277546</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="anotherversiondtype" length="255" not-null="true"/> - </discriminator> - <version name="version" type="timestamp"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz277546.impl.DateVersionImpl" entity-name="DateVersion" abstract="false" lazy="false" discriminator-value="DateVersion" table="`dateversion`"> - <meta attribute="eclassName">DateVersion</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz277546</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="dateversiondtype" length="255" not-null="true"/> - </discriminator> - <version name="version" type="java.util.Date"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz277546.impl.SimpleVersionImpl" entity-name="SimpleVersion" abstract="false" lazy="false" discriminator-value="SimpleVersion" table="`simpleversion`"> - <meta attribute="eclassName">SimpleVersion</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz277546</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="dtype" index="simpleversiondtype" length="255" not-null="true"/> - </discriminator> - <version name="version" type="timestamp"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 237229469..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.bz277546.impl.AnotherVersionImpl" entity-name="AnotherVersion" abstract="false" lazy="false" table="`anotherversion`"> - <meta attribute="eclassName" inherit="false">AnotherVersion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz277546</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="timestamp"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz277546.impl.DateVersionImpl" entity-name="DateVersion" abstract="false" lazy="false" table="`dateversion`"> - <meta attribute="eclassName" inherit="false">DateVersion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz277546</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="java.util.Date"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz277546.impl.SimpleVersionImpl" entity-name="SimpleVersion" abstract="false" lazy="false" table="`simpleversion`"> - <meta attribute="eclassName" inherit="false">SimpleVersion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz277546</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="timestamp"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 237229469..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.bz277546.impl.AnotherVersionImpl" entity-name="AnotherVersion" abstract="false" lazy="false" table="`anotherversion`"> - <meta attribute="eclassName" inherit="false">AnotherVersion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz277546</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="timestamp"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz277546.impl.DateVersionImpl" entity-name="DateVersion" abstract="false" lazy="false" table="`dateversion`"> - <meta attribute="eclassName" inherit="false">DateVersion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz277546</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="java.util.Date"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.bz277546.impl.SimpleVersionImpl" entity-name="SimpleVersion" abstract="false" lazy="false" table="`simpleversion`"> - <meta attribute="eclassName" inherit="false">SimpleVersion</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz277546</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - <generator class="native"/> - </id> - <version name="version" type="timestamp"> - <column not-null="true" unique="false" name="`version`"/> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e02c1c5d8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,53 +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="org.eclipse.emf.teneo.samples.issues.adept.impl.BazImpl" entity-name="Baz" abstract="true" lazy="false" discriminator-value="Baz" table="`baz`"> - <meta attribute="eclassName">Baz</meta> - <meta attribute="epackage">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="bazdtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.adept.impl.FooImpl" entity-name="Foo" abstract="false" lazy="false" discriminator-value="Foo" table="`foo`"> - <meta attribute="eclassName">Foo</meta> - <meta attribute="epackage">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="foodtype" length="255" not-null="true"/> - </discriminator> - <list name="bars" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="foo_bars"> - <column name="`foo_bars_id`" not-null="false" unique="false"/> - </key> - <list-index column="`foo_bars_idx`"/> - <one-to-many entity-name="Bar"/> - </list> - <list name="biffs" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="foo_biffs"> - <column name="`foo_biffs_id`" not-null="false" unique="false"/> - </key> - <list-index column="`foo_biffs_idx`"/> - <one-to-many entity-name="Biff"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.adept.impl.BarImpl" entity-name="Bar" abstract="false" lazy="false" extends="Baz" discriminator-value="Bar"> - <meta attribute="eclassName">Bar</meta> - <meta attribute="epackage">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <many-to-one name="baz" entity-name="Baz" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="bar_baz" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`baz_baz_id`"/> - </many-to-one> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.adept.impl.BiffImpl" entity-name="Biff" abstract="false" lazy="false" extends="Baz" discriminator-value="Biff"> - <meta attribute="eclassName">Biff</meta> - <meta attribute="epackage">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 340138226..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,53 +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="org.eclipse.emf.teneo.samples.issues.adept.impl.BazImpl" entity-name="Baz" abstract="true" lazy="false" table="`baz`"> - <meta attribute="eclassName" inherit="false">Baz</meta> - <meta attribute="epackage" inherit="false">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.adept.impl.FooImpl" entity-name="Foo" abstract="false" lazy="false" table="`foo`"> - <meta attribute="eclassName" inherit="false">Foo</meta> - <meta attribute="epackage" inherit="false">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <list name="bars" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="foo_bars"> - <column name="`foo_bars_id`" not-null="false" unique="false"/> - </key> - <list-index column="`foo_bars_idx`"/> - <one-to-many entity-name="Bar"/> - </list> - <list name="biffs" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="foo_biffs"> - <column name="`foo_biffs_id`" not-null="false" unique="false"/> - </key> - <list-index column="`foo_biffs_idx`"/> - <one-to-many entity-name="Biff"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.adept.impl.BarImpl" entity-name="Bar" abstract="false" lazy="false" extends="Baz" table="`bar`"> - <meta attribute="eclassName" inherit="false">Bar</meta> - <meta attribute="epackage" inherit="false">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <key> - <column name="`baz_id`"/> - </key> - <many-to-one name="baz" entity-name="Baz" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="bar_baz" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`baz_baz_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.adept.impl.BiffImpl" entity-name="Biff" abstract="false" lazy="false" extends="Baz" table="`biff`"> - <meta attribute="eclassName" inherit="false">Biff</meta> - <meta attribute="epackage" inherit="false">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <key> - <column name="`baz_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 340138226..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,53 +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="org.eclipse.emf.teneo.samples.issues.adept.impl.BazImpl" entity-name="Baz" abstract="true" lazy="false" table="`baz`"> - <meta attribute="eclassName" inherit="false">Baz</meta> - <meta attribute="epackage" inherit="false">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.adept.impl.FooImpl" entity-name="Foo" abstract="false" lazy="false" table="`foo`"> - <meta attribute="eclassName" inherit="false">Foo</meta> - <meta attribute="epackage" inherit="false">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`id`"/> - </id> - <list name="bars" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="foo_bars"> - <column name="`foo_bars_id`" not-null="false" unique="false"/> - </key> - <list-index column="`foo_bars_idx`"/> - <one-to-many entity-name="Bar"/> - </list> - <list name="biffs" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="foo_biffs"> - <column name="`foo_biffs_id`" not-null="false" unique="false"/> - </key> - <list-index column="`foo_biffs_idx`"/> - <one-to-many entity-name="Biff"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.adept.impl.BarImpl" entity-name="Bar" abstract="false" lazy="false" extends="Baz" table="`bar`"> - <meta attribute="eclassName" inherit="false">Bar</meta> - <meta attribute="epackage" inherit="false">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <key> - <column name="`baz_id`"/> - </key> - <many-to-one name="baz" entity-name="Baz" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="bar_baz" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`baz_baz_id`"/> - </many-to-one> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.adept.impl.BiffImpl" entity-name="Biff" abstract="false" lazy="false" extends="Baz" table="`biff`"> - <meta attribute="eclassName" inherit="false">Biff</meta> - <meta attribute="epackage" inherit="false">org.eclipse.emf.teneo.samples.issues.bz277570</meta> - <key> - <column name="`baz_id`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index ed3231696..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,16 +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="org.eclipse.emf.teneo.samples.issues.bz302933.bz302933_1.impl.TestTypeImpl" entity-name="TestType" abstract="false" lazy="false" table="`testtype`"> - <meta attribute="eclassName" inherit="false">TestType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz302933/subpackage1</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ed3231696..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,16 +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="org.eclipse.emf.teneo.samples.issues.bz302933.bz302933_1.impl.TestTypeImpl" entity-name="TestType" abstract="false" lazy="false" table="`testtype`"> - <meta attribute="eclassName" inherit="false">TestType</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz302933/subpackage1</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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 7ce1f8797..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,32 +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="org.eclipse.emf.teneo.samples.issues.bagduplicate.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bagduplicate</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="father" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_father" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_father_name`"/> - </many-to-one> - <many-to-one name="mother" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_mother" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_mother_name`"/> - </many-to-one> - <bag name="children" table="`person_person`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`person_children_name`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Person" unique="false" foreign-key="person_children"> - <column name="`person_name`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 13c967723..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,29 +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="org.eclipse.emf.teneo.samples.issues.bagduplicate.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bagduplicate</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <many-to-one name="father" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_father" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_father_name`"/> - </many-to-one> - <many-to-one name="mother" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_mother" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_mother_name`"/> - </many-to-one> - <bag name="children" table="`person_person`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`person_children_name`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Person" unique="false" foreign-key="person_children"> - <column name="`person_name`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 13c967723..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,29 +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="org.eclipse.emf.teneo.samples.issues.bagduplicate.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bagduplicate</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <many-to-one name="father" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_father" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_father_name`"/> - </many-to-one> - <many-to-one name="mother" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_mother" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`person_mother_name`"/> - </many-to-one> - <bag name="children" table="`person_person`" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`person_children_name`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Person" unique="false" foreign-key="person_children"> - <column name="`person_name`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index f8f3c5850..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,33 +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"> - <typedef name="enumtest.ItemTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</param> - <param name="edatatype">ItemTypeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.enumtest.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</meta> - <id name="itemType"> - <column not-null="true" unique="false" name="`itemtype`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> - </type> - </id> - <discriminator type="string"> - <column name="dtype" index="itemdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="nullableItemType" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`nullableitemtype`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> - <param name="eclassifier">ItemType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</param> - </type> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 6b8f800e1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,30 +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"> - <typedef name="enumtest.ItemTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</param> - <param name="edatatype">ItemTypeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.enumtest.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName" inherit="false">Item</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</meta> - <id name="itemType"> - <column not-null="true" unique="false" name="`itemtype`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> - </type> - </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="nullableItemType" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`nullableitemtype`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> - <param name="eclassifier">ItemType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</param> - </type> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 6b8f800e1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,30 +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"> - <typedef name="enumtest.ItemTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</param> - <param name="edatatype">ItemTypeObject</param> - </typedef> - <class name="org.eclipse.emf.teneo.samples.issues.enumtest.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName" inherit="false">Item</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</meta> - <id name="itemType"> - <column not-null="true" unique="false" name="`itemtype`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> - </type> - </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="nullableItemType" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`nullableitemtype`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> - <param name="eclassifier">ItemType</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</param> - </type> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 5062e0476..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,112 +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="org.eclipse.emf.teneo.samples.issues.generaltest.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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 type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <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="contacts" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`contact_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`address_contacts_idx`"/> - <one-to-many entity-name="Contact"/> - </list> - <many-to-one name="country" entity-name="Country" lazy="false" foreign-key="address_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`country_country_e_id`"/> - </many-to-one> - <many-to-one name="city" entity-name="City" lazy="false" cascade="all" foreign-key="address_city" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`city_city_e_id`"/> - </many-to-one> - <property name="volatileString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`volatilestring`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.ContactImpl" entity-name="Contact" abstract="false" lazy="false" discriminator-value="Contact" table="`contact`"> - <meta attribute="eclassName">Contact</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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 type="string"> - <column name="dtype" index="contactdtype" length="255" not-null="true"/> - </discriminator> - <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> - <many-to-one name="address" entity-name="Address" lazy="false" foreign-key="contact_address" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`contact_address_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.CountryImpl" entity-name="Country" abstract="false" lazy="false" discriminator-value="Country" table="`country`"> - <meta attribute="eclassName">Country</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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 type="string"> - <column name="dtype" index="countrydtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.CityImpl" entity-name="City" abstract="false" lazy="false" discriminator-value="City" table="`city`"> - <meta attribute="eclassName">City</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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 type="string"> - <column name="dtype" index="citydtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.TCImpl" entity-name="TC" abstract="false" lazy="false" discriminator-value="TC" table="`tc`"> - <meta attribute="eclassName">TC</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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 type="string"> - <column name="dtype" index="tcdtype" length="255" not-null="true"/> - </discriminator> - <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> - <many-to-one name="address" entity-name="Address" lazy="false" foreign-key="tc_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`tc_address_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index b3b5918c4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,97 +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="org.eclipse.emf.teneo.samples.issues.generaltest.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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="contacts" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`contact_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`address_contacts_idx`"/> - <one-to-many entity-name="Contact"/> - </list> - <many-to-one name="country" entity-name="Country" lazy="false" foreign-key="address_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`country_country_e_id`"/> - </many-to-one> - <many-to-one name="city" entity-name="City" lazy="false" cascade="all" foreign-key="address_city" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`city_city_e_id`"/> - </many-to-one> - <property name="volatileString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`volatilestring`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.ContactImpl" entity-name="Contact" abstract="false" lazy="false" table="`contact`"> - <meta attribute="eclassName" inherit="false">Contact</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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> - <many-to-one name="address" entity-name="Address" lazy="false" foreign-key="contact_address" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`contact_address_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.CountryImpl" entity-name="Country" abstract="false" lazy="false" table="`country`"> - <meta attribute="eclassName" inherit="false">Country</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName" inherit="false">City</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.TCImpl" entity-name="TC" abstract="false" lazy="false" table="`tc`"> - <meta attribute="eclassName" inherit="false">TC</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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> - <many-to-one name="address" entity-name="Address" lazy="false" foreign-key="tc_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`tc_address_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index b3b5918c4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,97 +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="org.eclipse.emf.teneo.samples.issues.generaltest.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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="contacts" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`contact_address_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`address_contacts_idx`"/> - <one-to-many entity-name="Contact"/> - </list> - <many-to-one name="country" entity-name="Country" lazy="false" foreign-key="address_country" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`country_country_e_id`"/> - </many-to-one> - <many-to-one name="city" entity-name="City" lazy="false" cascade="all" foreign-key="address_city" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`city_city_e_id`"/> - </many-to-one> - <property name="volatileString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`volatilestring`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.ContactImpl" entity-name="Contact" abstract="false" lazy="false" table="`contact`"> - <meta attribute="eclassName" inherit="false">Contact</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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> - <many-to-one name="address" entity-name="Address" lazy="false" foreign-key="contact_address" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`contact_address_e_id`"/> - </many-to-one> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.CountryImpl" entity-name="Country" abstract="false" lazy="false" table="`country`"> - <meta attribute="eclassName" inherit="false">Country</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`"> - <meta attribute="eclassName" inherit="false">City</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.generaltest.impl.TCImpl" entity-name="TC" abstract="false" lazy="false" table="`tc`"> - <meta attribute="eclassName" inherit="false">TC</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/generaltest</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> - <many-to-one name="address" entity-name="Address" lazy="false" foreign-key="tc_address" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`tc_address_e_id`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 1560fb5e6..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,54 +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="org.eclipse.emf.teneo.samples.issues.inheritance.impl.ThingImpl" entity-name="Thing" abstract="false" lazy="false" discriminator-value="Thing" table="`thing`"> - <meta attribute="eclassName">Thing</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="thingdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="things" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="thing_things"> - <column name="`thing_things_name`" not-null="false" unique="false"/> - </key> - <list-index column="`thing_things_idx`"/> - <one-to-many entity-name="SubThing"/> - </list> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.AnnotationImpl" entity-name="Annotation" abstract="false" lazy="false" extends="Thing" discriminator-value="Annotation"> - <meta attribute="eclassName">Annotation</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.InterestImpl" entity-name="Interest" abstract="false" lazy="false" extends="Thing" discriminator-value="Interest"> - <meta attribute="eclassName">Interest</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubOneImpl" entity-name="SubOne" abstract="false" lazy="false" extends="Annotation" discriminator-value="SubOne"> - <meta attribute="eclassName">SubOne</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - </subclass> - <class name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubThingImpl" entity-name="SubThing" abstract="false" lazy="false" discriminator-value="SubThing" table="`subthing`"> - <meta attribute="eclassName">SubThing</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="subthingdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubTwoImpl" entity-name="SubTwo" abstract="false" lazy="false" extends="Annotation" discriminator-value="SubTwo"> - <meta attribute="eclassName">SubTwo</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index b82a0f57b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,60 +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="org.eclipse.emf.teneo.samples.issues.inheritance.impl.ThingImpl" entity-name="Thing" abstract="false" lazy="false" table="`thing`"> - <meta attribute="eclassName" inherit="false">Thing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <list name="things" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="thing_things"> - <column name="`thing_things_name`" not-null="false" unique="false"/> - </key> - <list-index column="`thing_things_idx`"/> - <one-to-many entity-name="SubThing"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.AnnotationImpl" entity-name="Annotation" abstract="false" lazy="false" extends="Thing" table="`annotation`"> - <meta attribute="eclassName" inherit="false">Annotation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <key> - <column name="`thing_name`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.InterestImpl" entity-name="Interest" abstract="false" lazy="false" extends="Thing" table="`interest`"> - <meta attribute="eclassName" inherit="false">Interest</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <key> - <column name="`thing_name`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubOneImpl" entity-name="SubOne" abstract="false" lazy="false" extends="Annotation" table="`subone`"> - <meta attribute="eclassName" inherit="false">SubOne</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <key> - <column name="`annotation_name`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubThingImpl" entity-name="SubThing" abstract="false" lazy="false" table="`subthing`"> - <meta attribute="eclassName" inherit="false">SubThing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubTwoImpl" entity-name="SubTwo" abstract="false" lazy="false" extends="Annotation" table="`subtwo`"> - <meta attribute="eclassName" inherit="false">SubTwo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <key> - <column name="`annotation_name`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index b82a0f57b..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,60 +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="org.eclipse.emf.teneo.samples.issues.inheritance.impl.ThingImpl" entity-name="Thing" abstract="false" lazy="false" table="`thing`"> - <meta attribute="eclassName" inherit="false">Thing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <list name="things" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="thing_things"> - <column name="`thing_things_name`" not-null="false" unique="false"/> - </key> - <list-index column="`thing_things_idx`"/> - <one-to-many entity-name="SubThing"/> - </list> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.AnnotationImpl" entity-name="Annotation" abstract="false" lazy="false" extends="Thing" table="`annotation`"> - <meta attribute="eclassName" inherit="false">Annotation</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <key> - <column name="`thing_name`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.InterestImpl" entity-name="Interest" abstract="false" lazy="false" extends="Thing" table="`interest`"> - <meta attribute="eclassName" inherit="false">Interest</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <key> - <column name="`thing_name`"/> - </key> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubOneImpl" entity-name="SubOne" abstract="false" lazy="false" extends="Annotation" table="`subone`"> - <meta attribute="eclassName" inherit="false">SubOne</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <key> - <column name="`annotation_name`"/> - </key> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubThingImpl" entity-name="SubThing" abstract="false" lazy="false" table="`subthing`"> - <meta attribute="eclassName" inherit="false">SubThing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubTwoImpl" entity-name="SubTwo" abstract="false" lazy="false" extends="Annotation" table="`subtwo`"> - <meta attribute="eclassName" inherit="false">SubTwo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> - <key> - <column name="`annotation_name`"/> - </key> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index aeceebd63..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,50 +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="org.eclipse.emf.teneo.samples.issues.interfacetrue.Address" entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`"> - <meta attribute="eclassName">Address</meta> - <meta attribute="epackage">http:///org/elver/store/test/issues/interfacetrue.ecore</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 type="string"> - <column name="dtype" index="addressdtype" length="255" not-null="true"/> - </discriminator> - <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> - <subclass name="org.eclipse.emf.teneo.samples.issues.interfacetrue.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"> - <meta attribute="eclassName">USAddress</meta> - <meta attribute="epackage">http:///org/elver/store/test/issues/interfacetrue.ecore</meta> - <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="`state`"/> - </property> - </subclass> - <class name="org.eclipse.emf.teneo.samples.issues.interfacetrue.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" discriminator-value="AddressList" table="`addresslist`"> - <meta attribute="eclassName">AddressList</meta> - <meta attribute="epackage">http:///org/elver/store/test/issues/interfacetrue.ecore</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 type="string"> - <column name="dtype" index="addresslistdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <list name="addresses" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="addresslist_addresses"> - <column name="`addresslist_addresses_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`addresslist_addresses_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index fc58520b8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,47 +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="org.eclipse.emf.teneo.samples.issues.interfacetrue.Address" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/issues/interfacetrue.ecore</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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.interfacetrue.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/issues/interfacetrue.ecore</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`state`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.interfacetrue.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`"> - <meta attribute="eclassName" inherit="false">AddressList</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/issues/interfacetrue.ecore</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> - <list name="addresses" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="addresslist_addresses"> - <column name="`addresslist_addresses_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`addresslist_addresses_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index fc58520b8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,47 +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="org.eclipse.emf.teneo.samples.issues.interfacetrue.Address" entity-name="Address" abstract="true" lazy="false" table="`address`"> - <meta attribute="eclassName" inherit="false">Address</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/issues/interfacetrue.ecore</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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.interfacetrue.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> - <meta attribute="eclassName" inherit="false">USAddress</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/issues/interfacetrue.ecore</meta> - <key> - <column name="`address_e_id`"/> - </key> - <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`state`"/> - </property> - </joined-subclass> - <class name="org.eclipse.emf.teneo.samples.issues.interfacetrue.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`"> - <meta attribute="eclassName" inherit="false">AddressList</meta> - <meta attribute="epackage" inherit="false">http:///org/elver/store/test/issues/interfacetrue.ecore</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> - <list name="addresses" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true" foreign-key="addresslist_addresses"> - <column name="`addresslist_addresses_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`addresslist_addresses_idx`"/> - <one-to-many entity-name="Address"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e1e463ccb..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,31 +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="org.eclipse.emf.teneo.samples.issues.largemapvalue.impl.TestElementImpl" entity-name="TestElement" abstract="false" lazy="false" discriminator-value="TestElement" table="`testelement`"> - <meta attribute="eclassName">TestElement</meta> - <meta attribute="epackage">http://www.pubcurator.org/tester/testmodel</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 type="string"> - <column name="dtype" index="testelementdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <map name="testMap" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`testelement_testmap_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="text" not-null="false" unique="false"> - <column not-null="false" unique="false" name="`value`" length="1000000"/> - </element> - </map> - <property name="testProp" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`testprop`" length="1000000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index d66b48342..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.issues.largemapvalue.impl.TestElementImpl" entity-name="TestElement" abstract="false" lazy="false" table="`testelement`"> - <meta attribute="eclassName" inherit="false">TestElement</meta> - <meta attribute="epackage" inherit="false">http://www.pubcurator.org/tester/testmodel</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> - <map name="testMap" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`testelement_testmap_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="text" not-null="false" unique="false"> - <column not-null="false" unique="false" name="`value`" length="1000000"/> - </element> - </map> - <property name="testProp" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`testprop`" length="1000000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index d66b48342..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.issues.largemapvalue.impl.TestElementImpl" entity-name="TestElement" abstract="false" lazy="false" table="`testelement`"> - <meta attribute="eclassName" inherit="false">TestElement</meta> - <meta attribute="epackage" inherit="false">http://www.pubcurator.org/tester/testmodel</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> - <map name="testMap" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`testelement_testmap_e_id`" not-null="false" unique="false"/> - </key> - <map-key type="java.lang.String"/> - <element type="text" not-null="false" unique="false"> - <column not-null="false" unique="false" name="`value`" length="1000000"/> - </element> - </map> - <property name="testProp" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`testprop`" length="1000000"/> - </property> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 053e643a4..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.mtmsame.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> - <meta attribute="eclassName">Item</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/mtmsame</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 type="string"> - <column name="dtype" index="itemdtype" length="255" not-null="true"/> - </discriminator> - <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> - <bag name="mySide" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`item_item`"> - <key update="true"> - <column name="`item_myside_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Item" unique="false" foreign-key="item_myside"> - <column name="`item_yourside_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="yourSide" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`item_item`"> - <key update="true"> - <column name="`item_yourside_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Item" unique="false" foreign-key="item_yourside"> - <column name="`item_myside_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index ddf808bf8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,35 +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="org.eclipse.emf.teneo.samples.issues.mtmsame.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName" inherit="false">Item</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/mtmsame</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> - <bag name="mySide" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`item_item`"> - <key update="true"> - <column name="`item_myside_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Item" unique="false" foreign-key="item_myside"> - <column name="`item_yourside_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="yourSide" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`item_item`"> - <key update="true"> - <column name="`item_yourside_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Item" unique="false" foreign-key="item_yourside"> - <column name="`item_myside_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index ddf808bf8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,35 +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="org.eclipse.emf.teneo.samples.issues.mtmsame.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`"> - <meta attribute="eclassName" inherit="false">Item</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/mtmsame</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> - <bag name="mySide" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`item_item`"> - <key update="true"> - <column name="`item_myside_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Item" unique="false" foreign-key="item_myside"> - <column name="`item_yourside_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - <bag name="yourSide" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`item_item`"> - <key update="true"> - <column name="`item_yourside_e_id`" not-null="true" unique="false"/> - </key> - <many-to-many entity-name="Item" unique="false" foreign-key="item_yourside"> - <column name="`item_myside_e_id`" not-null="true" unique="false"/> - </many-to-many> - </bag> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 8a6f390f8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,121 +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="testinheritance.impl.SomeBaseClassImpl" entity-name="SomeBaseClass" abstract="false" lazy="false" discriminator-value="SomeBaseClass" table="`somebaseclass`"> - <meta attribute="eclassName">SomeBaseClass</meta> - <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</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 type="string"> - <column name="dtype" index="somebaseclassdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`anotherproperty`"/> - </property> - </class> - <subclass name="testinheritance.impl.SomeResourceImpl" entity-name="SomeResource" abstract="false" lazy="false" extends="SomeBaseClass" discriminator-value="SomeResource"> - <meta attribute="eclassName">SomeResource</meta> - <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</meta> - <property name="property" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`property`"/> - </property> - <list name="nameValuePairs" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`someresource_namevaluepairs_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`someresource_namevaluepairs_idx`"/> - <one-to-many entity-name="NameValuePair"/> - </list> - </subclass> - <class name="testinheritance.impl.NameValuePairImpl" entity-name="NameValuePair" abstract="false" lazy="false" discriminator-value="NameValuePair" table="`namevaluepair`"> - <meta attribute="eclassName">NameValuePair</meta> - <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</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 type="string"> - <column name="dtype" index="namevaluepairdtype" length="255" not-null="true"/> - </discriminator> - <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> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="testinheritance.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" discriminator-value="ParentOne" table="`parentone`"> - <meta attribute="eclassName">ParentOne</meta> - <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</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 type="string"> - <column name="dtype" index="parentonedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`anotherproperty`"/> - </property> - </class> - <class name="testinheritance.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" discriminator-value="Child" table="`child`"> - <meta attribute="eclassName">Child</meta> - <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</meta> - <id name="testId" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`testid`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="childdtype" length="255" not-null="true"/> - </discriminator> - <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> - <many-to-one name="someReference" entity-name="SomeReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`somereference_somereference_name`"/> - </many-to-one> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`age`"/> - </property> - </class> - <subclass name="testinheritance.impl.Child2Impl" entity-name="Child2" abstract="false" lazy="false" extends="ParentOne" discriminator-value="Child2"> - <meta attribute="eclassName">Child2</meta> - <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</meta> - <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> - <many-to-one name="someReference" entity-name="SomeReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`somereference_somereference_name`"/> - </many-to-one> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`age`"/> - </property> - </subclass> - <class name="testinheritance.impl.SomeReferenceImpl" entity-name="SomeReference" abstract="false" lazy="false" discriminator-value="SomeReference" table="`somereference`"> - <meta attribute="eclassName">SomeReference</meta> - <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="somereferencedtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index bb37ada31..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,112 +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="testinheritance.impl.SomeBaseClassImpl" entity-name="SomeBaseClass" abstract="false" lazy="false" table="`somebaseclass`"> - <meta attribute="eclassName" inherit="false">SomeBaseClass</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</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="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`anotherproperty`"/> - </property> - </class> - <joined-subclass name="testinheritance.impl.SomeResourceImpl" entity-name="SomeResource" abstract="false" lazy="false" extends="SomeBaseClass" table="`someresource`"> - <meta attribute="eclassName" inherit="false">SomeResource</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</meta> - <key> - <column name="`somebaseclass_e_id`"/> - </key> - <property name="property" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`property`"/> - </property> - <list name="nameValuePairs" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`someresource_namevaluepairs_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`someresource_namevaluepairs_idx`"/> - <one-to-many entity-name="NameValuePair"/> - </list> - </joined-subclass> - <class name="testinheritance.impl.NameValuePairImpl" entity-name="NameValuePair" abstract="false" lazy="false" table="`namevaluepair`"> - <meta attribute="eclassName" inherit="false">NameValuePair</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</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> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="testinheritance.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" table="`parentone`"> - <meta attribute="eclassName" inherit="false">ParentOne</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</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="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`anotherproperty`"/> - </property> - </class> - <class name="testinheritance.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" table="`child`"> - <meta attribute="eclassName" inherit="false">Child</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</meta> - <id name="testId" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`testid`"/> - </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> - <many-to-one name="someReference" entity-name="SomeReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`somereference_somereference_name`"/> - </many-to-one> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`age`"/> - </property> - </class> - <joined-subclass name="testinheritance.impl.Child2Impl" entity-name="Child2" abstract="false" lazy="false" extends="ParentOne" table="`child2`"> - <meta attribute="eclassName" inherit="false">Child2</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</meta> - <key> - <column name="`parentzero_e_id`"/> - </key> - <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> - <many-to-one name="someReference" entity-name="SomeReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`somereference_somereference_name`"/> - </many-to-one> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`age`"/> - </property> - </joined-subclass> - <class name="testinheritance.impl.SomeReferenceImpl" entity-name="SomeReference" abstract="false" lazy="false" table="`somereference`"> - <meta attribute="eclassName" inherit="false">SomeReference</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index bb37ada31..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,112 +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="testinheritance.impl.SomeBaseClassImpl" entity-name="SomeBaseClass" abstract="false" lazy="false" table="`somebaseclass`"> - <meta attribute="eclassName" inherit="false">SomeBaseClass</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</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="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`anotherproperty`"/> - </property> - </class> - <joined-subclass name="testinheritance.impl.SomeResourceImpl" entity-name="SomeResource" abstract="false" lazy="false" extends="SomeBaseClass" table="`someresource`"> - <meta attribute="eclassName" inherit="false">SomeResource</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</meta> - <key> - <column name="`somebaseclass_e_id`"/> - </key> - <property name="property" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`property`"/> - </property> - <list name="nameValuePairs" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> - <column name="`someresource_namevaluepairs_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`someresource_namevaluepairs_idx`"/> - <one-to-many entity-name="NameValuePair"/> - </list> - </joined-subclass> - <class name="testinheritance.impl.NameValuePairImpl" entity-name="NameValuePair" abstract="false" lazy="false" table="`namevaluepair`"> - <meta attribute="eclassName" inherit="false">NameValuePair</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</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> - <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`value`"/> - </property> - </class> - <class name="testinheritance.impl.ParentOneImpl" entity-name="ParentOne" abstract="false" lazy="false" table="`parentone`"> - <meta attribute="eclassName" inherit="false">ParentOne</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</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="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`anotherproperty`"/> - </property> - </class> - <class name="testinheritance.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" table="`child`"> - <meta attribute="eclassName" inherit="false">Child</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</meta> - <id name="testId" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`testid`"/> - </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> - <many-to-one name="someReference" entity-name="SomeReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`somereference_somereference_name`"/> - </many-to-one> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`age`"/> - </property> - </class> - <joined-subclass name="testinheritance.impl.Child2Impl" entity-name="Child2" abstract="false" lazy="false" extends="ParentOne" table="`child2`"> - <meta attribute="eclassName" inherit="false">Child2</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</meta> - <key> - <column name="`parentzero_e_id`"/> - </key> - <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> - <many-to-one name="someReference" entity-name="SomeReference" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`somereference_somereference_name`"/> - </many-to-one> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`age`"/> - </property> - </joined-subclass> - <class name="testinheritance.impl.SomeReferenceImpl" entity-name="SomeReference" abstract="false" lazy="false" table="`somereference`"> - <meta attribute="eclassName" inherit="false">SomeReference</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/model</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a6370b867..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,34 +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="org.eclipse.emf.teneo.samples.issues.resource.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`"> - <meta attribute="eclassName">Head</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> - <id name="hair" type="java.lang.String"> - <column not-null="true" unique="false" name="`hair`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="headdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.resource.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </id> - <discriminator type="string"> - <column name="dtype" index="persondtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <many-to-one name="head" entity-name="Head" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_head" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`head_head_hair`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 826256e39..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.issues.resource.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" table="`head`"> - <meta attribute="eclassName" inherit="false">Head</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> - <id name="hair" type="java.lang.String"> - <column not-null="true" unique="false" name="`hair`"/> - </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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.resource.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <many-to-one name="head" entity-name="Head" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_head" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`head_head_hair`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 826256e39..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,28 +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="org.eclipse.emf.teneo.samples.issues.resource.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" table="`head`"> - <meta attribute="eclassName" inherit="false">Head</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> - <id name="hair" type="java.lang.String"> - <column not-null="true" unique="false" name="`hair`"/> - </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> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.resource.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`person`"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> - <id name="name" type="java.lang.String"> - <column not-null="true" unique="false" name="`name`"/> - </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> - <many-to-one name="head" entity-name="Head" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="person_head" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`head_head_hair`"/> - </many-to-one> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceUnloadAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceUnloadAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 8cb9525f8..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceUnloadAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,46 +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="org.eclipse.emf.teneo.samples.issues.resourceunload.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resourceunload</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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.resourceunload.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resourceunload</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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceUnloadAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceUnloadAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 60d14181f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceUnloadAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.issues.resourceunload.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/resourceunload</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.resourceunload.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/resourceunload</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="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceUnloadAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceUnloadAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 60d14181f..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceUnloadAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,40 +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="org.eclipse.emf.teneo.samples.issues.resourceunload.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/resourceunload</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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.resourceunload.impl.LibraryImpl" entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/resourceunload</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="books" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index e55726209..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.secondary.impl.GenericImpl" entity-name="Generic" abstract="false" lazy="false" discriminator-value="Generic" table="`GENERIC`"> - <meta attribute="eclassName">Generic</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/secondary</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <discriminator type="string"> - <column name="DTYPE" index="GENERICDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.secondary.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" extends="Generic" discriminator-value="Person"> - <meta attribute="eclassName">Person</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/secondary</meta> - <join table="`PERSON_ADDRESS`"> - <key> - <column name="`ID`"/> - </key> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`ADDRESS`"/> - </property> - </join> - <join table="`PERSON_PHOTO`"> - <key> - <column name="`ID`"/> - </key> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> - </property> - </join> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 2f3e8cce1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.secondary.impl.GenericImpl" entity-name="Generic" abstract="false" lazy="false" discriminator-value="Generic" table="`GENERIC`"> - <meta attribute="eclassName" inherit="false">Generic</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/secondary</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <discriminator type="string"> - <column name="DTYPE" index="GENERICDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.secondary.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" extends="Generic" discriminator-value="Person"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/secondary</meta> - <join table="`PERSON_ADDRESS`"> - <key> - <column name="`ID`"/> - </key> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`ADDRESS`"/> - </property> - </join> - <join table="`PERSON_PHOTO`"> - <key> - <column name="`ID`"/> - </key> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> - </property> - </join> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 2f3e8cce1..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,38 +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="org.eclipse.emf.teneo.samples.issues.secondary.impl.GenericImpl" entity-name="Generic" abstract="false" lazy="false" discriminator-value="Generic" table="`GENERIC`"> - <meta attribute="eclassName" inherit="false">Generic</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/secondary</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - </id> - <discriminator type="string"> - <column name="DTYPE" index="GENERICDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion" inherit="false">true</meta> - </version> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.secondary.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" extends="Generic" discriminator-value="Person"> - <meta attribute="eclassName" inherit="false">Person</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/secondary</meta> - <join table="`PERSON_ADDRESS`"> - <key> - <column name="`ID`"/> - </key> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> - <column not-null="false" unique="false" name="`ADDRESS`"/> - </property> - </join> - <join table="`PERSON_PHOTO`"> - <key> - <column name="`ID`"/> - </key> - <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> - <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> - </property> - </join> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index a7872d4b7..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,57 +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="org.eclipse.emf.teneo.samples.issues.simplenm.impl.MeImpl" entity-name="Me" abstract="false" lazy="false" discriminator-value="Me" table="`me`"> - <meta attribute="eclassName">Me</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/simplenm</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 type="string"> - <column name="dtype" index="medtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="you" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`me_you`"> - <key update="true"> - <column name="`me_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`me_you_idx`"/> - <many-to-many entity-name="You" unique="false" foreign-key="me_you"> - <column name="`you_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.simplenm.impl.YouImpl" entity-name="You" abstract="false" lazy="false" discriminator-value="You" table="`you`"> - <meta attribute="eclassName">You</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/simplenm</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 type="string"> - <column name="dtype" index="youdtype" length="255" not-null="true"/> - </discriminator> - <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> - <list name="me" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`you_me`"> - <key update="true"> - <column name="`you_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`you_me_idx`"/> - <many-to-many entity-name="Me" unique="false" foreign-key="you_me"> - <column name="`me_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 66f436438..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.issues.simplenm.impl.MeImpl" entity-name="Me" abstract="false" lazy="false" table="`me`"> - <meta attribute="eclassName" inherit="false">Me</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/simplenm</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="you" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`me_you`"> - <key update="true"> - <column name="`me_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`me_you_idx`"/> - <many-to-many entity-name="You" unique="false" foreign-key="me_you"> - <column name="`you_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.simplenm.impl.YouImpl" entity-name="You" abstract="false" lazy="false" table="`you`"> - <meta attribute="eclassName" inherit="false">You</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/simplenm</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="me" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`you_me`"> - <key update="true"> - <column name="`you_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`you_me_idx`"/> - <many-to-many entity-name="Me" unique="false" foreign-key="you_me"> - <column name="`me_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 66f436438..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,51 +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="org.eclipse.emf.teneo.samples.issues.simplenm.impl.MeImpl" entity-name="Me" abstract="false" lazy="false" table="`me`"> - <meta attribute="eclassName" inherit="false">Me</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/simplenm</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="you" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`me_you`"> - <key update="true"> - <column name="`me_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`me_you_idx`"/> - <many-to-many entity-name="You" unique="false" foreign-key="me_you"> - <column name="`you_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> - <class name="org.eclipse.emf.teneo.samples.issues.simplenm.impl.YouImpl" entity-name="You" abstract="false" lazy="false" table="`you`"> - <meta attribute="eclassName" inherit="false">You</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/simplenm</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="me" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`you_me`"> - <key update="true"> - <column name="`you_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`you_me_idx`"/> - <many-to-many entity-name="Me" unique="false" foreign-key="you_me"> - <column name="`me_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 4fc2e3560..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,101 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> - <meta attribute="eclassName">Book</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="bookdtype" length="255" not-null="true"/> - </discriminator> - <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> - <meta attribute="syntheticVersion">true</meta> - </version> - <property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`" length="50"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`"> - <meta attribute="eclassName">Library</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="librarydtype" length="255" not-null="true"/> - </discriminator> - <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`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`"> - <meta attribute="eclassName">Writer</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</meta> - <cache usage="read-write"/> - <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 type="string"> - <column name="dtype" index="writerdtype" length="255" not-null="true"/> - </discriminator> - <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`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 49fc6f3dc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,92 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</meta> - <cache usage="read-write"/> - <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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`" length="50"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 49fc6f3dc..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,92 +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"> - <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - <param name="edatatype">BookCategoryObject</param> - </typedef> - <class entity-name="Book" abstract="false" lazy="false" table="`book`"> - <meta attribute="eclassName" inherit="false">Book</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</meta> - <cache usage="read-write"/> - <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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`title`" length="50"/> - </property> - <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`pages`"/> - </property> - <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`category`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> - <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> - <param name="eclassifier">BookCategory</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> - </type> - </property> - <many-to-one name="author" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="book_author" insert="false" update="false" not-null="false"> - <column not-null="false" unique="false" name="`book_author_e_id`"/> - </many-to-one> - </class> - <class entity-name="Library" abstract="false" lazy="false" table="`library`"> - <meta attribute="eclassName" inherit="false">Library</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="schrijvers"> - <column name="`library_writers_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_writers_idx`"/> - <one-to-many entity-name="Writer"/> - </list> - <list name="books" lazy="true" cascade="all,delete-orphan"> - <cache usage="read-write"/> - <key update="true" foreign-key="library_books"> - <column name="`library_books_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`library_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> - <class entity-name="Writer" abstract="false" lazy="false" table="`writer`"> - <meta attribute="eclassName" inherit="false">Writer</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</meta> - <cache usage="read-write"/> - <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`" length="50"/> - </property> - <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <cache usage="read-write"/> - <key update="true"> - <column name="`book_author_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`writer_books_idx`"/> - <one-to-many entity-name="Book"/> - </list> - </class> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_mysql_a_o_hibernate.hbm.xml deleted file mode 100755 index 6197d86aa..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_mysql_a_o_hibernate.hbm.xml +++ /dev/null @@ -1,80 +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="org.eclipse.emf.teneo.samples.issues.topclasses.impl.AbstractSuperImpl" entity-name="AbstractSuper" abstract="false" lazy="false" discriminator-value="AbstractSuper" table="`abstractsuper`"> - <meta attribute="eclassName">AbstractSuper</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</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 type="string"> - <column name="dtype" index="abstractsuperdtype" length="255" not-null="true"/> - </discriminator> - <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> - </class> - <subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.MImpl" entity-name="M" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="M"> - <meta attribute="eclassName">M</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <list name="p" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`m_p`"> - <key update="true"> - <column name="`m_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`m_p_idx`"/> - <many-to-many entity-name="P" unique="false" foreign-key="m_p"> - <column name="`p_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.MListImpl" entity-name="MList" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="MList"> - <meta attribute="eclassName">MList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <list name="m" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="mlist_m"> - <column name="`mlist_m_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mlist_m_idx`"/> - <one-to-many entity-name="M"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.PImpl" entity-name="P" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="P"> - <meta attribute="eclassName">P</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <list name="m" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`p_m`"> - <key update="true"> - <column name="`p_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`p_m_idx`"/> - <many-to-many entity-name="M" unique="false" foreign-key="p_m"> - <column name="`m_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.PListImpl" entity-name="PList" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="PList"> - <meta attribute="eclassName">PList</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <list name="p" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="plist_p"> - <column name="`plist_p_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`plist_p_idx`"/> - <one-to-many entity-name="P"/> - </list> - </subclass> - <subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.RImpl" entity-name="R" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="R"> - <meta attribute="eclassName">R</meta> - <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <many-to-one name="plist" entity-name="PList" lazy="false" cascade="all" foreign-key="r_plist" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`plist_plist_e_id`"/> - </many-to-one> - <many-to-one name="mlist" entity-name="MList" lazy="false" cascade="all" foreign-key="r_mlist" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`mlist_mlist_e_id`"/> - </many-to-one> - </subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_mysql_e_o_hibernate.hbm.xml deleted file mode 100755 index 749d23c72..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_mysql_e_o_hibernate.hbm.xml +++ /dev/null @@ -1,92 +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="org.eclipse.emf.teneo.samples.issues.topclasses.impl.AbstractSuperImpl" entity-name="AbstractSuper" abstract="false" lazy="false" table="`abstractsuper`"> - <meta attribute="eclassName" inherit="false">AbstractSuper</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.MImpl" entity-name="M" abstract="false" lazy="false" extends="AbstractSuper" table="`m`"> - <meta attribute="eclassName" inherit="false">M</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <list name="p" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`m_p`"> - <key update="true"> - <column name="`m_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`m_p_idx`"/> - <many-to-many entity-name="P" unique="false" foreign-key="m_p"> - <column name="`p_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.MListImpl" entity-name="MList" abstract="false" lazy="false" extends="AbstractSuper" table="`mlist`"> - <meta attribute="eclassName" inherit="false">MList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <list name="m" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="mlist_m"> - <column name="`mlist_m_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mlist_m_idx`"/> - <one-to-many entity-name="M"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.PImpl" entity-name="P" abstract="false" lazy="false" extends="AbstractSuper" table="`p`"> - <meta attribute="eclassName" inherit="false">P</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <list name="m" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`p_m`"> - <key update="true"> - <column name="`p_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`p_m_idx`"/> - <many-to-many entity-name="M" unique="false" foreign-key="p_m"> - <column name="`m_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.PListImpl" entity-name="PList" abstract="false" lazy="false" extends="AbstractSuper" table="`plist`"> - <meta attribute="eclassName" inherit="false">PList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <list name="p" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="plist_p"> - <column name="`plist_p_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`plist_p_idx`"/> - <one-to-many entity-name="P"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.RImpl" entity-name="R" abstract="false" lazy="false" extends="AbstractSuper" table="`r`"> - <meta attribute="eclassName" inherit="false">R</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <many-to-one name="plist" entity-name="PList" lazy="false" cascade="all" foreign-key="r_plist" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`plist_plist_e_id`"/> - </many-to-one> - <many-to-one name="mlist" entity-name="MList" lazy="false" cascade="all" foreign-key="r_mlist" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`mlist_mlist_e_id`"/> - </many-to-one> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_mysql_s_o_hibernate.hbm.xml deleted file mode 100755 index 749d23c72..000000000 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_mysql_s_o_hibernate.hbm.xml +++ /dev/null @@ -1,92 +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="org.eclipse.emf.teneo.samples.issues.topclasses.impl.AbstractSuperImpl" entity-name="AbstractSuper" abstract="false" lazy="false" table="`abstractsuper`"> - <meta attribute="eclassName" inherit="false">AbstractSuper</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</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> - </class> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.MImpl" entity-name="M" abstract="false" lazy="false" extends="AbstractSuper" table="`m`"> - <meta attribute="eclassName" inherit="false">M</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <list name="p" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`m_p`"> - <key update="true"> - <column name="`m_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`m_p_idx`"/> - <many-to-many entity-name="P" unique="false" foreign-key="m_p"> - <column name="`p_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.MListImpl" entity-name="MList" abstract="false" lazy="false" extends="AbstractSuper" table="`mlist`"> - <meta attribute="eclassName" inherit="false">MList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <list name="m" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="mlist_m"> - <column name="`mlist_m_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`mlist_m_idx`"/> - <one-to-many entity-name="M"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.PImpl" entity-name="P" abstract="false" lazy="false" extends="AbstractSuper" table="`p`"> - <meta attribute="eclassName" inherit="false">P</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <list name="m" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`p_m`"> - <key update="true"> - <column name="`p_e_id`" not-null="true" unique="false"/> - </key> - <list-index column="`p_m_idx`"/> - <many-to-many entity-name="M" unique="false" foreign-key="p_m"> - <column name="`m_e_id`" not-null="true" unique="false"/> - </many-to-many> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.PListImpl" entity-name="PList" abstract="false" lazy="false" extends="AbstractSuper" table="`plist`"> - <meta attribute="eclassName" inherit="false">PList</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <list name="p" lazy="true" cascade="all,delete-orphan"> - <key update="true" foreign-key="plist_p"> - <column name="`plist_p_e_id`" not-null="false" unique="false"/> - </key> - <list-index column="`plist_p_idx`"/> - <one-to-many entity-name="P"/> - </list> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.RImpl" entity-name="R" abstract="false" lazy="false" extends="AbstractSuper" table="`r`"> - <meta attribute="eclassName" inherit="false">R</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta> - <key> - <column name="`abstractsuper_e_id`"/> - </key> - <many-to-one name="plist" entity-name="PList" lazy="false" cascade="all" foreign-key="r_plist" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`plist_plist_e_id`"/> - </many-to-one> - <many-to-one name="mlist" entity-name="MList" lazy="false" cascade="all" foreign-key="r_mlist" insert="true" update="true" not-null="true" unique="true"> - <column not-null="true" unique="false" name="`mlist_mlist_e_id`"/> - </many-to-one> - </joined-subclass> -</hibernate-mapping>
\ No newline at end of file |