blob: 1b353843c1f691947f551411b1edcacde5a4286f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.AbstractSuperImpl" entity-name="AbstractSuper" abstract="false" lazy="false" table="`ABSTRACTSUPER`">
<meta attribute="eclassName" inherit="false">AbstractSuper</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`NAME`"/>
</property>
</class>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.MImpl" entity-name="M" abstract="false" lazy="false" extends="AbstractSuper" table="`M`">
<meta attribute="eclassName" inherit="false">M</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
<key>
<column name="`ABSTRACTSUPER_E_ID`"/>
</key>
<list name="p" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`M_P`">
<key foreign-key="M_P_KEY" update="true">
<column name="`M_E_ID`" unique="false"/>
</key>
<list-index column="`M_P_IDX`"/>
<many-to-many entity-name="P" unique="false" foreign-key="M_P">
<column name="`P_E_ID`" not-null="true" unique="false"/>
</many-to-many>
</list>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.MListImpl" entity-name="MList" abstract="false" lazy="false" extends="AbstractSuper" table="`MLIST`">
<meta attribute="eclassName" inherit="false">MList</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
<key>
<column name="`ABSTRACTSUPER_E_ID`"/>
</key>
<list name="m" lazy="true" cascade="all,delete-orphan">
<key foreign-key="MLIST_M_KEY" update="true">
<column name="`MLIST_M_E_ID`" unique="false"/>
</key>
<list-index column="`MLIST_M_IDX`"/>
<one-to-many entity-name="M"/>
</list>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.PImpl" entity-name="P" abstract="false" lazy="false" extends="AbstractSuper" table="`P`">
<meta attribute="eclassName" inherit="false">P</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
<key>
<column name="`ABSTRACTSUPER_E_ID`"/>
</key>
<list name="m" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`P_M`">
<key foreign-key="P_M_KEY" update="true">
<column name="`P_E_ID`" unique="false"/>
</key>
<list-index column="`P_M_IDX`"/>
<many-to-many entity-name="M" unique="false" foreign-key="P_M">
<column name="`M_E_ID`" not-null="true" unique="false"/>
</many-to-many>
</list>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.PListImpl" entity-name="PList" abstract="false" lazy="false" extends="AbstractSuper" table="`PLIST`">
<meta attribute="eclassName" inherit="false">PList</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
<key>
<column name="`ABSTRACTSUPER_E_ID`"/>
</key>
<list name="p" lazy="true" cascade="all,delete-orphan">
<key foreign-key="PLIST_P_KEY" update="true">
<column name="`PLIST_P_E_ID`" unique="false"/>
</key>
<list-index column="`PLIST_P_IDX`"/>
<one-to-many entity-name="P"/>
</list>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.topclasses.impl.RImpl" entity-name="R" abstract="false" lazy="false" extends="AbstractSuper" table="`R`">
<meta attribute="eclassName" inherit="false">R</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
<key>
<column name="`ABSTRACTSUPER_E_ID`"/>
</key>
<many-to-one name="plist" entity-name="PList" lazy="false" cascade="all" foreign-key="R_PLIST" insert="true" update="true" not-null="true" unique="true">
<column not-null="true" unique="false" name="`PLIST_PLIST_E_ID`"/>
</many-to-one>
<many-to-one name="mlist" entity-name="MList" lazy="false" cascade="all" foreign-key="R_MLIST" insert="true" update="true" not-null="true" unique="true">
<column not-null="true" unique="false" name="`MLIST_MLIST_E_ID`"/>
</many-to-one>
</joined-subclass>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" table="`TENEOAUDITCOMMITINFO`">
<meta attribute="eclassName" inherit="false">TeneoAuditCommitInfo</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/hibernate/auditing</meta>
<id name="id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`ID`"/>
<generator class="native"/>
</id>
<version name="version" type="long">
<column not-null="true" unique="false" name="`VERSION`"/>
</version>
<property name="user" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`USER`"/>
</property>
<property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`COMMENT`" length="2000"/>
</property>
<property name="commitTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`COMMITTIME`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AbstractSuperAuditing" abstract="false" lazy="false" table="`ABSTRACTSUPERAUDITING`">
<meta attribute="eclassName" inherit="false">AbstractSuperAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclassesAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
<generator class="native"/>
</id>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
</version>
<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
</property>
<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
</property>
<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
</property>
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
</property>
<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ABSTRACTSUPERAUDITING_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_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/>
</property>
<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
</property>
<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
</property>
<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
</property>
<property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`NAME`"/>
</property>
</class>
<joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="MAuditing" abstract="false" lazy="false" extends="AbstractSuperAuditing" table="`MAUDITING`">
<meta attribute="eclassName" inherit="false">MAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclassesAuditing</meta>
<key>
<column name="`ABSTRACTSUPERAUDITING_TENEO_AUDIT_ID`"/>
</key>
<list name="p" table="`MAUDITING_PAUDITING`" lazy="true" cascade="all">
<key foreign-key="MAUDITING_P_KEY" update="true">
<column name="`MAUDITING_P_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MAUDITING_P_IDX`"/>
<element type="java.lang.String"/>
</list>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="MListAuditing" abstract="false" lazy="false" extends="AbstractSuperAuditing" table="`MLISTAUDITING`">
<meta attribute="eclassName" inherit="false">MListAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclassesAuditing</meta>
<key>
<column name="`ABSTRACTSUPERAUDITING_TENEO_AUDIT_ID`"/>
</key>
<list name="m" table="`MLISTAUDITING_MAUDITING`" lazy="true" cascade="all">
<key foreign-key="MLISTAUDITING_M_KEY" update="true">
<column name="`MLISTAUDITING_M_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`MLISTAUDITING_M_IDX`"/>
<element type="java.lang.String"/>
</list>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PAuditing" abstract="false" lazy="false" extends="AbstractSuperAuditing" table="`PAUDITING`">
<meta attribute="eclassName" inherit="false">PAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclassesAuditing</meta>
<key>
<column name="`ABSTRACTSUPERAUDITING_TENEO_AUDIT_ID`"/>
</key>
<list name="m" table="`PAUDITING_MAUDITING`" lazy="true" cascade="all">
<key foreign-key="PAUDITING_M_KEY" update="true">
<column name="`PAUDITING_M_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PAUDITING_M_IDX`"/>
<element type="java.lang.String"/>
</list>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PListAuditing" abstract="false" lazy="false" extends="AbstractSuperAuditing" table="`PLISTAUDITING`">
<meta attribute="eclassName" inherit="false">PListAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclassesAuditing</meta>
<key>
<column name="`ABSTRACTSUPERAUDITING_TENEO_AUDIT_ID`"/>
</key>
<list name="p" table="`PLISTAUDITING_PAUDITING`" lazy="true" cascade="all">
<key foreign-key="PLISTAUDITING_P_KEY" update="true">
<column name="`PLISTAUDITING_P_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`PLISTAUDITING_P_IDX`"/>
<element type="java.lang.String"/>
</list>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="RAuditing" abstract="false" lazy="false" extends="AbstractSuperAuditing" table="`RAUDITING`">
<meta attribute="eclassName" inherit="false">RAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/issues/topclassesAuditing</meta>
<key>
<column name="`ABSTRACTSUPERAUDITING_TENEO_AUDIT_ID`"/>
</key>
<property name="plist" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`PLIST`"/>
</property>
<property name="mlist" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`MLIST`"/>
</property>
</joined-subclass>
</hibernate-mapping>