|
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`ADDRESS`">
<meta attribute="eclassName" inherit="false">Address</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`DTYPE`" index="ADDRESSDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="group" table="`ADDRESS_GROUP`" lazy="true" cascade="all,delete-orphan">
<key foreign-key="ADDRESS_GROUP_KEY" update="true">
<column name="`ADDRESS_GROUP_E_ID`" unique="false"/>
</key>
<list-index column="`ADDRESS_GROUP_IDX`"/>
<one-to-many entity-name="Address_group"/>
</list>
</class>
<class entity-name="Address_group" lazy="false" table="`ADDRESS_GROUP`">
<meta attribute="featureMap" inherit="false">Address</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`GROUP_NAME`"/>
</property>
<property name="longName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`GROUP_LONGNAME`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressGroupImpl" entity-name="AddressGroup" abstract="false" lazy="false" discriminator-value="AddressGroup" table="`ADDRESSGROUP`">
<meta attribute="eclassName" inherit="false">AddressGroup</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`DTYPE`" index="ADDRESSGROUPDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`GROUPNAME`"/>
</property>
<many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="ADDRESSGROUP_SHIPTO" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`ADDRESS_SHIPTO_E_ID`"/>
</many-to-one>
<many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="ADDRESSGROUP_BILLTO" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`ADDRESS_BILLTO_E_ID`"/>
</many-to-one>
<property name="simpleAddress" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`SIMPLEADDRESS`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" discriminator-value="AddressList" table="`ADDRESSLIST`">
<meta attribute="eclassName" inherit="false">AddressList</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`DTYPE`" index="ADDRESSLISTDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`GROUPNAME`"/>
</property>
<list name="addrs" table="`ADDRESSLIST_ADDRS`" lazy="true" cascade="all,delete-orphan">
<key foreign-key="ADDRESSLIST_ADDRS_KEY" update="true">
<column name="`ADDRESSLIST_ADDRS_E_ID`" unique="false"/>
</key>
<list-index column="`ADDRESSLIST_ADDRS_IDX`"/>
<one-to-many entity-name="AddressList_addrs"/>
</list>
</class>
<class entity-name="AddressList_addrs" lazy="false" table="`ADDRESSLIST_ADDRS`">
<meta attribute="featureMap" inherit="false">AddressList</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="ADDRESSLIST_SHIPTO" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`ADDRS_ADDRESS_SHIPTO_E_ID`"/>
</many-to-one>
<many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="ADDRESSLIST_BILLTO" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`ADDRS_ADDRESS_BILLTO_E_ID`"/>
</many-to-one>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllMapTypeImpl" entity-name="SimpleAllMapType" abstract="false" lazy="false" discriminator-value="SimpleAllMapType" table="`SIMPLEALLMAPTYPE`">
<meta attribute="eclassName" inherit="false">SimpleAllMapType</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`DTYPE`" index="SIMPLEALLMAPTYPEDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<list name="allMap" table="`SIMPLEALLMAPTYPE_ALLMAP`" lazy="true" cascade="all,delete-orphan">
<key foreign-key="SIMPLEALLMAPTYPE_ALLMAP_KEY" update="true">
<column name="`SIMPLEALLMAPTYPE_ALLMAP_E_ID`" unique="false"/>
</key>
<list-index column="`SIMPLEALLMAPTYPE_ALLMAP_IDX`"/>
<one-to-many entity-name="SimpleAllMapType_allMap"/>
</list>
</class>
<class entity-name="SimpleAllMapType_allMap" lazy="false" table="`SIMPLEALLMAPTYPE_ALLMAP`">
<meta attribute="featureMap" inherit="false">SimpleAllMapType</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="aaa" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ALLMAP_AAA`"/>
</property>
<property name="bbb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ALLMAP_BBB`"/>
</property>
<property name="ccc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ALLMAP_CCC`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllTypeImpl" entity-name="SimpleAllType" abstract="false" lazy="false" discriminator-value="SimpleAllType" table="`SIMPLEALLTYPE`">
<meta attribute="eclassName" inherit="false">SimpleAllType</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`DTYPE`" index="SIMPLEALLTYPEDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="aaa" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`AAA`"/>
</property>
<property name="bbb" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`BBB`"/>
</property>
<property name="ccc" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`CCC`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" discriminator-value="TeneoAuditCommitInfo" table="`TENEOAUDITCOMMITINFO`">
<meta attribute="eclassName" inherit="false">TeneoAuditCommitInfo</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/hibernate/auditing</meta>
<id name="id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`ID`"/>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`DTYPE`" index="TENEOAUDITCOMMITINFODTYPE" length="255" not-null="true"/>
</discriminator>
<version name="version" type="long">
<column not-null="true" unique="false" name="`VERSION`"/>
</version>
<property name="user" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`USER`"/>
</property>
<property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`COMMENT`" length="2000"/>
</property>
<property name="commitTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`COMMITTIME`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" discriminator-value="AddressAuditing" table="`ADDRESSAUDITING`">
<meta attribute="eclassName" inherit="false">AddressAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupallAuditing</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`"/>
</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="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
</property>
<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="group" table="`ADDRESSAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan">
<key foreign-key="ADDRESSAUDITING_GROUP_KEY" update="true">
<column name="`ADDRESSAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ADDRESSAUDITING_GROUP_IDX`"/>
<one-to-many entity-name="AddressAuditing_group"/>
</list>
</class>
<class entity-name="AddressAuditing_group" lazy="false" table="`ADDRESSAUDITING_GROUP`">
<meta attribute="featureMap" inherit="false">AddressAuditing</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`GROUP_NAME`"/>
</property>
<property name="longName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`GROUP_LONGNAME`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressGroupAuditing" abstract="false" lazy="false" discriminator-value="AddressGroupAuditing" table="`ADDRESSGROUPAUDITING`">
<meta attribute="eclassName" inherit="false">AddressGroupAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupallAuditing</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="ADDRESSGROUPAUDITINGDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
</version>
<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
</property>
<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
</property>
<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
</property>
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
</property>
<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ADDRESSGROUPAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
<param name="eclassifier">TeneoAuditKind</param>
<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
</type>
</property>
<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
</property>
<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
</property>
<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
</property>
<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
</property>
<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<property name="groupName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`GROUPNAME`"/>
</property>
<property name="shipTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`SHIPTO`"/>
</property>
<property name="billTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`BILLTO`"/>
</property>
<property name="simpleAddress" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`SIMPLEADDRESS`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressListAuditing" abstract="false" lazy="false" discriminator-value="AddressListAuditing" table="`ADDRESSLISTAUDITING`">
<meta attribute="eclassName" inherit="false">AddressListAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupallAuditing</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="ADDRESSLISTAUDITINGDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
</version>
<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
</property>
<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
</property>
<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
</property>
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
</property>
<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ADDRESSLISTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
<param name="eclassifier">TeneoAuditKind</param>
<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
</type>
</property>
<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
</property>
<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
</property>
<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
</property>
<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
</property>
<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<property name="groupName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`GROUPNAME`"/>
</property>
<list name="addrs" table="`ADDRESSLISTAUDITING_ADDRSAUDITING`" lazy="true" cascade="all,delete-orphan">
<key foreign-key="ADDRESSLISTAUDITING_ADDRS_KEY" update="true">
<column name="`ADDRESSLISTAUDITING_ADDRS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`ADDRESSLISTAUDITING_ADDRS_IDX`"/>
<one-to-many entity-name="AddressListAuditing_addrs"/>
</list>
</class>
<class entity-name="AddressListAuditing_addrs" lazy="false" table="`ADDRESSLISTAUDITING_ADDRS`">
<meta attribute="featureMap" inherit="false">AddressListAuditing</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="shipTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ADDRS_SHIPTO`"/>
</property>
<property name="billTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ADDRS_BILLTO`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="groupallAuditing.DocumentRootAuditing" abstract="false" lazy="false">
<meta attribute="eclassName" inherit="false">DocumentRootAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupallAuditing</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`"/>
</property>
<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
</property>
<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_START`"/>
</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`"/>
</property>
<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="GROUPALLAUDITING_DOCUMENTROOTAUDITING_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`"/>
</property>
<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
</property>
<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<many-to-one name="mixed" entity-name="groupallAuditing.DocumentRootAuditing_mixed" cascade="all" not-null="false"/>
<property name="simpleAll" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`SIMPLEALL`"/>
</property>
<property name="simpleAllMap" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`SIMPLEALLMAP`"/>
</property>
</class>
<class entity-name="groupallAuditing.DocumentRootAuditing_mixed" lazy="false" table="`GROUPALLAUDITING_DOCUMENTROOTAUDITING_MIXED`">
<meta attribute="featureMap" inherit="false">groupallAuditing.DocumentRootAuditing</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="simpleAll" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`MIXED_SIMPLEALL`"/>
</property>
<property name="simpleAllMap" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`MIXED_SIMPLEALLMAP`"/>
</property>
<property name="fme_mixed_text" type="java.lang.String"/>
<property name="fme_mixed_cdata" type="java.lang.String"/>
<property name="fme_mixed_comment" type="java.lang.String"/>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SimpleAllMapTypeAuditing" abstract="false" lazy="false" discriminator-value="SimpleAllMapTypeAuditing" table="`SIMPLEALLMAPTYPEAUDITING`">
<meta attribute="eclassName" inherit="false">SimpleAllMapTypeAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupallAuditing</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="SIMPLEALLMAPTYPEAUDITINGDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
</version>
<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
</property>
<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
</property>
<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
</property>
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
</property>
<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SIMPLEALLMAPTYPEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
<param name="eclassifier">TeneoAuditKind</param>
<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
</type>
</property>
<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
</property>
<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
</property>
<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
</property>
<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
</property>
<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<list name="allMap" table="`SIMPLEALLMAPTYPEAUDITING_ALLMAPAUDITING`" lazy="true" cascade="all,delete-orphan">
<key foreign-key="SIMPLEALLMAPTYPEAUDITING_ALLMAP_KEY" update="true">
<column name="`SIMPLEALLMAPTYPEAUDITING_ALLMAP_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`SIMPLEALLMAPTYPEAUDITING_ALLMAP_IDX`"/>
<one-to-many entity-name="SimpleAllMapTypeAuditing_allMap"/>
</list>
</class>
<class entity-name="SimpleAllMapTypeAuditing_allMap" lazy="false" table="`SIMPLEALLMAPTYPEAUDITING_ALLMAP`">
<meta attribute="featureMap" inherit="false">SimpleAllMapTypeAuditing</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="aaa" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ALLMAP_AAA`"/>
</property>
<property name="bbb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ALLMAP_BBB`"/>
</property>
<property name="ccc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ALLMAP_CCC`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SimpleAllTypeAuditing" abstract="false" lazy="false" discriminator-value="SimpleAllTypeAuditing" table="`SIMPLEALLTYPEAUDITING`">
<meta attribute="eclassName" inherit="false">SimpleAllTypeAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupallAuditing</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="SIMPLEALLTYPEAUDITINGDTYPE" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
</version>
<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
</property>
<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
</property>
<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
</property>
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
</property>
<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SIMPLEALLTYPEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
<param name="eclassifier">TeneoAuditKind</param>
<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
</type>
</property>
<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
</property>
<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
</property>
<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
</property>
<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
</property>
<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<property name="aaa" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`AAA`"/>
</property>
<property name="bbb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`BBB`"/>
</property>
<property name="ccc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`CCC`"/>
</property>
</class>
</hibernate-mapping>
|