blob: b13c2d25bae1956697af7260581edcf5d23a94d9 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
<typedef name="emap.CategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
<param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param>
<param name="edatatype">CategoryObject</param>
</typedef>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<meta attribute="eclassName" inherit="false">Book</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`dtype`" index="bookdtype" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
<list name="writers" lazy="true" cascade="all,delete-orphan">
<key foreign-key="book_writers_key" update="true">
<column name="`book_writers_e_id`" unique="false"/>
</key>
<list-index column="`book_writers_idx`"/>
<one-to-many entity-name="StringToWriterMapEntry"/>
</list>
<list name="keyWords" lazy="true" cascade="all,delete-orphan">
<key foreign-key="book_keywords_key" update="true">
<column name="`book_keywords_e_id`" unique="false"/>
</key>
<list-index column="`book_keywords_idx`"/>
<one-to-many entity-name="StringToStringMapEntry"/>
</list>
<list name="cityByWriter" lazy="true" cascade="all,delete-orphan">
<key foreign-key="book_citybywriter_key" update="true">
<column name="`book_citybywriter_e_id`" unique="false"/>
</key>
<list-index column="`book_citybywriter_idx`"/>
<one-to-many entity-name="WriterToStringMapEntry"/>
</list>
<list name="categoryByDate" lazy="true" cascade="all,delete-orphan">
<key foreign-key="book_categorybydate_key" update="true">
<column name="`book_categorybydate_e_id`" unique="false"/>
</key>
<list-index column="`book_categorybydate_idx`"/>
<one-to-many entity-name="DateToCategoryMapEntry"/>
</list>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.DateToCategoryMapEntryImpl" entity-name="DateToCategoryMapEntry" abstract="false" lazy="false" discriminator-value="DateToCategoryMapEntry" table="`datetocategorymapentry`">
<meta attribute="eclassName" inherit="false">DateToCategoryMapEntry</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`dtype`" index="datetocategorymapentrydtype" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
<column not-null="false" unique="false" name="`key`"/>
</property>
<property name="value" lazy="false" not-null="false" insert="true" update="true" unique="false">
<column not-null="false" unique="false" name="`value`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param>
<param name="eclassifier">Category</param>
<param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param>
</type>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToStringMapEntryImpl" entity-name="StringToStringMapEntry" abstract="false" lazy="false" discriminator-value="StringToStringMapEntry" table="`stringtostringmapentry`">
<meta attribute="eclassName" inherit="false">StringToStringMapEntry</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`dtype`" index="stringtostringmapentrydtype" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`key`"/>
</property>
<property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`value`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.StringToWriterMapEntryImpl" entity-name="StringToWriterMapEntry" abstract="false" lazy="false" discriminator-value="StringToWriterMapEntry" table="`stringtowritermapentry`">
<meta attribute="eclassName" inherit="false">StringToWriterMapEntry</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`dtype`" index="stringtowritermapentrydtype" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`key`"/>
</property>
<many-to-one name="value" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="stringtowritermapentry_value" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`writer_value_e_id`"/>
</many-to-one>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
<meta attribute="eclassName" inherit="false">Writer</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`dtype`" index="writerdtype" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.WriterToStringMapEntryImpl" entity-name="WriterToStringMapEntry" abstract="false" lazy="false" discriminator-value="WriterToStringMapEntry" table="`writertostringmapentry`">
<meta attribute="eclassName" inherit="false">WriterToStringMapEntry</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`dtype`" index="writertostringmapentrydtype" length="255" not-null="true"/>
</discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<many-to-one name="key" entity-name="Writer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="writertostringmapentry_key" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`writer_key_e_id`"/>
</many-to-one>
<property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`value`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" discriminator-value="TeneoAuditCommitInfo" table="`teneoauditcommitinfo`">
<meta attribute="eclassName" inherit="false">TeneoAuditCommitInfo</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/hibernate/auditing</meta>
<id name="id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`id`"/>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`dtype`" index="teneoauditcommitinfodtype" length="255" not-null="true"/>
</discriminator>
<version name="version" type="long">
<column not-null="true" unique="false" name="`version`"/>
</version>
<property name="user" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`user`"/>
</property>
<property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`comment`" length="2000"/>
</property>
<property name="commitTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`committime`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BookAuditing" abstract="false" lazy="false" discriminator-value="BookAuditing" table="`bookauditing`">
<meta attribute="eclassName" inherit="false">BookAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emapAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`teneo_audit_id`"/>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`dtype`" index="bookauditingdtype" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`teneo_version`"/>
</version>
<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`teneo_object_id`" unique-key="c0,c1,c2"/>
</property>
<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`teneo_owner_object_id`"/>
</property>
<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`teneo_start`" unique-key="c0"/>
</property>
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`teneo_end`" unique-key="c1"/>
</property>
<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="bookauditing_teneo_commit_info" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`teneoauditcommitinfo_teneo_commit_info_id`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
<column not-null="true" unique="false" name="`teneo_audit_kind`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
<param name="eclassifier">TeneoAuditKind</param>
<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
</type>
</property>
<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`teneo_container_id`"/>
</property>
<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`teneo_container_feature_id`"/>
</property>
<property name="teneo_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="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>
<list name="writers" lazy="true" cascade="all,delete-orphan">
<key foreign-key="bookauditing_writers_key" update="true">
<column name="`bookauditing_writers_teneo_audit_id`" unique="false"/>
</key>
<list-index column="`bookauditing_writers_idx`"/>
<one-to-many entity-name="StringToWriterMapEntryAuditing"/>
</list>
<list name="keyWords" lazy="true" cascade="all,delete-orphan">
<key foreign-key="bookauditing_keywords_key" update="true">
<column name="`bookauditing_keywords_teneo_audit_id`" unique="false"/>
</key>
<list-index column="`bookauditing_keywords_idx`"/>
<one-to-many entity-name="StringToStringMapEntryAuditing"/>
</list>
<list name="cityByWriter" lazy="true" cascade="all,delete-orphan">
<key foreign-key="bookauditing_citybywriter_key" update="true">
<column name="`bookauditing_citybywriter_teneo_audit_id`" unique="false"/>
</key>
<list-index column="`bookauditing_citybywriter_idx`"/>
<one-to-many entity-name="WriterToStringMapEntryAuditing"/>
</list>
<list name="categoryByDate" lazy="true" cascade="all,delete-orphan">
<key foreign-key="bookauditing_categorybydate_key" update="true">
<column name="`bookauditing_categorybydate_teneo_audit_id`" unique="false"/>
</key>
<list-index column="`bookauditing_categorybydate_idx`"/>
<one-to-many entity-name="DateToCategoryMapEntryAuditing"/>
</list>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StringToWriterMapEntryAuditing" abstract="false" lazy="false" discriminator-value="StringToWriterMapEntryAuditing" table="`stringtowritermapentryauditing`">
<meta attribute="eclassName" inherit="false">StringToWriterMapEntryAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emapAuditing</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="stringtowritermapentryauditingdtype" 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="stringtowritermapentryauditing_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="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`key`"/>
</property>
<property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`value`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StringToStringMapEntryAuditing" abstract="false" lazy="false" discriminator-value="StringToStringMapEntryAuditing" table="`stringtostringmapentryauditing`">
<meta attribute="eclassName" inherit="false">StringToStringMapEntryAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emapAuditing</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="stringtostringmapentryauditingdtype" 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="stringtostringmapentryauditing_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="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`key`"/>
</property>
<property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`value`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WriterToStringMapEntryAuditing" abstract="false" lazy="false" discriminator-value="WriterToStringMapEntryAuditing" table="`writertostringmapentryauditing`">
<meta attribute="eclassName" inherit="false">WriterToStringMapEntryAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emapAuditing</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="writertostringmapentryauditingdtype" 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="writertostringmapentryauditing_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="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`key`"/>
</property>
<property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`value`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DateToCategoryMapEntryAuditing" abstract="false" lazy="false" discriminator-value="DateToCategoryMapEntryAuditing" table="`datetocategorymapentryauditing`">
<meta attribute="eclassName" inherit="false">DateToCategoryMapEntryAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emapAuditing</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="datetocategorymapentryauditingdtype" 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="datetocategorymapentryauditing_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="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
<column not-null="false" unique="false" name="`key`"/>
</property>
<property name="value" lazy="false" not-null="false" insert="true" update="true" unique="false">
<column not-null="false" unique="false" name="`value`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category</param>
<param name="eclassifier">Category</param>
<param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emap</param>
</type>
</property>
</class>
<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WriterAuditing" abstract="false" lazy="false" discriminator-value="WriterAuditing" table="`writerauditing`">
<meta attribute="eclassName" inherit="false">WriterAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/emapAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`teneo_audit_id`"/>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`dtype`" index="writerauditingdtype" length="255" not-null="true"/>
</discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`teneo_version`"/>
</version>
<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`teneo_object_id`" unique-key="c0,c1,c2"/>
</property>
<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`teneo_owner_object_id`"/>
</property>
<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`teneo_start`" unique-key="c0"/>
</property>
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`teneo_end`" unique-key="c1"/>
</property>
<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="writerauditing_teneo_commit_info" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`teneoauditcommitinfo_teneo_commit_info_id`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
<column not-null="true" unique="false" name="`teneo_audit_kind`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
<param name="eclassifier">TeneoAuditKind</param>
<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
</type>
</property>
<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`teneo_container_id`"/>
</property>
<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`teneo_container_feature_id`"/>
</property>
<property name="teneo_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>
</hibernate-mapping>