Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-11-19 00:18:03 +0000
committerMartin Taal2012-11-19 00:18:03 +0000
commit5ffe2f7d2107eb787a339442eda7af88db3f7e56 (patch)
tree4bf47379e7973f31758804fb7980fa1617ad22bb /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample
parentc2589b7076d2e1cabd099fd2883bdb5416d22f01 (diff)
downloadorg.eclipse.emf.teneo-5ffe2f7d2107eb787a339442eda7af88db3f7e56.tar.gz
org.eclipse.emf.teneo-5ffe2f7d2107eb787a339442eda7af88db3f7e56.tar.xz
org.eclipse.emf.teneo-5ffe2f7d2107eb787a339442eda7af88db3f7e56.zip
Also let auditing use the inheritance structure
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml693
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml697
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml258
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml260
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml127
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml129
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml127
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml129
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml127
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml129
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml1136
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml1138
12 files changed, 315 insertions, 4635 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml
index 0b7954f15..ff8b6d90b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml
@@ -523,9 +523,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="`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="`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"/>
@@ -545,7 +545,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">
@@ -568,11 +568,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="`PERSONAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all">
+ <array name="touchedAttributes" table="`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">
@@ -581,104 +581,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="`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="`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="`ADDRESSAUDITING`">
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`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="`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="`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="`VEHICLEINFOAUDITING`">
<meta attribute="eclassName" inherit="false">VehicleInfoAuditing</meta>
<meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta>
@@ -783,167 +700,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="`FLEETAUDITING`">
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FleetAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`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="`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="`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="`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="`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="`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="`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="`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="`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="`TIREAUDITING`">
<meta attribute="eclassName" inherit="false">TireAuditing</meta>
<meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta>
@@ -1002,8 +772,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="`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="`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`"/>
@@ -1024,7 +794,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">
@@ -1047,131 +817,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="`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="`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="`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="`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="`CARAUDITING`">
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CarAuditing" abstract="false" lazy="false" extends="PassengerVehicleAuditing" table="`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>
@@ -1232,208 +884,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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`VINAUDITING`">
<meta attribute="eclassName" inherit="false">VinAuditing</meta>
<meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta>
@@ -1535,65 +1007,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="`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="`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="`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.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml
index 508e3664d..68c4c3842 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_h_o_hibernate.hbm.xml
@@ -532,15 +532,15 @@
<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" discriminator-value="PersonAuditing" table="`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" discriminator-value="TemporalAuditing" table="`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>
<discriminator type="string">
- <column name="`DTYPE`" index="PERSONAUDITINGDTYPE" length="255" not-null="true"/>
+ <column name="`DTYPE`" index="TEMPORALAUDITINGDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
@@ -557,7 +557,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">
@@ -580,11 +580,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="`PERSONAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all">
+ <array name="touchedAttributes" table="`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">
@@ -593,107 +593,15 @@
<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="`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="`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" discriminator-value="AddressAuditing" table="`ADDRESSAUDITING`">
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" extends="TemporalAuditing" discriminator-value="PersonAuditing">
+ <meta attribute="eclassName" inherit="false">PersonAuditing</meta>
+ <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta>
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" extends="TemporalAuditing" discriminator-value="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>
- <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="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="`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>
+ </subclass>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VehicleInfoAuditing" abstract="false" lazy="false" discriminator-value="VehicleInfoAuditing" table="`VEHICLEINFOAUDITING`">
<meta attribute="eclassName" inherit="false">VehicleInfoAuditing</meta>
<meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta>
@@ -804,173 +712,14 @@
<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" discriminator-value="FleetAuditing" table="`FLEETAUDITING`">
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FleetAuditing" abstract="false" lazy="false" extends="TemporalAuditing" discriminator-value="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>
- <discriminator type="string">
- <column name="`DTYPE`" index="FLEETAUDITINGDTYPE" 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="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="`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="`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="`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" discriminator-value="GarageAuditing" table="`GARAGEAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GarageAuditing" abstract="false" lazy="false" extends="TemporalAuditing" discriminator-value="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>
- <discriminator type="string">
- <column name="`DTYPE`" index="GARAGEAUDITINGDTYPE" 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="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="`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="`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="`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>
+ </subclass>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TireAuditing" abstract="false" lazy="false" discriminator-value="TireAuditing" table="`TIREAUDITING`">
<meta attribute="eclassName" inherit="false">TireAuditing</meta>
<meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta>
@@ -1032,15 +781,15 @@
<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" discriminator-value="HybridAuditing" table="`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" discriminator-value="PassengerVehicleAuditing" table="`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`"/>
<generator class="native"/>
</id>
<discriminator type="string">
- <column name="`DTYPE`" index="HYBRIDAUDITINGDTYPE" length="255" not-null="true"/>
+ <column name="`DTYPE`" index="PASSENGERVEHICLEAUDITINGDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
@@ -1057,7 +806,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">
@@ -1080,134 +829,10 @@
<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="`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="`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="`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="`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" discriminator-value="CarAuditing" table="`CARAUDITING`">
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CarAuditing" abstract="false" lazy="false" extends="PassengerVehicleAuditing" discriminator-value="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>
- <discriminator type="string">
- <column name="`DTYPE`" index="CARAUDITINGDTYPE" 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="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>
<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>
@@ -1268,217 +893,19 @@
<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="`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" discriminator-value="PassengerVehicleAuditing" table="`PASSENGERVEHICLEAUDITING`">
- <meta attribute="eclassName" inherit="false">PassengerVehicleAuditing</meta>
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="HybridAuditing" abstract="false" lazy="false" extends="CarAuditing" discriminator-value="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>
- <discriminator type="string">
- <column name="`DTYPE`" index="PASSENGERVEHICLEAUDITINGDTYPE" 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="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" discriminator-value="EngineFactoryAuditing" table="`ENGINEFACTORYAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EngineFactoryAuditing" abstract="false" lazy="false" extends="ManufacturingPlantAuditing" discriminator-value="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>
- <discriminator type="string">
- <column name="`DTYPE`" index="ENGINEFACTORYAUDITINGDTYPE" 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="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="`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" discriminator-value="USAddressAuditing" table="`USADDRESSAUDITING`">
+ </subclass>
+ <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:///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>
- <discriminator type="string">
- <column name="`DTYPE`" index="USADDRESSAUDITINGDTYPE" 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="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="`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>
+ </subclass>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VinAuditing" abstract="false" lazy="false" discriminator-value="VinAuditing" table="`VINAUDITING`">
<meta attribute="eclassName" inherit="false">VinAuditing</meta>
<meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta>
@@ -1586,68 +1013,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" discriminator-value="TemporalAuditing" table="`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>
- <discriminator type="string">
- <column name="`DTYPE`" index="TEMPORALAUDITINGDTYPE" 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="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="`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" discriminator-value="VersionHolderAuditing" table="`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.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml
index 6bbc7c3cd..99321151c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_e_o_hibernate.hbm.xml
@@ -162,67 +162,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="AdultBooksAuditing" abstract="false" lazy="false" table="`ADULTBOOKSAUDITING`">
- <meta attribute="eclassName" inherit="false">AdultBooksAuditing</meta>
- <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</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="ADULTBOOKSAUDITING_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="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>
- <property name="uniqueName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`UNIQUENAME`"/>
- </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="checkedout" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`CHECKEDOUT`"/>
- </property>
- <property name="userid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`USERID`"/>
- </property>
- </class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BookDefinitionAuditing" abstract="false" lazy="false" table="`BOOKDEFINITIONAUDITING`">
<meta attribute="eclassName" inherit="false">BookDefinitionAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
@@ -275,8 +214,15 @@
<column not-null="false" unique="false" name="`UNIQUENAME`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BookDefinitionResourceLinkAuditing" abstract="false" lazy="false" table="`BOOKDEFINITIONRESOURCELINKAUDITING`">
- <meta attribute="eclassName" inherit="false">BookDefinitionResourceLinkAuditing</meta>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AdultBooksAuditing" abstract="false" lazy="false" extends="BookDefinitionAuditing" table="`ADULTBOOKSAUDITING`">
+ <meta attribute="eclassName" inherit="false">AdultBooksAuditing</meta>
+ <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
+ <key>
+ <column name="`BOOKDEFINITIONAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ResourceLinkAuditing" abstract="false" lazy="false" table="`RESOURCELINKAUDITING`">
+ <meta attribute="eclassName" inherit="false">ResourceLinkAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
@@ -297,7 +243,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="BOOKDEFINITIONRESOURCELINKAUDITING_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="RESOURCELINKAUDITING_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,10 +266,14 @@
<property name="name" 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="bookSubject" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`BOOKSUBJECT`"/>
- </property>
</class>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BookDefinitionResourceLinkAuditing" abstract="false" lazy="false" extends="ResourceLinkAuditing" table="`BOOKDEFINITIONRESOURCELINKAUDITING`">
+ <meta attribute="eclassName" inherit="false">BookDefinitionResourceLinkAuditing</meta>
+ <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
+ <key>
+ <column name="`RESOURCELINKAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BooksInLibAuditing" abstract="false" lazy="false" table="`BOOKSINLIBAUDITING`">
<meta attribute="eclassName" inherit="false">BooksInLibAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
@@ -374,70 +324,13 @@
<element type="java.lang.String"/>
</list>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildrenBooksAuditing" abstract="false" lazy="false" table="`CHILDRENBOOKSAUDITING`">
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildrenBooksAuditing" abstract="false" lazy="false" extends="BookDefinitionAuditing" table="`CHILDRENBOOKSAUDITING`">
<meta attribute="eclassName" inherit="false">ChildrenBooksAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</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="CHILDRENBOOKSAUDITING_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="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>
- <property name="uniqueName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`UNIQUENAME`"/>
- </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="cartoon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`CARTOON`"/>
- </property>
- <property name="popup" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`POPUP`"/>
- </property>
- <property name="publisherDefinitionRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`PUBLISHERDEFINITIONREF`"/>
- </property>
- </class>
+ <key>
+ <column name="`BOOKDEFINITIONAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="testAuditing.DocumentRootAuditing" abstract="false" lazy="false">
<meta attribute="eclassName" inherit="false">DocumentRootAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
@@ -598,108 +491,11 @@
<column not-null="false" unique="false" name="`ABSTRACTBOOKDEFINITIONGROUP_ABSTRACTBOOKDEFINITION`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PublisherDefinitionAuditing" abstract="false" lazy="false" table="`PUBLISHERDEFINITIONAUDITING`">
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PublisherDefinitionAuditing" abstract="false" lazy="false" extends="BookDefinitionAuditing" table="`PUBLISHERDEFINITIONAUDITING`">
<meta attribute="eclassName" inherit="false">PublisherDefinitionAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</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="PUBLISHERDEFINITIONAUDITING_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="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>
- <property name="uniqueName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`UNIQUENAME`"/>
- </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="resourceLink" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`RESOURCELINK`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ResourceLinkAuditing" abstract="false" lazy="false" table="`RESOURCELINKAUDITING`">
- <meta attribute="eclassName" inherit="false">ResourceLinkAuditing</meta>
- <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</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="RESOURCELINKAUDITING_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="`BOOKDEFINITIONAUDITING_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.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml
index d8f55b462..6cf5d4d58 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_hsqldb_h_o_hibernate.hbm.xml
@@ -165,70 +165,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="AdultBooksAuditing" abstract="false" lazy="false" discriminator-value="AdultBooksAuditing" table="`ADULTBOOKSAUDITING`">
- <meta attribute="eclassName" inherit="false">AdultBooksAuditing</meta>
- <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</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="ADULTBOOKSAUDITINGDTYPE" 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="ADULTBOOKSAUDITING_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="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>
- <property name="uniqueName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`UNIQUENAME`"/>
- </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="checkedout" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`CHECKEDOUT`"/>
- </property>
- <property name="userid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`USERID`"/>
- </property>
- </class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BookDefinitionAuditing" abstract="false" lazy="false" discriminator-value="BookDefinitionAuditing" table="`BOOKDEFINITIONAUDITING`">
<meta attribute="eclassName" inherit="false">BookDefinitionAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
@@ -284,15 +220,19 @@
<column not-null="false" unique="false" name="`UNIQUENAME`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BookDefinitionResourceLinkAuditing" abstract="false" lazy="false" discriminator-value="BookDefinitionResourceLinkAuditing" table="`BOOKDEFINITIONRESOURCELINKAUDITING`">
- <meta attribute="eclassName" inherit="false">BookDefinitionResourceLinkAuditing</meta>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AdultBooksAuditing" abstract="false" lazy="false" extends="BookDefinitionAuditing" discriminator-value="AdultBooksAuditing">
+ <meta attribute="eclassName" inherit="false">AdultBooksAuditing</meta>
+ <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
+ </subclass>
+ <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ResourceLinkAuditing" abstract="false" lazy="false" discriminator-value="ResourceLinkAuditing" table="`RESOURCELINKAUDITING`">
+ <meta attribute="eclassName" inherit="false">ResourceLinkAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</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="BOOKDEFINITIONRESOURCELINKAUDITINGDTYPE" length="255" not-null="true"/>
+ <column name="`DTYPE`" index="RESOURCELINKAUDITINGDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
@@ -309,7 +249,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="BOOKDEFINITIONRESOURCELINKAUDITING_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="RESOURCELINKAUDITING_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">
@@ -332,10 +272,11 @@
<property name="name" 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="bookSubject" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`BOOKSUBJECT`"/>
- </property>
</class>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BookDefinitionResourceLinkAuditing" abstract="false" lazy="false" extends="ResourceLinkAuditing" discriminator-value="BookDefinitionResourceLinkAuditing">
+ <meta attribute="eclassName" inherit="false">BookDefinitionResourceLinkAuditing</meta>
+ <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
+ </subclass>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BooksInLibAuditing" abstract="false" lazy="false" discriminator-value="BooksInLibAuditing" table="`BOOKSINLIBAUDITING`">
<meta attribute="eclassName" inherit="false">BooksInLibAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
@@ -389,73 +330,10 @@
<element type="java.lang.String"/>
</list>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildrenBooksAuditing" abstract="false" lazy="false" discriminator-value="ChildrenBooksAuditing" table="`CHILDRENBOOKSAUDITING`">
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildrenBooksAuditing" abstract="false" lazy="false" extends="BookDefinitionAuditing" discriminator-value="ChildrenBooksAuditing">
<meta attribute="eclassName" inherit="false">ChildrenBooksAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</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="CHILDRENBOOKSAUDITINGDTYPE" 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="CHILDRENBOOKSAUDITING_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="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>
- <property name="uniqueName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`UNIQUENAME`"/>
- </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="cartoon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`CARTOON`"/>
- </property>
- <property name="popup" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`POPUP`"/>
- </property>
- <property name="publisherDefinitionRef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`PUBLISHERDEFINITIONREF`"/>
- </property>
- </class>
+ </subclass>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="testAuditing.DocumentRootAuditing" abstract="false" lazy="false">
<meta attribute="eclassName" inherit="false">DocumentRootAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</meta>
@@ -619,114 +497,8 @@
<column not-null="false" unique="false" name="`ABSTRACTBOOKDEFINITIONGROUP_ABSTRACTBOOKDEFINITION`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PublisherDefinitionAuditing" abstract="false" lazy="false" discriminator-value="PublisherDefinitionAuditing" table="`PUBLISHERDEFINITIONAUDITING`">
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PublisherDefinitionAuditing" abstract="false" lazy="false" extends="BookDefinitionAuditing" discriminator-value="PublisherDefinitionAuditing">
<meta attribute="eclassName" inherit="false">PublisherDefinitionAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</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="PUBLISHERDEFINITIONAUDITINGDTYPE" 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="PUBLISHERDEFINITIONAUDITING_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="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>
- <property name="uniqueName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`UNIQUENAME`"/>
- </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="resourceLink" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`RESOURCELINK`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ResourceLinkAuditing" abstract="false" lazy="false" discriminator-value="ResourceLinkAuditing" table="`RESOURCELINKAUDITING`">
- <meta attribute="eclassName" inherit="false">ResourceLinkAuditing</meta>
- <meta attribute="epackage" inherit="false">http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsdAuditing</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="RESOURCELINKAUDITINGDTYPE" 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="RESOURCELINKAUDITING_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>
</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml
index f8fed082f..9ea519bbd 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_e_o_hibernate.hbm.xml
@@ -134,8 +134,8 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalBicycleAuditing" abstract="false" lazy="true" table="`RENTALBICYCLEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
- <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="true" table="`RENTALUNITAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
+ <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`"/>
@@ -156,7 +156,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="proxy" 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="proxy" 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">
@@ -179,18 +179,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="true" extends="RentalUnitAuditing" table="`RENTALBICYCLEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
+ <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="true" table="`CURRENCYAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
<meta attribute="eclassName" inherit="false">CurrencyAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta>
@@ -237,60 +233,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="true" table="`RENTALCARAUDITING`" 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="RentalCarAuditing" abstract="false" lazy="true" extends="RentalUnitAuditing" table="`RENTALCARAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
<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="proxy" 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="true" table="`RENTALCONTRACTAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
<meta attribute="eclassName" inherit="false">RentalContractAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta>
@@ -356,52 +305,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="true" table="`RENTALUNITAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
- <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="proxy" 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="true" table="`MANUFACTURERAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
<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.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml
index ddbbae396..1c9536610 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_hsqldb_h_o_hibernate.hbm.xml
@@ -143,15 +143,15 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RentalBicycleAuditing" abstract="false" lazy="true" discriminator-value="RentalBicycleAuditing" table="`RENTALBICYCLEAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
- <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="true" discriminator-value="RentalUnitAuditing" table="`RENTALUNITAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
+ <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`"/>
@@ -168,7 +168,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="proxy" 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="proxy" 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">
@@ -191,18 +191,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="true" extends="RentalUnitAuditing" discriminator-value="RentalBicycleAuditing" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
+ <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="true" discriminator-value="CurrencyAuditing" table="`CURRENCYAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
<meta attribute="eclassName" inherit="false">CurrencyAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta>
@@ -252,63 +245,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="true" discriminator-value="RentalCarAuditing" table="`RENTALCARAUDITING`" 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="RentalCarAuditing" abstract="false" lazy="true" extends="RentalUnitAuditing" discriminator-value="RentalCarAuditing" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
<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="proxy" 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="true" discriminator-value="RentalContractAuditing" table="`RENTALCONTRACTAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
<meta attribute="eclassName" inherit="false">RentalContractAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/rentalAuditing</meta>
@@ -377,55 +317,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="true" discriminator-value="RentalUnitAuditing" table="`RENTALUNITAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
- <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="proxy" 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="true" discriminator-value="ManufacturerAuditing" table="`MANUFACTURERAUDITING`" proxy="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl">
<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.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml
index 624dceeac..a254ebe73 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_e_o_hibernate.hbm.xml
@@ -134,8 +134,8 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
</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`"/>
@@ -156,7 +156,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">
@@ -179,18 +179,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>
@@ -237,60 +233,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>
@@ -356,52 +305,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.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml
index 3d480b8a8..2a520ccd0 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_hsqldb_h_o_hibernate.hbm.xml
@@ -143,15 +143,15 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
</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`"/>
@@ -168,7 +168,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">
@@ -191,18 +191,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>
@@ -252,63 +245,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>
@@ -377,55 +317,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.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml
index 624dceeac..a254ebe73 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_e_o_hibernate.hbm.xml
@@ -134,8 +134,8 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
</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`"/>
@@ -156,7 +156,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">
@@ -179,18 +179,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>
@@ -237,60 +233,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>
@@ -356,52 +305,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.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml
index 3d480b8a8..2a520ccd0 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_hsqldb_h_o_hibernate.hbm.xml
@@ -143,15 +143,15 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
</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`"/>
@@ -168,7 +168,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">
@@ -191,18 +191,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>
@@ -252,63 +245,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>
@@ -377,55 +317,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.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml
index 8ea3e4ae0..65ce49577 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_e_o_hibernate.hbm.xml
@@ -233,8 +233,8 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowAuditing" abstract="false" lazy="false" table="`WORKFLOWAUDITING`">
- <meta attribute="eclassName" inherit="false">WorkflowAuditing</meta>
+ <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowElementAuditing" abstract="false" lazy="false" table="`WORKFLOWELEMENTAUDITING`">
+ <meta attribute="eclassName" inherit="false">WorkflowElementAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
@@ -255,7 +255,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="WORKFLOWAUDITING_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="WORKFLOWELEMENTAUDITING_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">
@@ -293,1085 +293,103 @@
<property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`HEIGHT`"/>
</property>
- <list name="nodes" table="`WORKFLOWAUDITING_NODESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWAUDITING_NODES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWAUDITING_NODES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="edges" table="`WORKFLOWAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="comments" table="`WORKFLOWAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWAUDITING_COMMENTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowNodeAuditing" abstract="false" lazy="false" table="`WORKFLOWNODEAUDITING`">
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" table="`WORKFLOWAUDITING`">
+ <meta attribute="eclassName" inherit="false">WorkflowAuditing</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</meta>
+ <key>
+ <column name="`WORKFLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowNodeAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" table="`WORKFLOWNODEAUDITING`">
<meta attribute="eclassName" inherit="false">WorkflowNodeAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="WORKFLOWNODEAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`WORKFLOWNODEAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWNODEAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWNODEAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`WORKFLOWNODEAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWNODEAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWNODEAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EdgeAuditing" abstract="false" lazy="false" table="`EDGEAUDITING`">
+ <key>
+ <column name="`WORKFLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EdgeAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" table="`EDGEAUDITING`">
<meta attribute="eclassName" inherit="false">EdgeAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="EDGEAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <property name="target" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`TARGET`"/>
- </property>
- <property name="source" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`SOURCE`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="InputPortAuditing" abstract="false" lazy="false" table="`INPUTPORTAUDITING`">
+ <key>
+ <column name="`WORKFLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PortAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" table="`PORTAUDITING`">
+ <meta attribute="eclassName" inherit="false">PortAuditing</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</meta>
+ <key>
+ <column name="`WORKFLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="InputPortAuditing" abstract="false" lazy="false" extends="PortAuditing" table="`INPUTPORTAUDITING`">
<meta attribute="eclassName" inherit="false">InputPortAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="INPUTPORTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="node" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`NODE`"/>
- </property>
- <list name="edges" table="`INPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`INPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`INPUTPORTAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="OutputPortAuditing" abstract="false" lazy="false" table="`OUTPUTPORTAUDITING`">
+ <key>
+ <column name="`PORTAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="OutputPortAuditing" abstract="false" lazy="false" extends="PortAuditing" table="`OUTPUTPORTAUDITING`">
<meta attribute="eclassName" inherit="false">OutputPortAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="OUTPUTPORTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="node" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`NODE`"/>
- </property>
- <list name="edges" table="`OUTPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`OUTPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`OUTPUTPORTAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FaultAuditing" abstract="false" lazy="false" table="`FAULTAUDITING`">
+ <key>
+ <column name="`PORTAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FaultAuditing" abstract="false" lazy="false" extends="OutputPortAuditing" table="`FAULTAUDITING`">
<meta attribute="eclassName" inherit="false">FaultAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="FAULTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="node" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`NODE`"/>
- </property>
- <list name="edges" table="`FAULTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`FAULTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`FAULTAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CompoundTaskAuditing" abstract="false" lazy="false" table="`COMPOUNDTASKAUDITING`">
+ <key>
+ <column name="`OUTPUTPORTAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CompoundTaskAuditing" abstract="false" lazy="false" extends="WorkflowNodeAuditing" table="`COMPOUNDTASKAUDITING`">
<meta attribute="eclassName" inherit="false">CompoundTaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="COMPOUNDTASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`COMPOUNDTASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`COMPOUNDTASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`COMPOUNDTASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`COMPOUNDTASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`COMPOUNDTASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`COMPOUNDTASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- <property name="subworkflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`SUBWORKFLOW`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PortAuditing" abstract="false" lazy="false" table="`PORTAUDITING`">
- <meta attribute="eclassName" inherit="false">PortAuditing</meta>
- <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="PORTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TransformationTaskAuditing" abstract="false" lazy="false" table="`TRANSFORMATIONTASKAUDITING`">
+ <key>
+ <column name="`WORKFLOWNODEAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TransformationTaskAuditing" abstract="false" lazy="false" extends="WorkflowNodeAuditing" table="`TRANSFORMATIONTASKAUDITING`">
<meta attribute="eclassName" inherit="false">TransformationTaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="TRANSFORMATIONTASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`TRANSFORMATIONTASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`TRANSFORMATIONTASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`TRANSFORMATIONTASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`TRANSFORMATIONTASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`TRANSFORMATIONTASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`TRANSFORMATIONTASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- <property name="transformExpression" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`TRANSFORMEXPRESSION`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ConditionalTaskAuditing" abstract="false" lazy="false" table="`CONDITIONALTASKAUDITING`">
+ <key>
+ <column name="`WORKFLOWNODEAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ConditionalTaskAuditing" abstract="false" lazy="false" extends="WorkflowNodeAuditing" table="`CONDITIONALTASKAUDITING`">
<meta attribute="eclassName" inherit="false">ConditionalTaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="CONDITIONALTASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`CONDITIONALTASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`CONDITIONALTASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`CONDITIONALTASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`CONDITIONALTASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`CONDITIONALTASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`CONDITIONALTASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="LoopTaskAuditing" abstract="false" lazy="false" table="`LOOPTASKAUDITING`">
+ <key>
+ <column name="`WORKFLOWNODEAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="LoopTaskAuditing" abstract="false" lazy="false" extends="CompoundTaskAuditing" table="`LOOPTASKAUDITING`">
<meta attribute="eclassName" inherit="false">LoopTaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="LOOPTASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`LOOPTASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`LOOPTASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`LOOPTASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`LOOPTASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`LOOPTASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`LOOPTASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- <property name="subworkflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`SUBWORKFLOW`"/>
- </property>
- <property name="whileCondition" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WHILECONDITION`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowElementAuditing" abstract="false" lazy="false" table="`WORKFLOWELEMENTAUDITING`">
- <meta attribute="eclassName" inherit="false">WorkflowElementAuditing</meta>
- <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="WORKFLOWELEMENTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ConditionalOutputPortAuditing" abstract="false" lazy="false" table="`CONDITIONALOUTPUTPORTAUDITING`">
+ <key>
+ <column name="`COMPOUNDTASKAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ConditionalOutputPortAuditing" abstract="false" lazy="false" extends="OutputPortAuditing" table="`CONDITIONALOUTPUTPORTAUDITING`">
<meta attribute="eclassName" inherit="false">ConditionalOutputPortAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="CONDITIONALOUTPUTPORTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="node" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`NODE`"/>
- </property>
- <list name="edges" table="`CONDITIONALOUTPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`CONDITIONALOUTPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`CONDITIONALOUTPUTPORTAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </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 name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CommentAuditing" abstract="false" lazy="false" table="`COMMENTAUDITING`">
+ <key>
+ <column name="`OUTPUTPORTAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CommentAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" table="`COMMENTAUDITING`">
<meta attribute="eclassName" inherit="false">CommentAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="COMMENTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TaskAuditing" abstract="false" lazy="false" table="`TASKAUDITING`">
+ <key>
+ <column name="`WORKFLOWELEMENTAUDITING_TENEO_AUDIT_ID`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TaskAuditing" abstract="false" lazy="false" extends="WorkflowNodeAuditing" table="`TASKAUDITING`">
<meta attribute="eclassName" inherit="false">TaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="TASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`TASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`TASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`TASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`TASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`TASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`TASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- </class>
+ <key>
+ <column name="`WORKFLOWNODEAUDITING_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.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml
index c222d3a6a..893bc3b9b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_hsqldb_h_o_hibernate.hbm.xml
@@ -197,15 +197,15 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowAuditing" abstract="false" lazy="false" discriminator-value="WorkflowAuditing" table="`WORKFLOWAUDITING`">
- <meta attribute="eclassName" inherit="false">WorkflowAuditing</meta>
+ <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowElementAuditing" abstract="false" lazy="false" discriminator-value="WorkflowElementAuditing" table="`WORKFLOWELEMENTAUDITING`">
+ <meta attribute="eclassName" inherit="false">WorkflowElementAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="WORKFLOWAUDITINGDTYPE" length="255" not-null="true"/>
+ <column name="`DTYPE`" index="WORKFLOWELEMENTAUDITINGDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
@@ -222,7 +222,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="WORKFLOWAUDITING_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="WORKFLOWELEMENTAUDITING_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">
@@ -260,1127 +260,61 @@
<property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`HEIGHT`"/>
</property>
- <list name="nodes" table="`WORKFLOWAUDITING_NODESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWAUDITING_NODES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWAUDITING_NODES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="edges" table="`WORKFLOWAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="comments" table="`WORKFLOWAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWAUDITING_COMMENTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowNodeAuditing" abstract="false" lazy="false" discriminator-value="WorkflowNodeAuditing" table="`WORKFLOWNODEAUDITING`">
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" discriminator-value="WorkflowAuditing">
+ <meta attribute="eclassName" inherit="false">WorkflowAuditing</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</meta>
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowNodeAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" discriminator-value="WorkflowNodeAuditing">
<meta attribute="eclassName" inherit="false">WorkflowNodeAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="WORKFLOWNODEAUDITINGDTYPE" 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="WORKFLOWNODEAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`WORKFLOWNODEAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWNODEAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWNODEAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`WORKFLOWNODEAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`WORKFLOWNODEAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`WORKFLOWNODEAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EdgeAuditing" abstract="false" lazy="false" discriminator-value="EdgeAuditing" table="`EDGEAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EdgeAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" discriminator-value="EdgeAuditing">
<meta attribute="eclassName" inherit="false">EdgeAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="EDGEAUDITINGDTYPE" 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="EDGEAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <property name="target" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`TARGET`"/>
- </property>
- <property name="source" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`SOURCE`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="InputPortAuditing" abstract="false" lazy="false" discriminator-value="InputPortAuditing" table="`INPUTPORTAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PortAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" discriminator-value="PortAuditing">
+ <meta attribute="eclassName" inherit="false">PortAuditing</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</meta>
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="InputPortAuditing" abstract="false" lazy="false" extends="PortAuditing" discriminator-value="InputPortAuditing">
<meta attribute="eclassName" inherit="false">InputPortAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="INPUTPORTAUDITINGDTYPE" 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="INPUTPORTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="node" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`NODE`"/>
- </property>
- <list name="edges" table="`INPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`INPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`INPUTPORTAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="OutputPortAuditing" abstract="false" lazy="false" discriminator-value="OutputPortAuditing" table="`OUTPUTPORTAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="OutputPortAuditing" abstract="false" lazy="false" extends="PortAuditing" discriminator-value="OutputPortAuditing">
<meta attribute="eclassName" inherit="false">OutputPortAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="OUTPUTPORTAUDITINGDTYPE" 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="OUTPUTPORTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="node" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`NODE`"/>
- </property>
- <list name="edges" table="`OUTPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`OUTPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`OUTPUTPORTAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FaultAuditing" abstract="false" lazy="false" discriminator-value="FaultAuditing" table="`FAULTAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FaultAuditing" abstract="false" lazy="false" extends="OutputPortAuditing" discriminator-value="FaultAuditing">
<meta attribute="eclassName" inherit="false">FaultAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="FAULTAUDITINGDTYPE" 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="FAULTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="node" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`NODE`"/>
- </property>
- <list name="edges" table="`FAULTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`FAULTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`FAULTAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CompoundTaskAuditing" abstract="false" lazy="false" discriminator-value="CompoundTaskAuditing" table="`COMPOUNDTASKAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CompoundTaskAuditing" abstract="false" lazy="false" extends="WorkflowNodeAuditing" discriminator-value="CompoundTaskAuditing">
<meta attribute="eclassName" inherit="false">CompoundTaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="COMPOUNDTASKAUDITINGDTYPE" 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="COMPOUNDTASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`COMPOUNDTASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`COMPOUNDTASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`COMPOUNDTASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`COMPOUNDTASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`COMPOUNDTASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`COMPOUNDTASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- <property name="subworkflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`SUBWORKFLOW`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PortAuditing" abstract="false" lazy="false" discriminator-value="PortAuditing" table="`PORTAUDITING`">
- <meta attribute="eclassName" inherit="false">PortAuditing</meta>
- <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="PORTAUDITINGDTYPE" 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="PORTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TransformationTaskAuditing" abstract="false" lazy="false" discriminator-value="TransformationTaskAuditing" table="`TRANSFORMATIONTASKAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TransformationTaskAuditing" abstract="false" lazy="false" extends="WorkflowNodeAuditing" discriminator-value="TransformationTaskAuditing">
<meta attribute="eclassName" inherit="false">TransformationTaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="TRANSFORMATIONTASKAUDITINGDTYPE" 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="TRANSFORMATIONTASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`TRANSFORMATIONTASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`TRANSFORMATIONTASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`TRANSFORMATIONTASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`TRANSFORMATIONTASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`TRANSFORMATIONTASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`TRANSFORMATIONTASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- <property name="transformExpression" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`TRANSFORMEXPRESSION`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ConditionalTaskAuditing" abstract="false" lazy="false" discriminator-value="ConditionalTaskAuditing" table="`CONDITIONALTASKAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ConditionalTaskAuditing" abstract="false" lazy="false" extends="WorkflowNodeAuditing" discriminator-value="ConditionalTaskAuditing">
<meta attribute="eclassName" inherit="false">ConditionalTaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="CONDITIONALTASKAUDITINGDTYPE" 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="CONDITIONALTASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`CONDITIONALTASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`CONDITIONALTASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`CONDITIONALTASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`CONDITIONALTASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`CONDITIONALTASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`CONDITIONALTASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="LoopTaskAuditing" abstract="false" lazy="false" discriminator-value="LoopTaskAuditing" table="`LOOPTASKAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="LoopTaskAuditing" abstract="false" lazy="false" extends="CompoundTaskAuditing" discriminator-value="LoopTaskAuditing">
<meta attribute="eclassName" inherit="false">LoopTaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="LOOPTASKAUDITINGDTYPE" 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="LOOPTASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`LOOPTASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`LOOPTASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`LOOPTASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`LOOPTASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`LOOPTASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`LOOPTASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- <property name="subworkflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`SUBWORKFLOW`"/>
- </property>
- <property name="whileCondition" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WHILECONDITION`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WorkflowElementAuditing" abstract="false" lazy="false" discriminator-value="WorkflowElementAuditing" table="`WORKFLOWELEMENTAUDITING`">
- <meta attribute="eclassName" inherit="false">WorkflowElementAuditing</meta>
- <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="WORKFLOWELEMENTAUDITINGDTYPE" 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="WORKFLOWELEMENTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ConditionalOutputPortAuditing" abstract="false" lazy="false" discriminator-value="ConditionalOutputPortAuditing" table="`CONDITIONALOUTPUTPORTAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ConditionalOutputPortAuditing" abstract="false" lazy="false" extends="OutputPortAuditing" discriminator-value="ConditionalOutputPortAuditing">
<meta attribute="eclassName" inherit="false">ConditionalOutputPortAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="CONDITIONALOUTPUTPORTAUDITINGDTYPE" 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="CONDITIONALOUTPUTPORTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="node" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`NODE`"/>
- </property>
- <list name="edges" table="`CONDITIONALOUTPUTPORTAUDITING_EDGESAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`CONDITIONALOUTPUTPORTAUDITING_EDGES_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`CONDITIONALOUTPUTPORTAUDITING_EDGES_IDX`"/>
- <element type="java.lang.String"/>
- </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 name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CommentAuditing" abstract="false" lazy="false" discriminator-value="CommentAuditing" table="`COMMENTAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CommentAuditing" abstract="false" lazy="false" extends="WorkflowElementAuditing" discriminator-value="CommentAuditing">
<meta attribute="eclassName" inherit="false">CommentAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="COMMENTAUDITINGDTYPE" 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="COMMENTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TaskAuditing" abstract="false" lazy="false" discriminator-value="TaskAuditing" table="`TASKAUDITING`">
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TaskAuditing" abstract="false" lazy="false" extends="WorkflowNodeAuditing" discriminator-value="TaskAuditing">
<meta attribute="eclassName" inherit="false">TaskAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/workflowAuditing</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="TASKAUDITINGDTYPE" 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="TASKAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`COMMENT`"/>
- </property>
- <property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`X`"/>
- </property>
- <property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`Y`"/>
- </property>
- <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`WIDTH`"/>
- </property>
- <property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`HEIGHT`"/>
- </property>
- <property name="workflow" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`WORKFLOW`"/>
- </property>
- <list name="outputs" table="`TASKAUDITING_OUTPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`TASKAUDITING_OUTPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`TASKAUDITING_OUTPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <list name="inputs" table="`TASKAUDITING_INPUTSAUDITING`" lazy="true" cascade="all">
- <key update="true">
- <column name="`TASKAUDITING_INPUTS_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`TASKAUDITING_INPUTS_IDX`"/>
- <element type="java.lang.String"/>
- </list>
- <property name="isStart" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISSTART`"/>
- </property>
- <property name="isFinish" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
- <column not-null="false" unique="false" name="`ISFINISH`"/>
- </property>
- </class>
+ </subclass>
</hibernate-mapping> \ No newline at end of file

Back to the top