diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm')
78 files changed, 2202 insertions, 43438 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_hsqldb_e_o_hibernate.hbm.xml index 0d8830ee7..79b7efce7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_hsqldb_e_o_hibernate.hbm.xml @@ -103,139 +103,6 @@ <column not-null="false" unique="false" name="`COMMENT`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentAuditing" abstract="false" lazy="false" table="`PARENTAUDITING`"> - <meta attribute="eclassName" inherit="false">ParentAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</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`" index="teneo_derived_object"/> - </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="PARENTAUDITING_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="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> - <list name="friends" table="`PARENTAUDITING_FRIENDSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`PARENTAUDITING_FRIENDS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PARENTAUDITING_FRIENDS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="oppositeFriends" table="`PARENTAUDITING_OPPOSITEFRIENDSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`PARENTAUDITING_OPPOSITEFRIENDS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PARENTAUDITING_OPPOSITEFRIENDS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="children" table="`PARENTAUDITING_CHILDRENAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`PARENTAUDITING_CHILDREN_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PARENTAUDITING_CHILDREN_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildAuditing" abstract="false" lazy="false" table="`CHILDAUDITING`"> - <meta attribute="eclassName" inherit="false">ChildAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</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`" index="teneo_derived_object"/> - </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="CHILDAUDITING_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="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> - <list name="friends" table="`CHILDAUDITING_FRIENDSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHILDAUDITING_FRIENDS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CHILDAUDITING_FRIENDS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="oppositeFriends" table="`CHILDAUDITING_OPPOSITEFRIENDSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHILDAUDITING_OPPOSITEFRIENDS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CHILDAUDITING_OPPOSITEFRIENDS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" table="`PERSONAUDITING`"> <meta attribute="eclassName" inherit="false">PersonAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</meta> @@ -299,6 +166,20 @@ <element type="java.lang.String"/> </list> </class> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentAuditing" abstract="false" lazy="false" extends="PersonAuditing" table="`PARENTAUDITING`"> + <meta attribute="eclassName" inherit="false">ParentAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</meta> + <key> + <column name="`PERSONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildAuditing" abstract="false" lazy="false" extends="PersonAuditing" table="`CHILDAUDITING`"> + <meta attribute="eclassName" inherit="false">ChildAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</meta> + <key> + <column name="`PERSONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="HouseAuditing" abstract="false" lazy="false" table="`HOUSEAUDITING`"> <meta attribute="eclassName" inherit="false">HouseAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_hsqldb_h_o_hibernate.hbm.xml index 5b423cbee..47aa6c1e7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/JoinColumnsTest$1_hsqldb_h_o_hibernate.hbm.xml @@ -104,145 +104,6 @@ <column not-null="false" unique="false" name="`COMMENT`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentAuditing" abstract="false" lazy="false" discriminator-value="ParentAuditing" table="`PARENTAUDITING`"> - <meta attribute="eclassName" inherit="false">ParentAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</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="PARENTAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="PARENTAUDITING_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="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> - <list name="friends" table="`PARENTAUDITING_FRIENDSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`PARENTAUDITING_FRIENDS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PARENTAUDITING_FRIENDS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="oppositeFriends" table="`PARENTAUDITING_OPPOSITEFRIENDSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`PARENTAUDITING_OPPOSITEFRIENDS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PARENTAUDITING_OPPOSITEFRIENDS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="children" table="`PARENTAUDITING_CHILDRENAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`PARENTAUDITING_CHILDREN_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PARENTAUDITING_CHILDREN_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildAuditing" abstract="false" lazy="false" discriminator-value="ChildAuditing" table="`CHILDAUDITING`"> - <meta attribute="eclassName" inherit="false">ChildAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</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="CHILDAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="CHILDAUDITING_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="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> - <list name="friends" table="`CHILDAUDITING_FRIENDSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHILDAUDITING_FRIENDS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CHILDAUDITING_FRIENDS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="oppositeFriends" table="`CHILDAUDITING_OPPOSITEFRIENDSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHILDAUDITING_OPPOSITEFRIENDS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CHILDAUDITING_OPPOSITEFRIENDS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" discriminator-value="PersonAuditing" table="`PERSONAUDITING`"> <meta attribute="eclassName" inherit="false">PersonAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</meta> @@ -309,6 +170,14 @@ <element type="java.lang.String"/> </list> </class> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentAuditing" abstract="false" lazy="false" extends="PersonAuditing" discriminator-value="ParentAuditing"> + <meta attribute="eclassName" inherit="false">ParentAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</meta> + </subclass> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildAuditing" abstract="false" lazy="false" extends="PersonAuditing" discriminator-value="ChildAuditing"> + <meta attribute="eclassName" inherit="false">ChildAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</meta> + </subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="HouseAuditing" abstract="false" lazy="false" discriminator-value="HouseAuditing" table="`HOUSEAUDITING`"> <meta attribute="eclassName" inherit="false">HouseAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumnsAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/JPA2AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/JPA2AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml index b94c10e0c..32955d0a3 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/JPA2AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/JPA2AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml @@ -131,65 +131,6 @@ <column not-null="false" unique="false" name="`POSTALCODE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="false" table="`EMPLOYEEAUDITING`"> - <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverrideAuditing</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`" index="teneo_derived_object"/> - </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="EMPLOYEEAUDITING_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="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="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> - </property> - <list name="address" table="`EMPLOYEEAUDITING_ADDRESSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`EMPLOYEEAUDITING_ADDRESS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`EMPLOYEEAUDITING_ADDRESS_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" table="`PERSONAUDITING`"> <meta attribute="eclassName" inherit="false">PersonAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverrideAuditing</meta> @@ -246,63 +187,18 @@ <element type="java.lang.String"/> </list> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StudentAuditing" abstract="false" lazy="false" table="`STUDENTAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="false" extends="PersonAuditing" table="`EMPLOYEEAUDITING`"> + <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverrideAuditing</meta> + <key> + <column name="`PERSONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StudentAuditing" abstract="false" lazy="false" extends="PersonAuditing" table="`STUDENTAUDITING`"> <meta attribute="eclassName" inherit="false">StudentAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverrideAuditing</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`" index="teneo_derived_object"/> - </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="STUDENTAUDITING_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="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="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> - </property> - <list name="address" table="`STUDENTAUDITING_ADDRESSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`STUDENTAUDITING_ADDRESS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`STUDENTAUDITING_ADDRESS_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="faculty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FACULTY`"/> - </property> - </class> + <key> + <column name="`PERSONAUDITING_TENEO_AUDIT_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.jpa2/JPA2AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/JPA2AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml index 7b5beed67..30ebcf395 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/JPA2AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/JPA2AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml @@ -146,68 +146,6 @@ <column not-null="false" unique="false" name="`POSTALCODE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="false" discriminator-value="EmployeeAuditing" table="`EMPLOYEEAUDITING`"> - <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverrideAuditing</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="EMPLOYEEAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="EMPLOYEEAUDITING_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="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="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> - </property> - <list name="address" table="`EMPLOYEEAUDITING_ADDRESSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`EMPLOYEEAUDITING_ADDRESS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`EMPLOYEEAUDITING_ADDRESS_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" discriminator-value="PersonAuditing" table="`PERSONAUDITING`"> <meta attribute="eclassName" inherit="false">PersonAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverrideAuditing</meta> @@ -267,66 +205,12 @@ <element type="java.lang.String"/> </list> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StudentAuditing" abstract="false" lazy="false" discriminator-value="StudentAuditing" table="`STUDENTAUDITING`"> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="false" extends="PersonAuditing" discriminator-value="EmployeeAuditing"> + <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverrideAuditing</meta> + </subclass> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StudentAuditing" abstract="false" lazy="false" extends="PersonAuditing" discriminator-value="StudentAuditing"> <meta attribute="eclassName" inherit="false">StudentAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/associationoverrideAuditing</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="STUDENTAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="STUDENTAUDITING_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="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="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> - </property> - <list name="address" table="`STUDENTAUDITING_ADDRESSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`STUDENTAUDITING_ADDRESS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`STUDENTAUDITING_ADDRESS_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="faculty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FACULTY`"/> - </property> - </class> + </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/AccountingTest$1_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_hsqldb_e_o_hibernate.hbm.xml index 8f81f63ea..d92c0ca6b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_hsqldb_e_o_hibernate.hbm.xml @@ -414,59 +414,13 @@ <element type="java.lang.String"/> </list> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BalanceAccountAuditing" abstract="false" lazy="false" table="`BALANCEACCOUNTAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BalanceAccountAuditing" abstract="false" lazy="false" extends="AccountAuditing" table="`BALANCEACCOUNTAUDITING`"> <meta attribute="eclassName" inherit="false">BalanceAccountAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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`" index="teneo_derived_object"/> - </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="BALANCEACCOUNTAUDITING_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="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="report" table="`BALANCEACCOUNTAUDITING_REPORTAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BALANCEACCOUNTAUDITING_REPORT_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`BALANCEACCOUNTAUDITING_REPORT_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> + <key> + <column name="`ACCOUNTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="JournalGroupAuditing" abstract="false" lazy="false" table="`JOURNALGROUPAUDITING`"> <meta attribute="eclassName" inherit="false">JournalGroupAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</meta> @@ -588,52 +542,13 @@ <column not-null="false" unique="false" name="`VAT`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PLAccountAuditing" abstract="false" lazy="false" table="`PLACCOUNTAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PLAccountAuditing" abstract="false" lazy="false" extends="AccountAuditing" table="`PLACCOUNTAUDITING`"> <meta attribute="eclassName" inherit="false">PLAccountAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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`" index="teneo_derived_object"/> - </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="PLACCOUNTAUDITING_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="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> + <key> + <column name="`ACCOUNTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ReportAuditing" abstract="false" lazy="false" table="`REPORTAUDITING`"> <meta attribute="eclassName" inherit="false">ReportAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_hsqldb_h_o_hibernate.hbm.xml index 27d12d065..7dd15f9b5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_hsqldb_h_o_hibernate.hbm.xml @@ -444,62 +444,10 @@ <element type="java.lang.String"/> </list> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BalanceAccountAuditing" abstract="false" lazy="false" discriminator-value="BalanceAccountAuditing" table="`BALANCEACCOUNTAUDITING`"> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BalanceAccountAuditing" abstract="false" lazy="false" extends="AccountAuditing" discriminator-value="BalanceAccountAuditing"> <meta attribute="eclassName" inherit="false">BalanceAccountAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="BALANCEACCOUNTAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="BALANCEACCOUNTAUDITING_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="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="report" table="`BALANCEACCOUNTAUDITING_REPORTAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BALANCEACCOUNTAUDITING_REPORT_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`BALANCEACCOUNTAUDITING_REPORT_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> + </subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="JournalGroupAuditing" abstract="false" lazy="false" discriminator-value="JournalGroupAuditing" table="`JOURNALGROUPAUDITING`"> <meta attribute="eclassName" inherit="false">JournalGroupAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</meta> @@ -627,55 +575,10 @@ <column not-null="false" unique="false" name="`VAT`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PLAccountAuditing" abstract="false" lazy="false" discriminator-value="PLAccountAuditing" table="`PLACCOUNTAUDITING`"> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PLAccountAuditing" abstract="false" lazy="false" extends="AccountAuditing" discriminator-value="PLAccountAuditing"> <meta attribute="eclassName" inherit="false">PLAccountAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="PLACCOUNTAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="PLACCOUNTAUDITING_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="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> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ReportAuditing" abstract="false" lazy="false" discriminator-value="ReportAuditing" table="`REPORTAUDITING`"> <meta attribute="eclassName" inherit="false">ReportAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_hsqldb_e_o_hibernate.hbm.xml index e5755040b..143e41e2f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_hsqldb_e_o_hibernate.hbm.xml @@ -78,163 +78,20 @@ <column not-null="false" unique="false" name="`GROUP_LENGTH`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="true" table="`EMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="true" extends="PersonAuditing" table="`EMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</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`" index="teneo_derived_object"/> - </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="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="EMPLOYEEAUDITING_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="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="group" table="`EMPLOYEEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EMPLOYEEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`EMPLOYEEAUDITING_GROUP_IDX`"/> - <one-to-many entity-name="EmployeeAuditing_group"/> - </list> - <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> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - </class> - <class entity-name="EmployeeAuditing_group" lazy="false" table="`EMPLOYEEAUDITING_GROUP`"> - <meta attribute="featureMap" inherit="false">EmployeeAuditing</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> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecialEmployeeAuditing" abstract="false" lazy="true" table="`SPECIALEMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> + <key> + <column name="`PERSONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecialEmployeeAuditing" abstract="false" lazy="true" extends="EmployeeAuditing" table="`SPECIALEMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">SpecialEmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</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`" index="teneo_derived_object"/> - </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="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="SPECIALEMPLOYEEAUDITING_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="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="group" table="`SPECIALEMPLOYEEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`SPECIALEMPLOYEEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SPECIALEMPLOYEEAUDITING_GROUP_IDX`"/> - <one-to-many entity-name="SpecialEmployeeAuditing_group"/> - </list> - <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> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - <list name="offices" table="`SPECIALEMPLOYEEAUDITING_OFFICESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SPECIALEMPLOYEEAUDITING_OFFICES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SPECIALEMPLOYEEAUDITING_OFFICES_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class entity-name="SpecialEmployeeAuditing_group" lazy="false" table="`SPECIALEMPLOYEEAUDITING_GROUP`"> - <meta attribute="featureMap" inherit="false">SpecialEmployeeAuditing</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> + <key> + <column name="`EMPLOYEEAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DepartmentAuditing" abstract="false" lazy="true" table="`DEPARTMENTAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">DepartmentAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_hsqldb_h_o_hibernate.hbm.xml index 671eb66ba..66eb91200 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicEAVAction_hsqldb_h_o_hibernate.hbm.xml @@ -81,169 +81,14 @@ <column not-null="false" unique="false" name="`GROUP_LENGTH`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="true" discriminator-value="EmployeeAuditing" table="`EMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="true" extends="PersonAuditing" discriminator-value="EmployeeAuditing" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</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="EMPLOYEEAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="EMPLOYEEAUDITING_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="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="group" table="`EMPLOYEEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EMPLOYEEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`EMPLOYEEAUDITING_GROUP_IDX`"/> - <one-to-many entity-name="EmployeeAuditing_group"/> - </list> - <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> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - </class> - <class entity-name="EmployeeAuditing_group" lazy="false" table="`EMPLOYEEAUDITING_GROUP`"> - <meta attribute="featureMap" inherit="false">EmployeeAuditing</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> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecialEmployeeAuditing" abstract="false" lazy="true" discriminator-value="SpecialEmployeeAuditing" table="`SPECIALEMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> + </subclass> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecialEmployeeAuditing" abstract="false" lazy="true" extends="EmployeeAuditing" discriminator-value="SpecialEmployeeAuditing" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">SpecialEmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</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="SPECIALEMPLOYEEAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="SPECIALEMPLOYEEAUDITING_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="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="group" table="`SPECIALEMPLOYEEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`SPECIALEMPLOYEEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SPECIALEMPLOYEEAUDITING_GROUP_IDX`"/> - <one-to-many entity-name="SpecialEmployeeAuditing_group"/> - </list> - <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> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - <list name="offices" table="`SPECIALEMPLOYEEAUDITING_OFFICESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SPECIALEMPLOYEEAUDITING_OFFICES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SPECIALEMPLOYEEAUDITING_OFFICES_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class entity-name="SpecialEmployeeAuditing_group" lazy="false" table="`SPECIALEMPLOYEEAUDITING_GROUP`"> - <meta attribute="featureMap" inherit="false">SpecialEmployeeAuditing</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> + </subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DepartmentAuditing" abstract="false" lazy="true" discriminator-value="DepartmentAuditing" table="`DEPARTMENTAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">DepartmentAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml index db7ab539a..64dd7e1e4 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_e_o_hibernate.hbm.xml @@ -210,163 +210,20 @@ <column not-null="false" unique="false" name="`GROUP_LENGTH`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="true" table="`EMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="true" extends="PersonAuditing" table="`EMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</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`" index="teneo_derived_object"/> - </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="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="EMPLOYEEAUDITING_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="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="group" table="`EMPLOYEEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EMPLOYEEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`EMPLOYEEAUDITING_GROUP_IDX`"/> - <one-to-many entity-name="EmployeeAuditing_group"/> - </list> - <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> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - </class> - <class entity-name="EmployeeAuditing_group" lazy="false" table="`EMPLOYEEAUDITING_GROUP`"> - <meta attribute="featureMap" inherit="false">EmployeeAuditing</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> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecialEmployeeAuditing" abstract="false" lazy="true" table="`SPECIALEMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> + <key> + <column name="`PERSONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecialEmployeeAuditing" abstract="false" lazy="true" extends="EmployeeAuditing" table="`SPECIALEMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">SpecialEmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</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`" index="teneo_derived_object"/> - </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="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="SPECIALEMPLOYEEAUDITING_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="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="group" table="`SPECIALEMPLOYEEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`SPECIALEMPLOYEEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SPECIALEMPLOYEEAUDITING_GROUP_IDX`"/> - <one-to-many entity-name="SpecialEmployeeAuditing_group"/> - </list> - <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> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - <list name="offices" table="`SPECIALEMPLOYEEAUDITING_OFFICESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SPECIALEMPLOYEEAUDITING_OFFICES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SPECIALEMPLOYEEAUDITING_OFFICES_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class entity-name="SpecialEmployeeAuditing_group" lazy="false" table="`SPECIALEMPLOYEEAUDITING_GROUP`"> - <meta attribute="featureMap" inherit="false">SpecialEmployeeAuditing</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> + <key> + <column name="`EMPLOYEEAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DepartmentAuditing" abstract="false" lazy="true" table="`DEPARTMENTAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">DepartmentAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_h_o_hibernate.hbm.xml index 18c4e68ac..659ec4607 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/DynamicNoDbSchemaUpdateAction_hsqldb_h_o_hibernate.hbm.xml @@ -222,169 +222,14 @@ <column not-null="false" unique="false" name="`GROUP_LENGTH`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="true" discriminator-value="EmployeeAuditing" table="`EMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="true" extends="PersonAuditing" discriminator-value="EmployeeAuditing" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</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="EMPLOYEEAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="EMPLOYEEAUDITING_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="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="group" table="`EMPLOYEEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`EMPLOYEEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`EMPLOYEEAUDITING_GROUP_IDX`"/> - <one-to-many entity-name="EmployeeAuditing_group"/> - </list> - <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> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - </class> - <class entity-name="EmployeeAuditing_group" lazy="false" table="`EMPLOYEEAUDITING_GROUP`"> - <meta attribute="featureMap" inherit="false">EmployeeAuditing</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> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecialEmployeeAuditing" abstract="false" lazy="true" discriminator-value="SpecialEmployeeAuditing" table="`SPECIALEMPLOYEEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> + </subclass> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecialEmployeeAuditing" abstract="false" lazy="true" extends="EmployeeAuditing" discriminator-value="SpecialEmployeeAuditing" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">SpecialEmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</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="SPECIALEMPLOYEEAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="SPECIALEMPLOYEEAUDITING_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="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="group" table="`SPECIALEMPLOYEEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`SPECIALEMPLOYEEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SPECIALEMPLOYEEAUDITING_GROUP_IDX`"/> - <one-to-many entity-name="SpecialEmployeeAuditing_group"/> - </list> - <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> - <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEPARTMENT`"/> - </property> - <list name="offices" table="`SPECIALEMPLOYEEAUDITING_OFFICESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SPECIALEMPLOYEEAUDITING_OFFICES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SPECIALEMPLOYEEAUDITING_OFFICES_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class entity-name="SpecialEmployeeAuditing_group" lazy="false" table="`SPECIALEMPLOYEEAUDITING_GROUP`"> - <meta attribute="featureMap" inherit="false">SpecialEmployeeAuditing</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> + </subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DepartmentAuditing" abstract="false" lazy="true" discriminator-value="DepartmentAuditing" table="`DEPARTMENTAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl"> <meta attribute="eclassName" inherit="false">DepartmentAuditing</meta> <meta attribute="epackage" inherit="false">http:///www.elver.org/DynamicTestAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_hsqldb_e_o_hibernate.hbm.xml index 145cb1b94..8226b5d53 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_hsqldb_e_o_hibernate.hbm.xml @@ -272,8 +272,8 @@ <column not-null="false" unique="false" name="`PARTNUM`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" table="`USADDRESSAUDITING`"> - <meta attribute="eclassName" inherit="false">USAddressAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" table="`ADDRESSAUDITING`"> + <meta attribute="eclassName" inherit="false">AddressAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</meta> <id name="teneo_audit_id" type="long" unsaved-value="0"> <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> @@ -294,7 +294,7 @@ <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="USADDRESSAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ADDRESSAUDITING_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"> @@ -320,19 +320,14 @@ <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="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> </class> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" extends="AddressAuditing" table="`USADDRESSAUDITING`"> + <meta attribute="eclassName" inherit="false">USAddressAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</meta> + <key> + <column name="`ADDRESSAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PurchaseOrderAuditing" abstract="false" lazy="false" table="`PURCHASEORDERAUDITING`"> <meta attribute="eclassName" inherit="false">PurchaseOrderAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</meta> @@ -409,55 +404,6 @@ <column not-null="false" unique="false" name="`PREVIOUSORDER`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" table="`ADDRESSAUDITING`"> - <meta attribute="eclassName" inherit="false">AddressAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</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`" index="teneo_derived_object"/> - </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="ADDRESSAUDITING_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="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> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SupplierAuditing" abstract="false" lazy="false" table="`SUPPLIERAUDITING`"> <meta attribute="eclassName" inherit="false">SupplierAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</meta> @@ -571,65 +517,16 @@ <element type="java.lang.String"/> </list> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GlobalAddressAuditing" abstract="false" lazy="false" table="`GLOBALADDRESSAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GlobalAddressAuditing" abstract="false" lazy="false" extends="AddressAuditing" table="`GLOBALADDRESSAUDITING`"> <meta attribute="eclassName" inherit="false">GlobalAddressAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</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`" index="teneo_derived_object"/> - </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="GLOBALADDRESSAUDITING_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="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> + <key> + <column name="`ADDRESSAUDITING_TENEO_AUDIT_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="`GLOBALADDRESSAUDITING_LOCATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`GLOBALADDRESSAUDITING_LOCATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`GLOBALADDRESSAUDITING_LOCATION_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GlobalLocationAuditing" abstract="false" lazy="false" table="`GLOBALLOCATIONAUDITING`"> <meta attribute="eclassName" inherit="false">GlobalLocationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_hsqldb_h_o_hibernate.hbm.xml index e10923d4a..c9ebd4058 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_hsqldb_h_o_hibernate.hbm.xml @@ -290,15 +290,15 @@ <column not-null="false" unique="false" name="`PARTNUM`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" discriminator-value="USAddressAuditing" table="`USADDRESSAUDITING`"> - <meta attribute="eclassName" inherit="false">USAddressAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" discriminator-value="AddressAuditing" table="`ADDRESSAUDITING`"> + <meta attribute="eclassName" inherit="false">AddressAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</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="USADDRESSAUDITINGDTYPE" length="255" not-null="true"/> + <column name="`DTYPE`" index="ADDRESSAUDITINGDTYPE" length="255" not-null="true"/> </discriminator> <version name="teneo_version" type="long"> <column not-null="true" unique="false" name="`TENEO_VERSION`"/> @@ -315,7 +315,7 @@ <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="USADDRESSAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ADDRESSAUDITING_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"> @@ -341,19 +341,11 @@ <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="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> </class> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" extends="AddressAuditing" discriminator-value="USAddressAuditing"> + <meta attribute="eclassName" inherit="false">USAddressAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</meta> + </subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PurchaseOrderAuditing" abstract="false" lazy="false" discriminator-value="PurchaseOrderAuditing" table="`PURCHASEORDERAUDITING`"> <meta attribute="eclassName" inherit="false">PurchaseOrderAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</meta> @@ -433,58 +425,6 @@ <column not-null="false" unique="false" name="`PREVIOUSORDER`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" discriminator-value="AddressAuditing" table="`ADDRESSAUDITING`"> - <meta attribute="eclassName" inherit="false">AddressAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</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="ADDRESSAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="ADDRESSAUDITING_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="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> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SupplierAuditing" abstract="false" lazy="false" discriminator-value="SupplierAuditing" table="`SUPPLIERAUDITING`"> <meta attribute="eclassName" inherit="false">SupplierAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</meta> @@ -604,68 +544,13 @@ <element type="java.lang.String"/> </list> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GlobalAddressAuditing" abstract="false" lazy="false" discriminator-value="GlobalAddressAuditing" table="`GLOBALADDRESSAUDITING`"> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GlobalAddressAuditing" abstract="false" lazy="false" extends="AddressAuditing" discriminator-value="GlobalAddressAuditing"> <meta attribute="eclassName" inherit="false">GlobalAddressAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</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="GLOBALADDRESSAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="GLOBALADDRESSAUDITING_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="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> <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="`GLOBALADDRESSAUDITING_LOCATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`GLOBALADDRESSAUDITING_LOCATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`GLOBALADDRESSAUDITING_LOCATION_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> + </subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GlobalLocationAuditing" abstract="false" lazy="false" discriminator-value="GlobalLocationAuditing" table="`GLOBALLOCATIONAUDITING`"> <meta attribute="eclassName" inherit="false">GlobalLocationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2Auditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_hsqldb_e_o_hibernate.hbm.xml index f5ef06354..eaed5fc94 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/FleetEAVAction_hsqldb_e_o_hibernate.hbm.xml @@ -107,9 +107,9 @@ <column not-null="false" unique="false" name="`TIRESPEC`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" table="`PREFIX_PERSONAUDITING`"> - <meta attribute="eclassName" inherit="false">PersonAuditing</meta> - <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TemporalAuditing" abstract="false" lazy="false" table="`PREFIX_TEMPORALAUDITING`"> + <meta attribute="eclassName" inherit="false">TemporalAuditing</meta> + <meta attribute="epackage" inherit="false">http:///temporal.ecoreAuditing</meta> <id name="teneo_audit_id" type="long" unsaved-value="0"> <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> <generator class="native"/> @@ -129,7 +129,7 @@ <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="PERSONAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPORALAUDITING_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"> @@ -152,11 +152,11 @@ <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="`PREFIX_PERSONAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> + <array name="touchedAttributes" table="`PREFIX_TEMPORALAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> <key update="true"> - <column name="`PERSONAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> + <column name="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> </key> - <list-index column="`PERSONAUDITING_TOUCHEDATTRIBUTES_IDX`"/> + <list-index column="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_IDX`"/> <element type="byte"/> </array> <property name="versionHolder" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> @@ -165,104 +165,21 @@ <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> </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="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" table="`PREFIX_PERSONAUDITING_ADDRESSESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`PERSONAUDITING_ADDRESSES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PERSONAUDITING_ADDRESSES_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="ownedVehicles" table="`PREFIX_PERSONAUDITING_OWNEDVEHICLESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`PERSONAUDITING_OWNEDVEHICLES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PERSONAUDITING_OWNEDVEHICLES_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="birthAddress" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`BIRTHADDRESS`"/> - </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" table="`PREFIX_ADDRESSAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`PREFIX_PERSONAUDITING`"> + <meta attribute="eclassName" inherit="false">PersonAuditing</meta> + <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> + <key> + <column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`PREFIX_ADDRESSAUDITING`"> <meta attribute="eclassName" inherit="false">AddressAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</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`" index="teneo_derived_object"/> - </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="ADDRESSAUDITING_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="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="`PREFIX_ADDRESSAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> - <key update="true"> - <column name="`ADDRESSAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ADDRESSAUDITING_TOUCHEDATTRIBUTES_IDX`"/> - <element type="byte"/> - </array> - <property name="versionHolder" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDER`"/> - </property> - <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> - </property> - <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> - </class> + <key> + <column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VehicleInfoAuditing" abstract="false" lazy="false" table="`PREFIX_VEHICLEINFOAUDITING`"> <meta attribute="eclassName" inherit="false">VehicleInfoAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> @@ -367,167 +284,20 @@ <column not-null="false" unique="false" name="`TRANSPORTFLEET`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FleetAuditing" abstract="false" lazy="false" table="`PREFIX_FLEETAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FleetAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`PREFIX_FLEETAUDITING`"> <meta attribute="eclassName" inherit="false">FleetAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</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`" index="teneo_derived_object"/> - </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="FLEETAUDITING_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="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="`PREFIX_FLEETAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> - <key update="true"> - <column name="`FLEETAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`FLEETAUDITING_TOUCHEDATTRIBUTES_IDX`"/> - <element type="byte"/> - </array> - <property name="versionHolder" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDER`"/> - </property> - <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> - </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> - <list name="vehicles" table="`PREFIX_FLEETAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`FLEETAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`FLEETAUDITING_VEHICLES_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="vehicleInformation" table="`PREFIX_FLEETAUDITING_VEHICLEINFORMATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`FLEETAUDITING_VEHICLEINFORMATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`FLEETAUDITING_VEHICLEINFORMATION_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="serviceGarage" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`SERVICEGARAGE`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GarageAuditing" abstract="false" lazy="false" table="`PREFIX_GARAGEAUDITING`"> + <key> + <column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GarageAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`PREFIX_GARAGEAUDITING`"> <meta attribute="eclassName" inherit="false">GarageAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</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`" index="teneo_derived_object"/> - </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="GARAGEAUDITING_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="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="`PREFIX_GARAGEAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> - <key update="true"> - <column name="`GARAGEAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`GARAGEAUDITING_TOUCHEDATTRIBUTES_IDX`"/> - <element type="byte"/> - </array> - <property name="versionHolder" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDER`"/> - </property> - <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> - </property> - <list name="vehicles" table="`PREFIX_GARAGEAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`GARAGEAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`GARAGEAUDITING_VEHICLES_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="customerShuttles" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CUSTOMERSHUTTLES`"/> - </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> - <list name="fleetsUsingGarage" table="`PREFIX_GARAGEAUDITING_FLEETSUSINGGARAGEAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`GARAGEAUDITING_FLEETSUSINGGARAGE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`GARAGEAUDITING_FLEETSUSINGGARAGE_IDX`"/> - <element type="java.lang.String"/> - </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> + <key> + <column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TireAuditing" abstract="false" lazy="false" table="`PREFIX_TIREAUDITING`"> <meta attribute="eclassName" inherit="false">TireAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> @@ -586,8 +356,8 @@ <column not-null="false" unique="false" name="`MODEL`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="HybridAuditing" abstract="false" lazy="false" table="`PREFIX_HYBRIDAUDITING`"> - <meta attribute="eclassName" inherit="false">HybridAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PassengerVehicleAuditing" abstract="false" lazy="false" table="`PREFIX_PASSENGERVEHICLEAUDITING`"> + <meta attribute="eclassName" inherit="false">PassengerVehicleAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> <id name="teneo_audit_id" type="long" unsaved-value="0"> <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> @@ -608,7 +378,7 @@ <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="HYBRIDAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PASSENGERVEHICLEAUDITING_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"> @@ -631,131 +401,13 @@ <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="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="`PREFIX_HYBRIDAUDITING_AVAILABLECOLORSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`HYBRIDAUDITING_AVAILABLECOLORS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`HYBRIDAUDITING_AVAILABLECOLORS_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="owner" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`OWNER`"/> - </property> - <list name="manufacturedAt" table="`PREFIX_HYBRIDAUDITING_MANUFACTUREDATAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`HYBRIDAUDITING_MANUFACTUREDAT_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`HYBRIDAUDITING_MANUFACTUREDAT_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="tireSpec" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TIRESPEC`"/> - </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="`PREFIX_HYBRIDAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> - <key update="true"> - <column name="`HYBRIDAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`HYBRIDAUDITING_TOUCHEDATTRIBUTES_IDX`"/> - <element type="byte"/> - </array> - <property name="versionHolder" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDER`"/> - </property> - <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> - </property> - <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" table="`PREFIX_HYBRIDAUDITING_TIRESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`HYBRIDAUDITING_TIRES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`HYBRIDAUDITING_TIRES_IDX`"/> - <element type="java.lang.String"/> - </list> - <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> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CarAuditing" abstract="false" lazy="false" table="`PREFIX_CARAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CarAuditing" abstract="false" lazy="false" extends="PassengerVehicleAuditing" table="`PREFIX_CARAUDITING`"> <meta attribute="eclassName" inherit="false">CarAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</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`" index="teneo_derived_object"/> - </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="CARAUDITING_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="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> + <key> + <column name="`PASSENGERVEHICLEAUDITING_TENEO_AUDIT_ID`"/> + </key> <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> @@ -780,7 +432,7 @@ <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="`PREFIX_CARAUDITING_AVAILABLECOLORSAUDITING`" lazy="true" cascade="all"> + <list name="availableColors" table="`PREFIX_VEHICLEAUDITING_AVAILABLECOLORSAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`CARAUDITING_AVAILABLECOLORS_TENEO_AUDIT_ID`" unique="false"/> </key> @@ -790,7 +442,7 @@ <property name="owner" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`OWNER`"/> </property> - <list name="manufacturedAt" table="`PREFIX_CARAUDITING_MANUFACTUREDATAUDITING`" lazy="true" cascade="all"> + <list name="manufacturedAt" table="`PREFIX_VEHICLEAUDITING_MANUFACTUREDATAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`CARAUDITING_MANUFACTUREDAT_TENEO_AUDIT_ID`" unique="false"/> </key> @@ -803,7 +455,7 @@ <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="`PREFIX_CARAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> + <array name="touchedAttributes" table="`PREFIX_TEMPORALAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> <key update="true"> <column name="`CARAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> </key> @@ -816,208 +468,28 @@ <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> </property> - <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" table="`PREFIX_CARAUDITING_TIRESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CARAUDITING_TIRES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CARAUDITING_TIRES_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PassengerVehicleAuditing" abstract="false" lazy="false" table="`PREFIX_PASSENGERVEHICLEAUDITING`"> - <meta attribute="eclassName" inherit="false">PassengerVehicleAuditing</meta> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="HybridAuditing" abstract="false" lazy="false" extends="CarAuditing" table="`PREFIX_HYBRIDAUDITING`"> + <meta attribute="eclassName" inherit="false">HybridAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</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`" index="teneo_derived_object"/> - </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="PASSENGERVEHICLEAUDITING_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="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> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EngineFactoryAuditing" abstract="false" lazy="false" table="`PREFIX_ENGINEFACTORYAUDITING`"> + <key> + <column name="`CARAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EngineFactoryAuditing" abstract="false" lazy="false" extends="ManufacturingPlantAuditing" table="`PREFIX_ENGINEFACTORYAUDITING`"> <meta attribute="eclassName" inherit="false">EngineFactoryAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</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`" index="teneo_derived_object"/> - </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="ENGINEFACTORYAUDITING_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="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="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="transportFleet" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TRANSPORTFLEET`"/> - </property> - <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="`PREFIX_ENGINEFACTORYAUDITING_BRANDSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENGINEFACTORYAUDITING_BRANDS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ENGINEFACTORYAUDITING_BRANDS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" table="`PREFIX_USADDRESSAUDITING`"> + <key> + <column name="`MANUFACTURINGPLANTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" extends="AddressAuditing" table="`PREFIX_USADDRESSAUDITING`"> <meta attribute="eclassName" inherit="false">USAddressAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</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`" index="teneo_derived_object"/> - </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="USADDRESSAUDITING_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="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="`PREFIX_USADDRESSAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> - <key update="true"> - <column name="`USADDRESSAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`USADDRESSAUDITING_TOUCHEDATTRIBUTES_IDX`"/> - <element type="byte"/> - </array> - <property name="versionHolder" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDER`"/> - </property> - <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> - </property> - <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> - <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> - </class> + <key> + <column name="`ADDRESSAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VinAuditing" abstract="false" lazy="false" table="`PREFIX_VINAUDITING`"> <meta attribute="eclassName" inherit="false">VinAuditing</meta> <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> @@ -1119,65 +591,6 @@ <column not-null="false" unique="false" name="`YEAR`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TemporalAuditing" abstract="false" lazy="false" table="`PREFIX_TEMPORALAUDITING`"> - <meta attribute="eclassName" inherit="false">TemporalAuditing</meta> - <meta attribute="epackage" inherit="false">http:///temporal.ecoreAuditing</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`" index="teneo_derived_object"/> - </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="TEMPORALAUDITING_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="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="`PREFIX_TEMPORALAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> - <key update="true"> - <column name="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_IDX`"/> - <element type="byte"/> - </array> - <property name="versionHolder" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDER`"/> - </property> - <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> - </property> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VersionHolderAuditing" abstract="false" lazy="false" table="`PREFIX_VERSIONHOLDERAUDITING`"> <meta attribute="eclassName" inherit="false">VersionHolderAuditing</meta> <meta attribute="epackage" inherit="false">http:///temporal.ecoreAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_hsqldb_e_o_hibernate.hbm.xml index 3fea18652..25f671fa9 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_hsqldb_e_o_hibernate.hbm.xml @@ -361,132 +361,21 @@ <column not-null="false" unique="false" name="`VALUE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SchoolBookAuditing" abstract="false" lazy="false" table="`SCHOOLBOOKAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SchoolBookAuditing" abstract="false" lazy="false" extends="BookAuditing" table="`SCHOOLBOOKAUDITING`"> <meta attribute="eclassName" inherit="false">SchoolBookAuditing</meta> <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecoreAuditing</meta> - <cache usage="read-write"/> - <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`" index="teneo_derived_object"/> - </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="SCHOOLBOOKAUDITING_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="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> - <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> + <key> + <column name="`BOOKAUDITING_TENEO_AUDIT_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> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SchoolLibraryAuditing" abstract="false" lazy="false" table="`SCHOOLLIBRARYAUDITING`"> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SchoolLibraryAuditing" abstract="false" lazy="false" extends="LibraryAuditing" table="`SCHOOLLIBRARYAUDITING`"> <meta attribute="eclassName" inherit="false">SchoolLibraryAuditing</meta> <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecoreAuditing</meta> - <cache usage="read-write"/> - <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`" index="teneo_derived_object"/> - </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="SCHOOLLIBRARYAUDITING_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="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="`SCHOOLLIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SCHOOLLIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SCHOOLLIBRARYAUDITING_WRITERS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="books" table="`SCHOOLLIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SCHOOLLIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SCHOOLLIBRARYAUDITING_BOOKS_IDX`"/> - <element type="java.lang.String"/> - </list> - <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> - </class> + <key> + <column name="`LIBRARYAUDITING_TENEO_AUDIT_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.sample/SchoolLibraryTest$1_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_hsqldb_h_o_hibernate.hbm.xml index 5b5560710..0226c90a4 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/SchoolLibraryTest$1_hsqldb_h_o_hibernate.hbm.xml @@ -382,138 +382,15 @@ <column not-null="false" unique="false" name="`VALUE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SchoolBookAuditing" abstract="false" lazy="false" discriminator-value="SchoolBookAuditing" table="`SCHOOLBOOKAUDITING`"> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SchoolBookAuditing" abstract="false" lazy="false" extends="BookAuditing" discriminator-value="SchoolBookAuditing"> <meta attribute="eclassName" inherit="false">SchoolBookAuditing</meta> <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecoreAuditing</meta> - <cache usage="read-write"/> - <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="SCHOOLBOOKAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="SCHOOLBOOKAUDITING_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="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> - <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="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> <column not-null="false" unique="false" name="`VALUE`"/> </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SchoolLibraryAuditing" abstract="false" lazy="false" discriminator-value="SchoolLibraryAuditing" table="`SCHOOLLIBRARYAUDITING`"> + </subclass> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SchoolLibraryAuditing" abstract="false" lazy="false" extends="LibraryAuditing" discriminator-value="SchoolLibraryAuditing"> <meta attribute="eclassName" inherit="false">SchoolLibraryAuditing</meta> <meta attribute="epackage" inherit="false">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecoreAuditing</meta> - <cache usage="read-write"/> - <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="SCHOOLLIBRARYAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="SCHOOLLIBRARYAUDITING_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="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="`SCHOOLLIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SCHOOLLIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SCHOOLLIBRARYAUDITING_WRITERS_IDX`"/> - <element type="java.lang.String"/> - </list> - <list name="books" table="`SCHOOLLIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SCHOOLLIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SCHOOLLIBRARYAUDITING_BOOKS_IDX`"/> - <element type="java.lang.String"/> - </list> - <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> - </class> + </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.schemaconstructs/ExtensionEAVAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_hsqldb_e_o_hibernate.hbm.xml index 8e4a5e372..5fb6a3a63 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/ExtensionEAVAction_hsqldb_e_o_hibernate.hbm.xml @@ -122,67 +122,20 @@ <element type="java.lang.String"/> </list> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DistrictUKAddressAuditing" abstract="false" lazy="false" table="`DISTRICTUKADDRESSAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="UKAddressAuditing" abstract="false" lazy="false" extends="AddressAuditing" table="`UKADDRESSAUDITING`"> + <meta attribute="eclassName" inherit="false">UKAddressAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extensionAuditing</meta> + <key> + <column name="`ADDRESSAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DistrictUKAddressAuditing" abstract="false" lazy="false" extends="UKAddressAuditing" table="`DISTRICTUKADDRESSAUDITING`"> <meta attribute="eclassName" inherit="false">DistrictUKAddressAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extensionAuditing</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`" index="teneo_derived_object"/> - </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="DISTRICTUKADDRESSAUDITING_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="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="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="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> - <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> - </class> + <key> + <column name="`UKADDRESSAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FirstAddressHolderAuditing" abstract="false" lazy="false" table="`FIRSTADDRESSHOLDERAUDITING`"> <meta attribute="eclassName" inherit="false">FirstAddressHolderAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extensionAuditing</meta> @@ -282,125 +235,11 @@ <column not-null="false" unique="false" name="`CURRENCY`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="UKAddressAuditing" abstract="false" lazy="false" table="`UKADDRESSAUDITING`"> - <meta attribute="eclassName" inherit="false">UKAddressAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extensionAuditing</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`" index="teneo_derived_object"/> - </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="UKADDRESSAUDITING_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="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="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="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> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" table="`USADDRESSAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" extends="AddressAuditing" table="`USADDRESSAUDITING`"> <meta attribute="eclassName" inherit="false">USAddressAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/extensionAuditing</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`" index="teneo_derived_object"/> - </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="USADDRESSAUDITING_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="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="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" 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> - </class> + <key> + <column name="`ADDRESSAUDITING_TENEO_AUDIT_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.schemaconstructs/SubstitutionEAVAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_hsqldb_e_o_hibernate.hbm.xml index 20e99880e..91ffef3dc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionEAVAction_hsqldb_e_o_hibernate.hbm.xml @@ -162,55 +162,13 @@ <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.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EvenComplexNumberTypeAuditing" abstract="false" lazy="false" table="`EVENCOMPLEXNUMBERTYPEAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EvenComplexNumberTypeAuditing" abstract="false" lazy="false" extends="ComplexNumberAuditing" table="`EVENCOMPLEXNUMBERTYPEAUDITING`"> <meta attribute="eclassName" inherit="false">EvenComplexNumberTypeAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionAuditing</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`" index="teneo_derived_object"/> - </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="EVENCOMPLEXNUMBERTYPEAUDITING_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="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - <property name="unit" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`UNIT`"/> - </property> - </class> + <key> + <column name="`COMPLEXNUMBERAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="MultiNumberTypeAuditing" abstract="false" lazy="false" table="`MULTINUMBERTYPEAUDITING`"> <meta attribute="eclassName" inherit="false">MultiNumberTypeAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionAuditing</meta> @@ -363,53 +321,11 @@ <column not-null="false" unique="false" name="`MYCOMPLEXABSTRACTGROUP_MYCOMPLEXABSTRACT`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="OddComplexNumberTypeAuditing" abstract="false" lazy="false" table="`ODDCOMPLEXNUMBERTYPEAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="OddComplexNumberTypeAuditing" abstract="false" lazy="false" extends="ComplexNumberAuditing" table="`ODDCOMPLEXNUMBERTYPEAUDITING`"> <meta attribute="eclassName" inherit="false">OddComplexNumberTypeAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionAuditing</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`" index="teneo_derived_object"/> - </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="ODDCOMPLEXNUMBERTYPEAUDITING_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="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - <property name="unit" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`UNIT`"/> - </property> - </class> + <key> + <column name="`COMPLEXNUMBERAUDITING_TENEO_AUDIT_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.schemaconstructs/SubstitutionzvonEAVAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_hsqldb_e_o_hibernate.hbm.xml index 24814c2c0..e1a92c575 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs/SubstitutionzvonEAVAction_hsqldb_e_o_hibernate.hbm.xml @@ -53,98 +53,20 @@ <column not-null="false" unique="false" name="`VALUE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ComplexEvenTypeAuditing" abstract="false" lazy="false" table="`COMPLEXEVENTYPEAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ComplexEvenTypeAuditing" abstract="false" lazy="false" extends="ComplexAAAAuditing" table="`COMPLEXEVENTYPEAUDITING`"> <meta attribute="eclassName" inherit="false">ComplexEvenTypeAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvonAuditing</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`" index="teneo_derived_object"/> - </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="COMPLEXEVENTYPEAUDITING_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="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ComplexOddTypeAuditing" abstract="false" lazy="false" table="`COMPLEXODDTYPEAUDITING`"> + <key> + <column name="`COMPLEXAAAAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ComplexOddTypeAuditing" abstract="false" lazy="false" extends="ComplexAAAAuditing" table="`COMPLEXODDTYPEAUDITING`"> <meta attribute="eclassName" inherit="false">ComplexOddTypeAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvonAuditing</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`" index="teneo_derived_object"/> - </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="COMPLEXODDTYPEAUDITING_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="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`VALUE`"/> - </property> - </class> + <key> + <column name="`COMPLEXAAAAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="substitutionzvonAuditing.DocumentRootAuditing" abstract="false" lazy="false"> <meta attribute="eclassName" inherit="false">DocumentRootAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvonAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_e_o_hibernate.hbm.xml index 69daa9e0b..29ba0ab89 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_e_o_hibernate.hbm.xml @@ -240,107 +240,6 @@ <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.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FootnoteAuditing" abstract="false" lazy="false" table="`FOOTNOTEAUDITING`"> - <meta attribute="eclassName" inherit="false">FootnoteAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</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`" index="teneo_derived_object"/> - </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="FOOTNOTEAUDITING_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="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> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="IndentedparaAuditing" abstract="false" lazy="false" table="`INDENTEDPARAAUDITING`"> - <meta attribute="eclassName" inherit="false">IndentedparaAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</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`" index="teneo_derived_object"/> - </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="INDENTEDPARAAUDITING_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="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> - <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> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParagraphAuditing" abstract="false" lazy="false" table="`PARAGRAPHAUDITING`"> <meta attribute="eclassName" inherit="false">ParagraphAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</meta> @@ -390,4 +289,18 @@ <column not-null="false" unique="false" name="`TITLE`"/> </property> </class> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FootnoteAuditing" abstract="false" lazy="false" extends="ParagraphAuditing" table="`FOOTNOTEAUDITING`"> + <meta attribute="eclassName" inherit="false">FootnoteAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</meta> + <key> + <column name="`PARAGRAPHAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="IndentedparaAuditing" abstract="false" lazy="false" extends="ParagraphAuditing" table="`INDENTEDPARAAUDITING`"> + <meta attribute="eclassName" inherit="false">IndentedparaAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</meta> + <key> + <column name="`PARAGRAPHAUDITING_TENEO_AUDIT_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.issues/Bz288963Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_h_o_hibernate.hbm.xml index b6df423de..9c3500087 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_h_o_hibernate.hbm.xml @@ -246,113 +246,6 @@ <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.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FootnoteAuditing" abstract="false" lazy="false" discriminator-value="FootnoteAuditing" table="`FOOTNOTEAUDITING`"> - <meta attribute="eclassName" inherit="false">FootnoteAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</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="FOOTNOTEAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="FOOTNOTEAUDITING_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="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> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="IndentedparaAuditing" abstract="false" lazy="false" discriminator-value="IndentedparaAuditing" table="`INDENTEDPARAAUDITING`"> - <meta attribute="eclassName" inherit="false">IndentedparaAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</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="INDENTEDPARAAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="INDENTEDPARAAUDITING_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="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> - <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> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParagraphAuditing" abstract="false" lazy="false" discriminator-value="ParagraphAuditing" table="`PARAGRAPHAUDITING`"> <meta attribute="eclassName" inherit="false">ParagraphAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</meta> @@ -405,4 +298,12 @@ <column not-null="false" unique="false" name="`TITLE`"/> </property> </class> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FootnoteAuditing" abstract="false" lazy="false" extends="ParagraphAuditing" discriminator-value="FootnoteAuditing"> + <meta attribute="eclassName" inherit="false">FootnoteAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</meta> + </subclass> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="IndentedparaAuditing" abstract="false" lazy="false" extends="ParagraphAuditing" discriminator-value="IndentedparaAuditing"> + <meta attribute="eclassName" inherit="false">IndentedparaAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963Auditing</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/Bz372869Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_e_o_hibernate.hbm.xml index 5521d1f7f..729e195e5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_e_o_hibernate.hbm.xml @@ -390,8 +390,8 @@ <element type="java.lang.String"/> </list> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalBicycleAuditing" abstract="false" lazy="false" table="`RENTALBICYCLEAUDITING`"> - <meta attribute="eclassName" inherit="false">RentalBicycleAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalUnitAuditing" abstract="false" lazy="false" table="`RENTALUNITAUDITING`"> + <meta attribute="eclassName" inherit="false">RentalUnitAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta> <id name="teneo_audit_id" type="long" unsaved-value="0"> <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> @@ -412,7 +412,7 @@ <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="RENTALBICYCLEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="RENTALUNITAUDITING_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"> @@ -435,18 +435,14 @@ <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="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> - <property name="manufacturer" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MANUFACTURER`"/> - </property> </class> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalBicycleAuditing" abstract="false" lazy="false" extends="RentalUnitAuditing" table="`RENTALBICYCLEAUDITING`"> + <meta attribute="eclassName" inherit="false">RentalBicycleAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta> + <key> + <column name="`RENTALUNITAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CurrencyAuditing" abstract="false" lazy="false" table="`CURRENCYAUDITING`"> <meta attribute="eclassName" inherit="false">CurrencyAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta> @@ -493,60 +489,13 @@ <column not-null="false" unique="false" name="`CODE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalCarAuditing" abstract="false" lazy="false" table="`RENTALCARAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalCarAuditing" abstract="false" lazy="false" extends="RentalUnitAuditing" table="`RENTALCARAUDITING`"> <meta attribute="eclassName" inherit="false">RentalCarAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</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`" index="teneo_derived_object"/> - </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="RENTALCARAUDITING_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="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="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> - </class> + <key> + <column name="`RENTALUNITAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalContractAuditing" abstract="false" lazy="false" table="`RENTALCONTRACTAUDITING`"> <meta attribute="eclassName" inherit="false">RentalContractAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta> @@ -612,52 +561,6 @@ <column not-null="false" unique="false" name="`CURRENCY`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalUnitAuditing" abstract="false" lazy="false" table="`RENTALUNITAUDITING`"> - <meta attribute="eclassName" inherit="false">RentalUnitAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</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`" index="teneo_derived_object"/> - </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="RENTALUNITAUDITING_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="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.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ManufacturerAuditing" abstract="false" lazy="false" table="`MANUFACTURERAUDITING`"> <meta attribute="eclassName" inherit="false">ManufacturerAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_h_o_hibernate.hbm.xml index 660d8f5f5..fa7d0b910 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_h_o_hibernate.hbm.xml @@ -417,15 +417,15 @@ <element type="java.lang.String"/> </list> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalBicycleAuditing" abstract="false" lazy="false" discriminator-value="RentalBicycleAuditing" table="`RENTALBICYCLEAUDITING`"> - <meta attribute="eclassName" inherit="false">RentalBicycleAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalUnitAuditing" abstract="false" lazy="false" discriminator-value="RentalUnitAuditing" table="`RENTALUNITAUDITING`"> + <meta attribute="eclassName" inherit="false">RentalUnitAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</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="RENTALBICYCLEAUDITINGDTYPE" length="255" not-null="true"/> + <column name="`DTYPE`" index="RENTALUNITAUDITINGDTYPE" length="255" not-null="true"/> </discriminator> <version name="teneo_version" type="long"> <column not-null="true" unique="false" name="`TENEO_VERSION`"/> @@ -442,7 +442,7 @@ <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="RENTALBICYCLEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="RENTALUNITAUDITING_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"> @@ -465,18 +465,11 @@ <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="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> - <property name="manufacturer" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MANUFACTURER`"/> - </property> </class> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalBicycleAuditing" abstract="false" lazy="false" extends="RentalUnitAuditing" discriminator-value="RentalBicycleAuditing"> + <meta attribute="eclassName" inherit="false">RentalBicycleAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta> + </subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CurrencyAuditing" abstract="false" lazy="false" discriminator-value="CurrencyAuditing" table="`CURRENCYAUDITING`"> <meta attribute="eclassName" inherit="false">CurrencyAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta> @@ -526,63 +519,10 @@ <column not-null="false" unique="false" name="`CODE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalCarAuditing" abstract="false" lazy="false" discriminator-value="RentalCarAuditing" table="`RENTALCARAUDITING`"> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalCarAuditing" abstract="false" lazy="false" extends="RentalUnitAuditing" discriminator-value="RentalCarAuditing"> <meta attribute="eclassName" inherit="false">RentalCarAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</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="RENTALCARAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="RENTALCARAUDITING_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="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="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> - </class> + </subclass> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalContractAuditing" abstract="false" lazy="false" discriminator-value="RentalContractAuditing" table="`RENTALCONTRACTAUDITING`"> <meta attribute="eclassName" inherit="false">RentalContractAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta> @@ -651,55 +591,6 @@ <column not-null="false" unique="false" name="`CURRENCY`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalUnitAuditing" abstract="false" lazy="false" discriminator-value="RentalUnitAuditing" table="`RENTALUNITAUDITING`"> - <meta attribute="eclassName" inherit="false">RentalUnitAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</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="RENTALUNITAUDITINGDTYPE" 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`" index="teneo_derived_object"/> - </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="RENTALUNITAUDITING_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="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.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ManufacturerAuditing" abstract="false" lazy="false" discriminator-value="ManufacturerAuditing" table="`MANUFACTURERAUDITING`"> <meta attribute="eclassName" inherit="false">ManufacturerAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz387421Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz387421Action_hsqldb_e_o_hibernate.hbm.xml index 4d163a587..29842bcb5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz387421Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz387421Action_hsqldb_e_o_hibernate.hbm.xml @@ -3902,687 +3902,6 @@ <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.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ActivityAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ACTIVITYAUDITING`"> - <meta attribute="eclassName" inherit="false">ActivityAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ACTIVITYAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ACTIVITYAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ACTIVITYAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ACTIVITYAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ACTIVITYAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ACTIVITYAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ACTIVITYAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ActivityAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_ACTIVITYAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_ACTIVITYAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_ACTIVITYAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ACTIVITYAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="ioSpecification" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`IOSPECIFICATION`"/> - </property> - <bag name="properties" table="`BPMN2AUDITING_ACTIVITYAUDITING_PROPERTIESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_PROPERTIES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataInputAssociations" table="`BPMN2AUDITING_ACTIVITYAUDITING_DATAINPUTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_DATAINPUTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataOutputAssociations" table="`BPMN2AUDITING_ACTIVITYAUDITING_DATAOUTPUTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_DATAOUTPUTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="resources" table="`BPMN2AUDITING_ACTIVITYAUDITING_RESOURCESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ACTIVITYAUDITING_RESOURCES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="loopCharacteristics" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LOOPCHARACTERISTICS`"/> - </property> - <property name="completionQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`COMPLETIONQUANTITY`"/> - </property> - <property name="default" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEFAULT`"/> - </property> - <property name="isForCompensation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISFORCOMPENSATION`"/> - </property> - <property name="startQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`STARTQUANTITY`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.ActivityAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ACTIVITYAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ActivityAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.AdHocSubProcessAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING`"> - <meta attribute="eclassName" inherit="false">AdHocSubProcessAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ADHOCSUBPROCESSAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.AdHocSubProcessAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ADHOCSUBPROCESSAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="ioSpecification" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`IOSPECIFICATION`"/> - </property> - <bag name="properties" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_PROPERTIESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_PROPERTIES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataInputAssociations" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_DATAINPUTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_DATAINPUTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataOutputAssociations" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_DATAOUTPUTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_DATAOUTPUTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="resources" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_RESOURCESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_RESOURCES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="loopCharacteristics" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LOOPCHARACTERISTICS`"/> - </property> - <property name="completionQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`COMPLETIONQUANTITY`"/> - </property> - <property name="default" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEFAULT`"/> - </property> - <property name="isForCompensation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISFORCOMPENSATION`"/> - </property> - <property name="startQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`STARTQUANTITY`"/> - </property> - <bag name="laneSets" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_LANESETSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_LANESETS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="flowElements" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_FLOWELEMENTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_FLOWELEMENTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="artifacts" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_ARTIFACTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ADHOCSUBPROCESSAUDITING_ARTIFACTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="triggeredByEvent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`TRIGGEREDBYEVENT`"/> - </property> - <property name="completionCondition" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`COMPLETIONCONDITION`"/> - </property> - <property name="cancelRemainingInstances" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`CANCELREMAININGINSTANCES`"/> - </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.bpmn2.AdHocOrdering</param> - <param name="eclassifier">AdHocOrdering</param> - <param name="epackage">http://www.omg.org/spec/BPMN/20100524/MODEL-XMI</param> - </type> - </property> - </class> - <class entity-name="bpmn2Auditing.AdHocSubProcessAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.AdHocSubProcessAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ArtifactAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ARTIFACTAUDITING`"> - <meta attribute="eclassName" inherit="false">ArtifactAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ARTIFACTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ARTIFACTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ARTIFACTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ARTIFACTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ARTIFACTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ARTIFACTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ARTIFACTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ARTIFACTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ARTIFACTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ARTIFACTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ArtifactAuditing_anyAttribute"/> - </list> - </class> - <class entity-name="bpmn2Auditing.ArtifactAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ARTIFACTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ArtifactAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.AssignmentAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ASSIGNMENTAUDITING`"> - <meta attribute="eclassName" inherit="false">AssignmentAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ASSIGNMENTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ASSIGNMENTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ASSIGNMENTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ASSIGNMENTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ASSIGNMENTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ASSIGNMENTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ASSIGNMENTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ASSIGNMENTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ASSIGNMENTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ASSIGNMENTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.AssignmentAuditing_anyAttribute"/> - </list> - <property name="from" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FROM`"/> - </property> - <property name="to" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TO`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.AssignmentAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ASSIGNMENTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.AssignmentAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.AssociationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ASSOCIATIONAUDITING`"> - <meta attribute="eclassName" inherit="false">AssociationAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ASSOCIATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ASSOCIATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ASSOCIATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ASSOCIATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ASSOCIATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ASSOCIATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ASSOCIATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ASSOCIATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ASSOCIATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ASSOCIATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.AssociationAuditing_anyAttribute"/> - </list> - <property name="associationDirection" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`ASSOCIATIONDIRECTION`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.bpmn2.AssociationDirection</param> - <param name="eclassifier">AssociationDirection</param> - <param name="epackage">http://www.omg.org/spec/BPMN/20100524/MODEL-XMI</param> - </type> - </property> - <property name="sourceRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`SOURCEREF`"/> - </property> - <property name="targetRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TARGETREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.AssociationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ASSOCIATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.AssociationAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.AuditingAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_AUDITINGAUDITING`"> - <meta attribute="eclassName" inherit="false">AuditingAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_AUDITINGAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_AUDITINGAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`AUDITINGAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_AUDITINGAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`AUDITINGAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_AUDITINGAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`AUDITINGAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_AUDITINGAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`AUDITINGAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`AUDITINGAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.AuditingAuditing_anyAttribute"/> - </list> - </class> - <class entity-name="bpmn2Auditing.AuditingAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_AUDITINGAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.AuditingAuditing</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"/> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.BaseElementAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_BASEELEMENTAUDITING`"> <meta attribute="eclassName" inherit="false">BaseElementAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> @@ -4664,2454 +3983,267 @@ </version> <property name="fme_feature" type="java.lang.String"/> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.BoundaryEventAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.FlowElementAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_FLOWELEMENTAUDITING`"> + <meta attribute="eclassName" inherit="false">FlowElementAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.FlowNodeAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.FlowElementAuditing" table="`BPMN2AUDITING_FLOWNODEAUDITING`"> + <meta attribute="eclassName" inherit="false">FlowNodeAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_FLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ActivityAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.FlowNodeAuditing" table="`BPMN2AUDITING_ACTIVITYAUDITING`"> + <meta attribute="eclassName" inherit="false">ActivityAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_FLOWNODEAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.SubProcessAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ActivityAuditing" table="`BPMN2AUDITING_SUBPROCESSAUDITING`"> + <meta attribute="eclassName" inherit="false">SubProcessAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_ACTIVITYAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.AdHocSubProcessAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.SubProcessAuditing" table="`BPMN2AUDITING_ADHOCSUBPROCESSAUDITING`"> + <meta attribute="eclassName" inherit="false">AdHocSubProcessAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_SUBPROCESSAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ArtifactAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_ARTIFACTAUDITING`"> + <meta attribute="eclassName" inherit="false">ArtifactAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.AssignmentAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_ASSIGNMENTAUDITING`"> + <meta attribute="eclassName" inherit="false">AssignmentAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.AssociationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ArtifactAuditing" table="`BPMN2AUDITING_ASSOCIATIONAUDITING`"> + <meta attribute="eclassName" inherit="false">AssociationAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_ARTIFACTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.AuditingAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_AUDITINGAUDITING`"> + <meta attribute="eclassName" inherit="false">AuditingAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EventAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.FlowNodeAuditing" table="`BPMN2AUDITING_EVENTAUDITING`"> + <meta attribute="eclassName" inherit="false">EventAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_FLOWNODEAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CatchEventAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.EventAuditing" table="`BPMN2AUDITING_CATCHEVENTAUDITING`"> + <meta attribute="eclassName" inherit="false">CatchEventAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_EVENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.BoundaryEventAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.CatchEventAuditing" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING`"> <meta attribute="eclassName" inherit="false">BoundaryEventAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_BOUNDARYEVENTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`BOUNDARYEVENTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.BoundaryEventAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`BOUNDARYEVENTAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="properties" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_PROPERTIESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_PROPERTIES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataOutputs" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_DATAOUTPUTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_DATAOUTPUTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataOutputAssociation" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_DATAOUTPUTASSOCIATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_DATAOUTPUTASSOCIATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="outputSet" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`OUTPUTSET`"/> - </property> - <bag name="eventDefinitions" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_EVENTDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_EVENTDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="eventDefinitionRefs" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_EVENTDEFINITIONREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BOUNDARYEVENTAUDITING_EVENTDEFINITIONREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="parallelMultiple" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`PARALLELMULTIPLE`"/> - </property> - <property name="attachedToRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ATTACHEDTOREF`"/> - </property> - <property name="cancelActivity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`CANCELACTIVITY`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.BoundaryEventAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_BOUNDARYEVENTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.BoundaryEventAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.BusinessRuleTaskAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING`"> + <key> + <column name="`BPMN2AUDITING_CATCHEVENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.TaskAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ActivityAuditing" table="`BPMN2AUDITING_TASKAUDITING`"> + <meta attribute="eclassName" inherit="false">TaskAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_ACTIVITYAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.BusinessRuleTaskAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.TaskAuditing" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING`"> <meta attribute="eclassName" inherit="false">BusinessRuleTaskAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_BUSINESSRULETASKAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`BUSINESSRULETASKAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.BusinessRuleTaskAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`BUSINESSRULETASKAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="ioSpecification" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`IOSPECIFICATION`"/> - </property> - <bag name="properties" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_PROPERTIESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_PROPERTIES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataInputAssociations" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_DATAINPUTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_DATAINPUTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataOutputAssociations" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_DATAOUTPUTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_DATAOUTPUTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="resources" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_RESOURCESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`BUSINESSRULETASKAUDITING_RESOURCES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="loopCharacteristics" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LOOPCHARACTERISTICS`"/> - </property> - <property name="completionQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`COMPLETIONQUANTITY`"/> - </property> - <property name="default" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEFAULT`"/> - </property> - <property name="isForCompensation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISFORCOMPENSATION`"/> - </property> - <property name="startQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`STARTQUANTITY`"/> - </property> - <property name="implementation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`IMPLEMENTATION`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.BusinessRuleTaskAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_BUSINESSRULETASKAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.BusinessRuleTaskAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CallActivityAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CALLACTIVITYAUDITING`"> + <key> + <column name="`BPMN2AUDITING_TASKAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CallActivityAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ActivityAuditing" table="`BPMN2AUDITING_CALLACTIVITYAUDITING`"> <meta attribute="eclassName" inherit="false">CallActivityAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CALLACTIVITYAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CALLACTIVITYAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CallActivityAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CALLACTIVITYAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="ioSpecification" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`IOSPECIFICATION`"/> - </property> - <bag name="properties" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_PROPERTIESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_PROPERTIES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataInputAssociations" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_DATAINPUTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_DATAINPUTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataOutputAssociations" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_DATAOUTPUTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_DATAOUTPUTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="resources" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_RESOURCESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLACTIVITYAUDITING_RESOURCES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="loopCharacteristics" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LOOPCHARACTERISTICS`"/> - </property> - <property name="completionQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`COMPLETIONQUANTITY`"/> - </property> - <property name="default" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEFAULT`"/> - </property> - <property name="isForCompensation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISFORCOMPENSATION`"/> - </property> - <property name="startQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`STARTQUANTITY`"/> - </property> - <property name="calledElementRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CALLEDELEMENTREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.CallActivityAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CALLACTIVITYAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CallActivityAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CallChoreographyAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING`"> + <key> + <column name="`BPMN2AUDITING_ACTIVITYAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ChoreographyActivityAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.FlowNodeAuditing" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING`"> + <meta attribute="eclassName" inherit="false">ChoreographyActivityAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_FLOWNODEAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CallChoreographyAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ChoreographyActivityAuditing" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING`"> <meta attribute="eclassName" inherit="false">CallChoreographyAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CALLCHOREOGRAPHYAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CallChoreographyAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CALLCHOREOGRAPHYAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="participantRefs" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_PARTICIPANTREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_PARTICIPANTREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="correlationKeys" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_CORRELATIONKEYSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_CORRELATIONKEYS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="initiatingParticipantRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`INITIATINGPARTICIPANTREF`"/> - </property> - <property name="loopType" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`LOOPTYPE`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.bpmn2.ChoreographyLoopType</param> - <param name="eclassifier">ChoreographyLoopType</param> - <param name="epackage">http://www.omg.org/spec/BPMN/20100524/MODEL-XMI</param> - </type> - </property> - <bag name="participantAssociations" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_PARTICIPANTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCHOREOGRAPHYAUDITING_PARTICIPANTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="calledChoreographyRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CALLEDCHOREOGRAPHYREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.CallChoreographyAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CALLCHOREOGRAPHYAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CallChoreographyAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CallConversationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConversationNodeAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING`"> + <meta attribute="eclassName" inherit="false">ConversationNodeAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CallConversationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ConversationNodeAuditing" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING`"> <meta attribute="eclassName" inherit="false">CallConversationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CALLCONVERSATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCONVERSATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCONVERSATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCONVERSATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CALLCONVERSATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CALLCONVERSATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CallConversationAuditing_anyAttribute"/> - </list> - <bag name="participantRefs" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING_PARTICIPANTREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCONVERSATIONAUDITING_PARTICIPANTREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="messageFlowRefs" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING_MESSAGEFLOWREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCONVERSATIONAUDITING_MESSAGEFLOWREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="correlationKeys" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING_CORRELATIONKEYSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCONVERSATIONAUDITING_CORRELATIONKEYS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="participantAssociations" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING_PARTICIPANTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLCONVERSATIONAUDITING_PARTICIPANTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="calledCollaborationRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CALLEDCOLLABORATIONREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.CallConversationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CALLCONVERSATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CallConversationAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CallableElementAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CALLABLEELEMENTAUDITING`"> + <key> + <column name="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.RootElementAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_ROOTELEMENTAUDITING`"> + <meta attribute="eclassName" inherit="false">RootElementAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CallableElementAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.RootElementAuditing" table="`BPMN2AUDITING_CALLABLEELEMENTAUDITING`"> <meta attribute="eclassName" inherit="false">CallableElementAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CALLABLEELEMENTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CALLABLEELEMENTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLABLEELEMENTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CALLABLEELEMENTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLABLEELEMENTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CALLABLEELEMENTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLABLEELEMENTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CALLABLEELEMENTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CALLABLEELEMENTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CALLABLEELEMENTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CallableElementAuditing_anyAttribute"/> - </list> - <bag name="supportedInterfaceRefs" table="`BPMN2AUDITING_CALLABLEELEMENTAUDITING_SUPPORTEDINTERFACEREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLABLEELEMENTAUDITING_SUPPORTEDINTERFACEREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="ioSpecification" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`IOSPECIFICATION`"/> - </property> - <bag name="ioBinding" table="`BPMN2AUDITING_CALLABLEELEMENTAUDITING_IOBINDINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CALLABLEELEMENTAUDITING_IOBINDING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - </class> - <class entity-name="bpmn2Auditing.CallableElementAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CALLABLEELEMENTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CallableElementAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CancelEventDefinitionAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CANCELEVENTDEFINITIONAUDITING`"> - <meta attribute="eclassName" inherit="false">CancelEventDefinitionAuditing</meta> + <key> + <column name="`BPMN2AUDITING_ROOTELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EventDefinitionAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.RootElementAuditing" table="`BPMN2AUDITING_EVENTDEFINITIONAUDITING`"> + <meta attribute="eclassName" inherit="false">EventDefinitionAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CANCELEVENTDEFINITIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CANCELEVENTDEFINITIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CANCELEVENTDEFINITIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CANCELEVENTDEFINITIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CANCELEVENTDEFINITIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CANCELEVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CANCELEVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CANCELEVENTDEFINITIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CANCELEVENTDEFINITIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CANCELEVENTDEFINITIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CancelEventDefinitionAuditing_anyAttribute"/> - </list> - </class> - <class entity-name="bpmn2Auditing.CancelEventDefinitionAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CANCELEVENTDEFINITIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CancelEventDefinitionAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CatchEventAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CATCHEVENTAUDITING`"> - <meta attribute="eclassName" inherit="false">CatchEventAuditing</meta> + <key> + <column name="`BPMN2AUDITING_ROOTELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CancelEventDefinitionAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.EventDefinitionAuditing" table="`BPMN2AUDITING_CANCELEVENTDEFINITIONAUDITING`"> + <meta attribute="eclassName" inherit="false">CancelEventDefinitionAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CATCHEVENTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CATCHEVENTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CATCHEVENTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CATCHEVENTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CATCHEVENTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CATCHEVENTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CatchEventAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_CATCHEVENTAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_CATCHEVENTAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_CATCHEVENTAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CATCHEVENTAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="properties" table="`BPMN2AUDITING_CATCHEVENTAUDITING_PROPERTIESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_PROPERTIES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataOutputs" table="`BPMN2AUDITING_CATCHEVENTAUDITING_DATAOUTPUTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_DATAOUTPUTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataOutputAssociation" table="`BPMN2AUDITING_CATCHEVENTAUDITING_DATAOUTPUTASSOCIATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_DATAOUTPUTASSOCIATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="outputSet" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`OUTPUTSET`"/> - </property> - <bag name="eventDefinitions" table="`BPMN2AUDITING_CATCHEVENTAUDITING_EVENTDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_EVENTDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="eventDefinitionRefs" table="`BPMN2AUDITING_CATCHEVENTAUDITING_EVENTDEFINITIONREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATCHEVENTAUDITING_EVENTDEFINITIONREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="parallelMultiple" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`PARALLELMULTIPLE`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.CatchEventAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CATCHEVENTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CatchEventAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CategoryAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CATEGORYAUDITING`"> + <key> + <column name="`BPMN2AUDITING_EVENTDEFINITIONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CategoryAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.RootElementAuditing" table="`BPMN2AUDITING_CATEGORYAUDITING`"> <meta attribute="eclassName" inherit="false">CategoryAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CATEGORYAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CATEGORYAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATEGORYAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CATEGORYAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATEGORYAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CATEGORYAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATEGORYAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CATEGORYAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CATEGORYAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CATEGORYAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CategoryAuditing_anyAttribute"/> - </list> - <bag name="categoryValue" table="`BPMN2AUDITING_CATEGORYAUDITING_CATEGORYVALUEAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATEGORYAUDITING_CATEGORYVALUE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - </class> - <class entity-name="bpmn2Auditing.CategoryAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CATEGORYAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CategoryAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CategoryValueAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CATEGORYVALUEAUDITING`"> + <key> + <column name="`BPMN2AUDITING_ROOTELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CategoryValueAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_CATEGORYVALUEAUDITING`"> <meta attribute="eclassName" inherit="false">CategoryValueAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CATEGORYVALUEAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CATEGORYVALUEAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATEGORYVALUEAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CATEGORYVALUEAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATEGORYVALUEAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CATEGORYVALUEAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CATEGORYVALUEAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CATEGORYVALUEAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CATEGORYVALUEAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CATEGORYVALUEAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CategoryValueAuditing_anyAttribute"/> - </list> - <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 entity-name="bpmn2Auditing.CategoryValueAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CATEGORYVALUEAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CategoryValueAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ChoreographyAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CollaborationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.RootElementAuditing" table="`BPMN2AUDITING_COLLABORATIONAUDITING`"> + <meta attribute="eclassName" inherit="false">CollaborationAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_ROOTELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ChoreographyAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.CollaborationAuditing" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING`"> <meta attribute="eclassName" inherit="false">ChoreographyAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CHOREOGRAPHYAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CHOREOGRAPHYAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ChoreographyAuditing_anyAttribute"/> - </list> - <bag name="participants" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_PARTICIPANTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_PARTICIPANTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="messageFlows" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_MESSAGEFLOWSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_MESSAGEFLOWS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="artifacts" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_ARTIFACTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_ARTIFACTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="conversations" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_CONVERSATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_CONVERSATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="conversationAssociations" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_CONVERSATIONASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_CONVERSATIONASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="participantAssociations" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_PARTICIPANTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_PARTICIPANTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="messageFlowAssociations" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_MESSAGEFLOWASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_MESSAGEFLOWASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="correlationKeys" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_CORRELATIONKEYSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_CORRELATIONKEYS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="choreographyRef" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_CHOREOGRAPHYREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_CHOREOGRAPHYREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="conversationLinks" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_CONVERSATIONLINKSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_CONVERSATIONLINKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="isClosed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCLOSED`"/> - </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="laneSets" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_LANESETSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_LANESETS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="flowElements" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_FLOWELEMENTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYAUDITING_FLOWELEMENTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - </class> - <class entity-name="bpmn2Auditing.ChoreographyAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CHOREOGRAPHYAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ChoreographyAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ChoreographyActivityAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING`"> - <meta attribute="eclassName" inherit="false">ChoreographyActivityAuditing</meta> + <key> + <column name="`BPMN2AUDITING_COLLABORATIONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.FlowElementsContainerAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_FLOWELEMENTSCONTAINERAUDITING`"> + <meta attribute="eclassName" inherit="false">FlowElementsContainerAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYACTIVITYAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYACTIVITYAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYACTIVITYAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CHOREOGRAPHYACTIVITYAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CHOREOGRAPHYACTIVITYAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ChoreographyActivityAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYACTIVITYAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYACTIVITYAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYACTIVITYAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CHOREOGRAPHYACTIVITYAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="participantRefs" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_PARTICIPANTREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYACTIVITYAUDITING_PARTICIPANTREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="correlationKeys" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_CORRELATIONKEYSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYACTIVITYAUDITING_CORRELATIONKEYS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="initiatingParticipantRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`INITIATINGPARTICIPANTREF`"/> - </property> - <property name="loopType" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`LOOPTYPE`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.bpmn2.ChoreographyLoopType</param> - <param name="eclassifier">ChoreographyLoopType</param> - <param name="epackage">http://www.omg.org/spec/BPMN/20100524/MODEL-XMI</param> - </type> - </property> - </class> - <class entity-name="bpmn2Auditing.ChoreographyActivityAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ChoreographyActivityAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ChoreographyTaskAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ChoreographyTaskAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ChoreographyActivityAuditing" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING`"> <meta attribute="eclassName" inherit="false">ChoreographyTaskAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CHOREOGRAPHYTASKAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ChoreographyTaskAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CHOREOGRAPHYTASKAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="participantRefs" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_PARTICIPANTREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_PARTICIPANTREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="correlationKeys" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_CORRELATIONKEYSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_CORRELATIONKEYS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="initiatingParticipantRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`INITIATINGPARTICIPANTREF`"/> - </property> - <property name="loopType" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`LOOPTYPE`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.bpmn2.ChoreographyLoopType</param> - <param name="eclassifier">ChoreographyLoopType</param> - <param name="epackage">http://www.omg.org/spec/BPMN/20100524/MODEL-XMI</param> - </type> - </property> - <bag name="messageFlowRef" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_MESSAGEFLOWREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CHOREOGRAPHYTASKAUDITING_MESSAGEFLOWREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - </class> - <class entity-name="bpmn2Auditing.ChoreographyTaskAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CHOREOGRAPHYTASKAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ChoreographyTaskAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CollaborationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_COLLABORATIONAUDITING`"> - <meta attribute="eclassName" inherit="false">CollaborationAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_COLLABORATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_COLLABORATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_COLLABORATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_COLLABORATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_COLLABORATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`COLLABORATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CollaborationAuditing_anyAttribute"/> - </list> - <bag name="participants" table="`BPMN2AUDITING_COLLABORATIONAUDITING_PARTICIPANTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_PARTICIPANTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="messageFlows" table="`BPMN2AUDITING_COLLABORATIONAUDITING_MESSAGEFLOWSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_MESSAGEFLOWS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="artifacts" table="`BPMN2AUDITING_COLLABORATIONAUDITING_ARTIFACTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_ARTIFACTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="conversations" table="`BPMN2AUDITING_COLLABORATIONAUDITING_CONVERSATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_CONVERSATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="conversationAssociations" table="`BPMN2AUDITING_COLLABORATIONAUDITING_CONVERSATIONASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_CONVERSATIONASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="participantAssociations" table="`BPMN2AUDITING_COLLABORATIONAUDITING_PARTICIPANTASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_PARTICIPANTASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="messageFlowAssociations" table="`BPMN2AUDITING_COLLABORATIONAUDITING_MESSAGEFLOWASSOCIATIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_MESSAGEFLOWASSOCIATIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="correlationKeys" table="`BPMN2AUDITING_COLLABORATIONAUDITING_CORRELATIONKEYSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_CORRELATIONKEYS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="choreographyRef" table="`BPMN2AUDITING_COLLABORATIONAUDITING_CHOREOGRAPHYREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_CHOREOGRAPHYREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="conversationLinks" table="`BPMN2AUDITING_COLLABORATIONAUDITING_CONVERSATIONLINKSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COLLABORATIONAUDITING_CONVERSATIONLINKS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="isClosed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCLOSED`"/> - </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 entity-name="bpmn2Auditing.CollaborationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_COLLABORATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CollaborationAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CompensateEventDefinitionAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_COMPENSATEEVENTDEFINITIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_CHOREOGRAPHYACTIVITYAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CompensateEventDefinitionAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.EventDefinitionAuditing" table="`BPMN2AUDITING_COMPENSATEEVENTDEFINITIONAUDITING`"> <meta attribute="eclassName" inherit="false">CompensateEventDefinitionAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_COMPENSATEEVENTDEFINITIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_COMPENSATEEVENTDEFINITIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPENSATEEVENTDEFINITIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_COMPENSATEEVENTDEFINITIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPENSATEEVENTDEFINITIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_COMPENSATEEVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPENSATEEVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_COMPENSATEEVENTDEFINITIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`COMPENSATEEVENTDEFINITIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`COMPENSATEEVENTDEFINITIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CompensateEventDefinitionAuditing_anyAttribute"/> - </list> - <property name="activityRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ACTIVITYREF`"/> - </property> - <property name="waitForCompletion" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`WAITFORCOMPLETION`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.CompensateEventDefinitionAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_COMPENSATEEVENTDEFINITIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CompensateEventDefinitionAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ComplexBehaviorDefinitionAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_COMPLEXBEHAVIORDEFINITIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_EVENTDEFINITIONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ComplexBehaviorDefinitionAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_COMPLEXBEHAVIORDEFINITIONAUDITING`"> <meta attribute="eclassName" inherit="false">ComplexBehaviorDefinitionAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_COMPLEXBEHAVIORDEFINITIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_COMPLEXBEHAVIORDEFINITIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPLEXBEHAVIORDEFINITIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_COMPLEXBEHAVIORDEFINITIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPLEXBEHAVIORDEFINITIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_COMPLEXBEHAVIORDEFINITIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPLEXBEHAVIORDEFINITIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_COMPLEXBEHAVIORDEFINITIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`COMPLEXBEHAVIORDEFINITIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`COMPLEXBEHAVIORDEFINITIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ComplexBehaviorDefinitionAuditing_anyAttribute"/> - </list> - <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> - <property name="event" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`EVENT`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.ComplexBehaviorDefinitionAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_COMPLEXBEHAVIORDEFINITIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ComplexBehaviorDefinitionAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ComplexGatewayAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.GatewayAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.FlowNodeAuditing" table="`BPMN2AUDITING_GATEWAYAUDITING`"> + <meta attribute="eclassName" inherit="false">GatewayAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_FLOWNODEAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ComplexGatewayAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.GatewayAuditing" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING`"> <meta attribute="eclassName" inherit="false">ComplexGatewayAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_COMPLEXGATEWAYAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPLEXGATEWAYAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPLEXGATEWAYAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPLEXGATEWAYAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`COMPLEXGATEWAYAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`COMPLEXGATEWAYAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ComplexGatewayAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPLEXGATEWAYAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPLEXGATEWAYAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`COMPLEXGATEWAYAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`COMPLEXGATEWAYAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <property name="gatewayDirection" lazy="false" not-null="false" insert="true" update="true" unique="false"> - <column not-null="false" unique="false" name="`GATEWAYDIRECTION`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.bpmn2.GatewayDirection</param> - <param name="eclassifier">GatewayDirection</param> - <param name="epackage">http://www.omg.org/spec/BPMN/20100524/MODEL-XMI</param> - </type> - </property> - <property name="activationCondition" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ACTIVATIONCONDITION`"/> - </property> - <property name="default" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DEFAULT`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.ComplexGatewayAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_COMPLEXGATEWAYAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ComplexGatewayAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConditionalEventDefinitionAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CONDITIONALEVENTDEFINITIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_GATEWAYAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConditionalEventDefinitionAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.EventDefinitionAuditing" table="`BPMN2AUDITING_CONDITIONALEVENTDEFINITIONAUDITING`"> <meta attribute="eclassName" inherit="false">ConditionalEventDefinitionAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CONDITIONALEVENTDEFINITIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CONDITIONALEVENTDEFINITIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONDITIONALEVENTDEFINITIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CONDITIONALEVENTDEFINITIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONDITIONALEVENTDEFINITIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CONDITIONALEVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONDITIONALEVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CONDITIONALEVENTDEFINITIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONDITIONALEVENTDEFINITIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CONDITIONALEVENTDEFINITIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ConditionalEventDefinitionAuditing_anyAttribute"/> - </list> - <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> - </class> - <class entity-name="bpmn2Auditing.ConditionalEventDefinitionAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CONDITIONALEVENTDEFINITIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ConditionalEventDefinitionAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConversationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CONVERSATIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_EVENTDEFINITIONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConversationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ConversationNodeAuditing" table="`BPMN2AUDITING_CONVERSATIONAUDITING`"> <meta attribute="eclassName" inherit="false">ConversationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CONVERSATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CONVERSATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CONVERSATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CONVERSATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CONVERSATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONVERSATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CONVERSATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ConversationAuditing_anyAttribute"/> - </list> - <bag name="participantRefs" table="`BPMN2AUDITING_CONVERSATIONAUDITING_PARTICIPANTREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONAUDITING_PARTICIPANTREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="messageFlowRefs" table="`BPMN2AUDITING_CONVERSATIONAUDITING_MESSAGEFLOWREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONAUDITING_MESSAGEFLOWREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="correlationKeys" table="`BPMN2AUDITING_CONVERSATIONAUDITING_CORRELATIONKEYSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONAUDITING_CORRELATIONKEYS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - </class> - <class entity-name="bpmn2Auditing.ConversationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CONVERSATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ConversationAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConversationAssociationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CONVERSATIONASSOCIATIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConversationAssociationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_CONVERSATIONASSOCIATIONAUDITING`"> <meta attribute="eclassName" inherit="false">ConversationAssociationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CONVERSATIONASSOCIATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CONVERSATIONASSOCIATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONASSOCIATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CONVERSATIONASSOCIATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONASSOCIATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CONVERSATIONASSOCIATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONASSOCIATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CONVERSATIONASSOCIATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONVERSATIONASSOCIATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CONVERSATIONASSOCIATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ConversationAssociationAuditing_anyAttribute"/> - </list> - <property name="innerConversationNodeRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`INNERCONVERSATIONNODEREF`"/> - </property> - <property name="outerConversationNodeRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`OUTERCONVERSATIONNODEREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.ConversationAssociationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CONVERSATIONASSOCIATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ConversationAssociationAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConversationLinkAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CONVERSATIONLINKAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConversationLinkAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_CONVERSATIONLINKAUDITING`"> <meta attribute="eclassName" inherit="false">ConversationLinkAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CONVERSATIONLINKAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CONVERSATIONLINKAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONLINKAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CONVERSATIONLINKAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONLINKAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CONVERSATIONLINKAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONLINKAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CONVERSATIONLINKAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONVERSATIONLINKAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CONVERSATIONLINKAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ConversationLinkAuditing_anyAttribute"/> - </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> - <property name="sourceRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`SOURCEREF`"/> - </property> - <property name="targetRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TARGETREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.ConversationLinkAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CONVERSATIONLINKAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ConversationLinkAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ConversationNodeAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING`"> - <meta attribute="eclassName" inherit="false">ConversationNodeAuditing</meta> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.InteractionNodeAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_INTERACTIONNODEAUDITING`"> + <meta attribute="eclassName" inherit="false">InteractionNodeAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> <id name="teneo_audit_id" type="long" unsaved-value="0"> <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> @@ -7132,7 +4264,7 @@ <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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CONVERSATIONNODEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_INTERACTIONNODEAUDITING_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"> @@ -7152,2857 +4284,203 @@ <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> - <bag name="extensionValues" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONNODEAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONNODEAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONNODEAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CONVERSATIONNODEAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CONVERSATIONNODEAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ConversationNodeAuditing_anyAttribute"/> - </list> - <bag name="participantRefs" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_PARTICIPANTREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONNODEAUDITING_PARTICIPANTREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="messageFlowRefs" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_MESSAGEFLOWREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONNODEAUDITING_MESSAGEFLOWREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="correlationKeys" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_CORRELATIONKEYSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CONVERSATIONNODEAUDITING_CORRELATIONKEYS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - </class> - <class entity-name="bpmn2Auditing.ConversationNodeAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CONVERSATIONNODEAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ConversationNodeAuditing</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"/> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationKeyAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CORRELATIONKEYAUDITING`"> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationKeyAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_CORRELATIONKEYAUDITING`"> <meta attribute="eclassName" inherit="false">CorrelationKeyAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CORRELATIONKEYAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CORRELATIONKEYAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONKEYAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CORRELATIONKEYAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONKEYAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CORRELATIONKEYAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONKEYAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CORRELATIONKEYAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CORRELATIONKEYAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CORRELATIONKEYAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CorrelationKeyAuditing_anyAttribute"/> - </list> - <bag name="correlationPropertyRef" table="`BPMN2AUDITING_CORRELATIONKEYAUDITING_CORRELATIONPROPERTYREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONKEYAUDITING_CORRELATIONPROPERTYREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - </class> - <class entity-name="bpmn2Auditing.CorrelationKeyAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CORRELATIONKEYAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CorrelationKeyAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationPropertyAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CORRELATIONPROPERTYAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationPropertyAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.RootElementAuditing" table="`BPMN2AUDITING_CORRELATIONPROPERTYAUDITING`"> <meta attribute="eclassName" inherit="false">CorrelationPropertyAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CORRELATIONPROPERTYAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CORRELATIONPROPERTYAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CORRELATIONPROPERTYAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CORRELATIONPROPERTYAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CORRELATIONPROPERTYAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CORRELATIONPROPERTYAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CORRELATIONPROPERTYAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CorrelationPropertyAuditing_anyAttribute"/> - </list> - <bag name="correlationPropertyRetrievalExpression" table="`BPMN2AUDITING_CORRELATIONPROPERTYAUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYAUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <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> - </class> - <class entity-name="bpmn2Auditing.CorrelationPropertyAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CORRELATIONPROPERTYAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CorrelationPropertyAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationPropertyBindingAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CORRELATIONPROPERTYBINDINGAUDITING`"> + <key> + <column name="`BPMN2AUDITING_ROOTELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationPropertyBindingAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_CORRELATIONPROPERTYBINDINGAUDITING`"> <meta attribute="eclassName" inherit="false">CorrelationPropertyBindingAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CORRELATIONPROPERTYBINDINGAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CORRELATIONPROPERTYBINDINGAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYBINDINGAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CORRELATIONPROPERTYBINDINGAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYBINDINGAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CORRELATIONPROPERTYBINDINGAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYBINDINGAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CORRELATIONPROPERTYBINDINGAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CORRELATIONPROPERTYBINDINGAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CORRELATIONPROPERTYBINDINGAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CorrelationPropertyBindingAuditing_anyAttribute"/> - </list> - <property name="dataPath" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DATAPATH`"/> - </property> - <property name="correlationPropertyRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CORRELATIONPROPERTYREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.CorrelationPropertyBindingAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CORRELATIONPROPERTYBINDINGAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CorrelationPropertyBindingAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationPropertyRetrievalExpressionAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationPropertyRetrievalExpressionAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING`"> <meta attribute="eclassName" inherit="false">CorrelationPropertyRetrievalExpressionAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CorrelationPropertyRetrievalExpressionAuditing_anyAttribute"/> - </list> - <property name="messagePath" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MESSAGEPATH`"/> - </property> - <property name="messageRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MESSAGEREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.CorrelationPropertyRetrievalExpressionAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CORRELATIONPROPERTYRETRIEVALEXPRESSIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CorrelationPropertyRetrievalExpressionAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationSubscriptionAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_CORRELATIONSUBSCRIPTIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.CorrelationSubscriptionAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_CORRELATIONSUBSCRIPTIONAUDITING`"> <meta attribute="eclassName" inherit="false">CorrelationSubscriptionAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_CORRELATIONSUBSCRIPTIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_CORRELATIONSUBSCRIPTIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONSUBSCRIPTIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_CORRELATIONSUBSCRIPTIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONSUBSCRIPTIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_CORRELATIONSUBSCRIPTIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONSUBSCRIPTIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_CORRELATIONSUBSCRIPTIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`CORRELATIONSUBSCRIPTIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`CORRELATIONSUBSCRIPTIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.CorrelationSubscriptionAuditing_anyAttribute"/> - </list> - <bag name="correlationPropertyBinding" table="`BPMN2AUDITING_CORRELATIONSUBSCRIPTIONAUDITING_CORRELATIONPROPERTYBINDINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`CORRELATIONSUBSCRIPTIONAUDITING_CORRELATIONPROPERTYBINDING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="correlationKeyRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CORRELATIONKEYREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.CorrelationSubscriptionAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_CORRELATIONSUBSCRIPTIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.CorrelationSubscriptionAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataAssociationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATAASSOCIATIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataAssociationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_DATAASSOCIATIONAUDITING`"> <meta attribute="eclassName" inherit="false">DataAssociationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATAASSOCIATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATAASSOCIATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAASSOCIATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATAASSOCIATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAASSOCIATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATAASSOCIATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAASSOCIATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATAASSOCIATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATAASSOCIATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATAASSOCIATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataAssociationAuditing_anyAttribute"/> - </list> - <bag name="sourceRef" table="`BPMN2AUDITING_DATAASSOCIATIONAUDITING_SOURCEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAASSOCIATIONAUDITING_SOURCEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="targetRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TARGETREF`"/> - </property> - <property name="transformation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TRANSFORMATION`"/> - </property> - <bag name="assignment" table="`BPMN2AUDITING_DATAASSOCIATIONAUDITING_ASSIGNMENTAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAASSOCIATIONAUDITING_ASSIGNMENT_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - </class> - <class entity-name="bpmn2Auditing.DataAssociationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATAASSOCIATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataAssociationAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataInputAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATAINPUTAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ItemAwareElementAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_ITEMAWAREELEMENTAUDITING`"> + <meta attribute="eclassName" inherit="false">ItemAwareElementAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataInputAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ItemAwareElementAuditing" table="`BPMN2AUDITING_DATAINPUTAUDITING`"> <meta attribute="eclassName" inherit="false">DataInputAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATAINPUTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATAINPUTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAINPUTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATAINPUTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAINPUTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATAINPUTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAINPUTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATAINPUTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATAINPUTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATAINPUTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataInputAuditing_anyAttribute"/> - </list> - <property name="dataState" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DATASTATE`"/> - </property> - <property name="itemSubjectRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ITEMSUBJECTREF`"/> - </property> - <property name="isCollection" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCOLLECTION`"/> - </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 entity-name="bpmn2Auditing.DataInputAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATAINPUTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataInputAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataInputAssociationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_ITEMAWAREELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataInputAssociationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.DataAssociationAuditing" table="`BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING`"> <meta attribute="eclassName" inherit="false">DataInputAssociationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAINPUTASSOCIATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAINPUTASSOCIATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAINPUTASSOCIATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATAINPUTASSOCIATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATAINPUTASSOCIATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataInputAssociationAuditing_anyAttribute"/> - </list> - <bag name="sourceRef" table="`BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING_SOURCEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAINPUTASSOCIATIONAUDITING_SOURCEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="targetRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TARGETREF`"/> - </property> - <property name="transformation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TRANSFORMATION`"/> - </property> - <bag name="assignment" table="`BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING_ASSIGNMENTAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAINPUTASSOCIATIONAUDITING_ASSIGNMENT_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - </class> - <class entity-name="bpmn2Auditing.DataInputAssociationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATAINPUTASSOCIATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataInputAssociationAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataObjectAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATAOBJECTAUDITING`"> + <key> + <column name="`BPMN2AUDITING_DATAASSOCIATIONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataObjectAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.FlowElementAuditing" table="`BPMN2AUDITING_DATAOBJECTAUDITING`"> <meta attribute="eclassName" inherit="false">DataObjectAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATAOBJECTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATAOBJECTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOBJECTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATAOBJECTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOBJECTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATAOBJECTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOBJECTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATAOBJECTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATAOBJECTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATAOBJECTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataObjectAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_DATAOBJECTAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOBJECTAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <property name="dataState" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DATASTATE`"/> - </property> - <property name="itemSubjectRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ITEMSUBJECTREF`"/> - </property> - <property name="isCollection" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCOLLECTION`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.DataObjectAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATAOBJECTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataObjectAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataObjectReferenceAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATAOBJECTREFERENCEAUDITING`"> + <key> + <column name="`BPMN2AUDITING_FLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataObjectReferenceAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.FlowElementAuditing" table="`BPMN2AUDITING_DATAOBJECTREFERENCEAUDITING`"> <meta attribute="eclassName" inherit="false">DataObjectReferenceAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATAOBJECTREFERENCEAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATAOBJECTREFERENCEAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOBJECTREFERENCEAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATAOBJECTREFERENCEAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOBJECTREFERENCEAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATAOBJECTREFERENCEAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOBJECTREFERENCEAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATAOBJECTREFERENCEAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATAOBJECTREFERENCEAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATAOBJECTREFERENCEAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataObjectReferenceAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_DATAOBJECTREFERENCEAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOBJECTREFERENCEAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <property name="dataState" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DATASTATE`"/> - </property> - <property name="itemSubjectRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ITEMSUBJECTREF`"/> - </property> - <property name="dataObjectRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DATAOBJECTREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.DataObjectReferenceAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATAOBJECTREFERENCEAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataObjectReferenceAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataOutputAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATAOUTPUTAUDITING`"> + <key> + <column name="`BPMN2AUDITING_FLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataOutputAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ItemAwareElementAuditing" table="`BPMN2AUDITING_DATAOUTPUTAUDITING`"> <meta attribute="eclassName" inherit="false">DataOutputAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATAOUTPUTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATAOUTPUTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOUTPUTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATAOUTPUTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOUTPUTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATAOUTPUTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOUTPUTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATAOUTPUTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATAOUTPUTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATAOUTPUTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataOutputAuditing_anyAttribute"/> - </list> - <property name="dataState" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DATASTATE`"/> - </property> - <property name="itemSubjectRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ITEMSUBJECTREF`"/> - </property> - <property name="isCollection" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISCOLLECTION`"/> - </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 entity-name="bpmn2Auditing.DataOutputAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATAOUTPUTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataOutputAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataOutputAssociationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_ITEMAWAREELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataOutputAssociationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.DataAssociationAuditing" table="`BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING`"> <meta attribute="eclassName" inherit="false">DataOutputAssociationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOUTPUTASSOCIATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOUTPUTASSOCIATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOUTPUTASSOCIATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATAOUTPUTASSOCIATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATAOUTPUTASSOCIATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataOutputAssociationAuditing_anyAttribute"/> - </list> - <bag name="sourceRef" table="`BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING_SOURCEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOUTPUTASSOCIATIONAUDITING_SOURCEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="targetRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TARGETREF`"/> - </property> - <property name="transformation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TRANSFORMATION`"/> - </property> - <bag name="assignment" table="`BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING_ASSIGNMENTAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATAOUTPUTASSOCIATIONAUDITING_ASSIGNMENT_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - </class> - <class entity-name="bpmn2Auditing.DataOutputAssociationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATAOUTPUTASSOCIATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataOutputAssociationAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataStateAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATASTATEAUDITING`"> + <key> + <column name="`BPMN2AUDITING_DATAASSOCIATIONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataStateAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_DATASTATEAUDITING`"> <meta attribute="eclassName" inherit="false">DataStateAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATASTATEAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATASTATEAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTATEAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATASTATEAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTATEAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATASTATEAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTATEAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATASTATEAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATASTATEAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATASTATEAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataStateAuditing_anyAttribute"/> - </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> - <class entity-name="bpmn2Auditing.DataStateAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATASTATEAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataStateAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataStoreAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATASTOREAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataStoreAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ItemAwareElementAuditing" table="`BPMN2AUDITING_DATASTOREAUDITING`"> <meta attribute="eclassName" inherit="false">DataStoreAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATASTOREAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATASTOREAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTOREAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATASTOREAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTOREAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATASTOREAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTOREAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATASTOREAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATASTOREAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATASTOREAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataStoreAuditing_anyAttribute"/> - </list> - <property name="dataState" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DATASTATE`"/> - </property> - <property name="itemSubjectRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ITEMSUBJECTREF`"/> - </property> - <property name="capacity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`CAPACITY`"/> - </property> - <property name="isUnlimited" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> - <column not-null="false" unique="false" name="`ISUNLIMITED`"/> - </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 entity-name="bpmn2Auditing.DataStoreAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATASTOREAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataStoreAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataStoreReferenceAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DATASTOREREFERENCEAUDITING`"> + <key> + <column name="`BPMN2AUDITING_ITEMAWAREELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DataStoreReferenceAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.FlowElementAuditing" table="`BPMN2AUDITING_DATASTOREREFERENCEAUDITING`"> <meta attribute="eclassName" inherit="false">DataStoreReferenceAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DATASTOREREFERENCEAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DATASTOREREFERENCEAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTOREREFERENCEAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DATASTOREREFERENCEAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTOREREFERENCEAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DATASTOREREFERENCEAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTOREREFERENCEAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DATASTOREREFERENCEAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DATASTOREREFERENCEAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DATASTOREREFERENCEAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DataStoreReferenceAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_DATASTOREREFERENCEAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DATASTOREREFERENCEAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <property name="dataState" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DATASTATE`"/> - </property> - <property name="itemSubjectRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ITEMSUBJECTREF`"/> - </property> - <property name="dataStoreRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`DATASTOREREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.DataStoreReferenceAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DATASTOREREFERENCEAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DataStoreReferenceAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DefinitionsAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DEFINITIONSAUDITING`"> + <key> + <column name="`BPMN2AUDITING_FLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DefinitionsAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_DEFINITIONSAUDITING`"> <meta attribute="eclassName" inherit="false">DefinitionsAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DEFINITIONSAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DEFINITIONSAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DEFINITIONSAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DEFINITIONSAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DEFINITIONSAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DEFINITIONSAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DEFINITIONSAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DEFINITIONSAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DEFINITIONSAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DEFINITIONSAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DefinitionsAuditing_anyAttribute"/> - </list> - <bag name="imports" table="`BPMN2AUDITING_DEFINITIONSAUDITING_IMPORTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DEFINITIONSAUDITING_IMPORTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensions" table="`BPMN2AUDITING_DEFINITIONSAUDITING_EXTENSIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DEFINITIONSAUDITING_EXTENSIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="rootElements" table="`BPMN2AUDITING_DEFINITIONSAUDITING_ROOTELEMENTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DEFINITIONSAUDITING_ROOTELEMENTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="diagrams" table="`BPMN2AUDITING_DEFINITIONSAUDITING_DIAGRAMSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DEFINITIONSAUDITING_DIAGRAMS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="relationships" table="`BPMN2AUDITING_DEFINITIONSAUDITING_RELATIONSHIPSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DEFINITIONSAUDITING_RELATIONSHIPS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="exporter" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`EXPORTER`"/> - </property> - <property name="exporterVersion" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`EXPORTERVERSION`"/> - </property> - <property name="expressionLanguage" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`EXPRESSIONLANGUAGE`"/> - </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="targetNamespace" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TARGETNAMESPACE`"/> - </property> - <property name="typeLanguage" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TYPELANGUAGE`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.DefinitionsAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DEFINITIONSAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DefinitionsAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DocumentationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_DOCUMENTATIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.DocumentationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.BaseElementAuditing" table="`BPMN2AUDITING_DOCUMENTATIONAUDITING`"> <meta attribute="eclassName" inherit="false">DocumentationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_DOCUMENTATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_DOCUMENTATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DOCUMENTATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_DOCUMENTATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DOCUMENTATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_DOCUMENTATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`DOCUMENTATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_DOCUMENTATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DOCUMENTATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DOCUMENTATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DocumentationAuditing_anyAttribute"/> - </list> - <list name="mixed" table="`BPMN2AUDITING_DOCUMENTATIONAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`DOCUMENTATIONAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`DOCUMENTATIONAUDITING_MIXED_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DocumentationAuditing_mixed"/> - </list> - <property name="text" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TEXT`"/> - </property> - <property name="textFormat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TEXTFORMAT`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.DocumentationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_DOCUMENTATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DocumentationAuditing</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"/> - </class> - <class entity-name="bpmn2Auditing.DocumentationAuditing_mixed" lazy="false" table="`BPMN2AUDITING_DOCUMENTATIONAUDITING_MIXED`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.DocumentationAuditing</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"/> - <bag name="extensionValues" table="`MIXED_BPMN2AUDITING_DOCUMENTATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`MIXED_DOCUMENTATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`MIXED_BPMN2AUDITING_DOCUMENTATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`MIXED_DOCUMENTATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`MIXED_BPMN2AUDITING_DOCUMENTATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`MIXED_DOCUMENTATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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> - <list name="anyAttribute" table="`MIXED_BPMN2AUDITING_DOCUMENTATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`MIXED_DOCUMENTATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`MIXED_DOCUMENTATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.DocumentationAuditing_anyAttribute"/> - </list> - <property name="text" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MIXED_TEXT`"/> - </property> - <property name="textFormat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MIXED_TEXTFORMAT`"/> - </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.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EndEventAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ENDEVENTAUDITING`"> + <key> + <column name="`BPMN2AUDITING_BASEELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ThrowEventAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.EventAuditing" table="`BPMN2AUDITING_THROWEVENTAUDITING`"> + <meta attribute="eclassName" inherit="false">ThrowEventAuditing</meta> + <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</meta> + <key> + <column name="`BPMN2AUDITING_EVENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EndEventAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.ThrowEventAuditing" table="`BPMN2AUDITING_ENDEVENTAUDITING`"> <meta attribute="eclassName" inherit="false">EndEventAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ENDEVENTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ENDEVENTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ENDEVENTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ENDEVENTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ENDEVENTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ENDEVENTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ENDEVENTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.EndEventAuditing_anyAttribute"/> - </list> - <property name="auditing" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`AUDITING`"/> - </property> - <property name="monitoring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`MONITORING`"/> - </property> - <bag name="categoryValueRef" table="`BPMN2AUDITING_ENDEVENTAUDITING_CATEGORYVALUEREFAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_CATEGORYVALUEREF_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </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> - <bag name="incoming" table="`BPMN2AUDITING_ENDEVENTAUDITING_INCOMINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_INCOMING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <list name="outgoing" table="`BPMN2AUDITING_ENDEVENTAUDITING_OUTGOINGAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_OUTGOING_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ENDEVENTAUDITING_OUTGOING_IDX`"/> - <element type="java.lang.String"/> - </list> - <bag name="properties" table="`BPMN2AUDITING_ENDEVENTAUDITING_PROPERTIESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_PROPERTIES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataInputs" table="`BPMN2AUDITING_ENDEVENTAUDITING_DATAINPUTSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_DATAINPUTS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="dataInputAssociation" table="`BPMN2AUDITING_ENDEVENTAUDITING_DATAINPUTASSOCIATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_DATAINPUTASSOCIATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <property name="inputSet" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`INPUTSET`"/> - </property> - <bag name="eventDefinitions" table="`BPMN2AUDITING_ENDEVENTAUDITING_EVENTDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_EVENTDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="eventDefinitionRefs" table="`BPMN2AUDITING_ENDEVENTAUDITING_EVENTDEFINITIONREFSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDEVENTAUDITING_EVENTDEFINITIONREFS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - </class> - <class entity-name="bpmn2Auditing.EndEventAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ENDEVENTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.EndEventAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EndPointAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ENDPOINTAUDITING`"> + <key> + <column name="`BPMN2AUDITING_THROWEVENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EndPointAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.RootElementAuditing" table="`BPMN2AUDITING_ENDPOINTAUDITING`"> <meta attribute="eclassName" inherit="false">EndPointAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ENDPOINTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ENDPOINTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDPOINTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ENDPOINTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDPOINTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ENDPOINTAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ENDPOINTAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ENDPOINTAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ENDPOINTAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ENDPOINTAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.EndPointAuditing_anyAttribute"/> - </list> - </class> - <class entity-name="bpmn2Auditing.EndPointAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ENDPOINTAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.EndPointAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ErrorAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ERRORAUDITING`"> + <key> + <column name="`BPMN2AUDITING_ROOTELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ErrorAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.RootElementAuditing" table="`BPMN2AUDITING_ERRORAUDITING`"> <meta attribute="eclassName" inherit="false">ErrorAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ERRORAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ERRORAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ERRORAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ERRORAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ERRORAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ERRORAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ERRORAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ERRORAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ERRORAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ERRORAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ErrorAuditing_anyAttribute"/> - </list> - <property name="errorCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ERRORCODE`"/> - </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="structureRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`STRUCTUREREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.ErrorAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ERRORAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ErrorAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ErrorEventDefinitionAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ERROREVENTDEFINITIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_ROOTELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.ErrorEventDefinitionAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.EventDefinitionAuditing" table="`BPMN2AUDITING_ERROREVENTDEFINITIONAUDITING`"> <meta attribute="eclassName" inherit="false">ErrorEventDefinitionAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ERROREVENTDEFINITIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ERROREVENTDEFINITIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ERROREVENTDEFINITIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ERROREVENTDEFINITIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ERROREVENTDEFINITIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ERROREVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ERROREVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ERROREVENTDEFINITIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ERROREVENTDEFINITIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ERROREVENTDEFINITIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.ErrorEventDefinitionAuditing_anyAttribute"/> - </list> - <property name="errorRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ERRORREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.ErrorEventDefinitionAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ERROREVENTDEFINITIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.ErrorEventDefinitionAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EscalationAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ESCALATIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_EVENTDEFINITIONAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EscalationAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.RootElementAuditing" table="`BPMN2AUDITING_ESCALATIONAUDITING`"> <meta attribute="eclassName" inherit="false">EscalationAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ESCALATIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ESCALATIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ESCALATIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ESCALATIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ESCALATIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ESCALATIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ESCALATIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ESCALATIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ESCALATIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ESCALATIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.EscalationAuditing_anyAttribute"/> - </list> - <property name="escalationCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ESCALATIONCODE`"/> - </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="structureRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`STRUCTUREREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.EscalationAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ESCALATIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.EscalationAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EscalationEventDefinitionAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_ESCALATIONEVENTDEFINITIONAUDITING`"> + <key> + <column name="`BPMN2AUDITING_ROOTELEMENTAUDITING_TENEO_AUDIT_ID`"/> + </key> + </joined-subclass> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EscalationEventDefinitionAuditing" abstract="false" lazy="false" extends="bpmn2Auditing.EventDefinitionAuditing" table="`BPMN2AUDITING_ESCALATIONEVENTDEFINITIONAUDITING`"> <meta attribute="eclassName" inherit="false">EscalationEventDefinitionAuditing</meta> <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_ESCALATIONEVENTDEFINITIONAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_ESCALATIONEVENTDEFINITIONAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ESCALATIONEVENTDEFINITIONAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_ESCALATIONEVENTDEFINITIONAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ESCALATIONEVENTDEFINITIONAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="extensionDefinitions" table="`BPMN2AUDITING_ESCALATIONEVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`ESCALATIONEVENTDEFINITIONAUDITING_EXTENSIONDEFINITIONS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <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="anyAttribute" table="`BPMN2AUDITING_ESCALATIONEVENTDEFINITIONAUDITING_ANYATTRIBUTEAUDITING`" lazy="true" cascade="all,delete-orphan"> - <key update="true"> - <column name="`ESCALATIONEVENTDEFINITIONAUDITING_ANYATTRIBUTE_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`ESCALATIONEVENTDEFINITIONAUDITING_ANYATTRIBUTE_IDX`"/> - <one-to-many entity-name="bpmn2Auditing.EscalationEventDefinitionAuditing_anyAttribute"/> - </list> - <property name="escalationRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`ESCALATIONREF`"/> - </property> - </class> - <class entity-name="bpmn2Auditing.EscalationEventDefinitionAuditing_anyAttribute" lazy="false" table="`BPMN2AUDITING_ESCALATIONEVENTDEFINITIONAUDITING_ANYATTRIBUTE`"> - <meta attribute="featureMap" inherit="false">bpmn2Auditing.EscalationEventDefinitionAuditing</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"/> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="bpmn2Auditing.EventAuditing" abstract="false" lazy="false" table="`BPMN2AUDITING_EVENTAUDITING`"> - <meta attribute="eclassName" inherit="false">EventAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.omg.org/spec/BPMN/20100524/MODEL-XMIAuditing</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`" index="teneo_derived_object"/> - </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="teneoauditing.TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="BPMN2AUDITING_EVENTAUDITING_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> - <bag name="extensionValues" table="`BPMN2AUDITING_EVENTAUDITING_EXTENSIONVALUESAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`EVENTAUDITING_EXTENSIONVALUES_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> - <bag name="documentation" table="`BPMN2AUDITING_EVENTAUDITING_DOCUMENTATIONAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`EVENTAUDITING_DOCUMENTATION_TENEO_AUDIT_ID`" unique="false"/> - </key> - <element type="java.lang.String"/> - </bag> |