| <?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"> |
| <typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> |
| <param name="edatatype">SimpleEnumObject</param> |
| </typedef> |
| <typedef name="simpletypes.StringArray" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> |
| <param name="edatatype">StringArray</param> |
| </typedef> |
| <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleListImpl" entity-name="SimpleList" abstract="false" lazy="false" table="`SIMPLELIST`"> |
| <meta attribute="eclassName" inherit="false">SimpleList</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CODE`"/> |
| </property> |
| <list name="boo" table="`SIMPLELIST_BOO`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_BOO_KEY" update="true"> |
| <column name="`SIMPLELIST_BOO_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_BOO_IDX`"/> |
| <element type="boolean"/> |
| </list> |
| <list name="byt" table="`SIMPLELIST_BYT`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_BYT_KEY" update="true"> |
| <column name="`SIMPLELIST_BYT_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_BYT_IDX`"/> |
| <element type="java.lang.Byte"/> |
| </list> |
| <list name="doubl" table="`SIMPLELIST_DOUBL`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_DOUBL_KEY" update="true"> |
| <column name="`SIMPLELIST_DOUBL_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_DOUBL_IDX`"/> |
| <element type="java.lang.Double"/> |
| </list> |
| <list name="floa" table="`SIMPLELIST_FLOA`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_FLOA_KEY" update="true"> |
| <column name="`SIMPLELIST_FLOA_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_FLOA_IDX`"/> |
| <element type="java.lang.Float"/> |
| </list> |
| <list name="inte" fetch="subselect" batch-size="10" table="`SIMPLELIST_INTE`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_INTE_KEY" update="true"> |
| <column name="`SIMPLELIST_INTE_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_INTE_IDX`"/> |
| <element type="java.lang.Integer"/> |
| </list> |
| <list name="long" table="`LONGNUM`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_LONG_KEY" update="true"> |
| <column name="`SIMPLELIST_LONG_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_LONG_IDX`"/> |
| <element type="java.lang.Long"/> |
| </list> |
| <list name="shor" table="`SIMPLELIST_SHOR`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_SHOR_KEY" update="true"> |
| <column name="`SIMPLELIST_SHOR_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_SHOR_IDX`"/> |
| <element type="short"/> |
| </list> |
| <list name="enu" table="`SIMPLELIST_ENU`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_ENU_KEY" update="true"> |
| <column name="`SIMPLELIST_ENU_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_ENU_IDX`"/> |
| <element> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> |
| <param name="eclassifier">SimpleEnum</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> |
| </type> |
| </element> |
| </list> |
| <list name="dat" table="`SIMPLELIST_DAT`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_DAT_KEY" update="true"> |
| <column name="`SIMPLELIST_DAT_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_DAT_IDX`"/> |
| <element type="timestamp"/> |
| </list> |
| <list name="limitedstring" table="`SIMPLELIST_LIMITEDSTRING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_LIMITEDSTRING_KEY" update="true"> |
| <column name="`SIMPLELIST_LIMITEDSTRING_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_LIMITEDSTRING_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <list name="stri" table="`SIMPLELIST_STRI`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELIST_STRI_KEY" update="true"> |
| <column name="`SIMPLELIST_STRI_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_STRI_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <array name="intArray" table="`SIMPLELIST_INTARRAY`" cascade="all"> |
| <key foreign-key="SIMPLELIST_INTARRAY_KEY" update="true"> |
| <column name="`SIMPLELIST_INTARRAY_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_INTARRAY_IDX`"/> |
| <element type="int"/> |
| </array> |
| <array name="doubleArray" table="`SIMPLELIST_DOUBLEARRAY`" cascade="all"> |
| <key foreign-key="SIMPLELIST_DOUBLEARRAY_KEY" update="true"> |
| <column name="`SIMPLELIST_DOUBLEARRAY_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_DOUBLEARRAY_IDX`"/> |
| <element type="double"/> |
| </array> |
| <property name="stringArray" lazy="false" insert="true" update="true" not-null="true" unique="false" type="simpletypes.StringArray"> |
| <column not-null="true" unique="false" name="`STRINGARRAY`"/> |
| </property> |
| <array name="byteArray" table="`SIMPLELIST_BYTEARRAY`" cascade="all"> |
| <key foreign-key="SIMPLELIST_BYTEARRAY_KEY" update="true"> |
| <column name="`SIMPLELIST_BYTEARRAY_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELIST_BYTEARRAY_IDX`"/> |
| <element type="byte"/> |
| </array> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeImpl" entity-name="SimpleType" abstract="false" lazy="false" table="`SIMPLETYPE`"> |
| <meta attribute="eclassName" inherit="false">SimpleType</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CODE`"/> |
| </property> |
| <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`BOO`"/> |
| </property> |
| <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> |
| <column not-null="false" unique="false" name="`BYT`"/> |
| </property> |
| <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> |
| <column not-null="false" unique="false" name="`DOUBL`"/> |
| </property> |
| <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> |
| <column not-null="false" unique="false" name="`FLOAT`"/> |
| </property> |
| <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`INTE`"/> |
| </property> |
| <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`LON`"/> |
| </property> |
| <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="short"> |
| <column not-null="false" unique="false" name="`SHOR`"/> |
| </property> |
| <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false"> |
| <column not-null="false" unique="false" name="`ENU`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> |
| <param name="eclassifier">SimpleEnum</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> |
| </type> |
| </property> |
| <property name="dat" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> |
| <column not-null="true" unique="false" name="`DAT`"/> |
| </property> |
| <property name="limitedstring" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`LIMITEDSTRING`" length="10"/> |
| </property> |
| <property name="limitedDecimal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> |
| <column not-null="false" unique="false" name="`LIMITEDDECIMAL`" precision="4" scale="1"/> |
| </property> |
| <property name="extraLimitedString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`EXTRALIMITEDSTRING`" length="5"/> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleTypeObjectImpl" entity-name="SimpleTypeObject" abstract="false" lazy="false" table="`SIMPLETYPEOBJECT`"> |
| <meta attribute="eclassName" inherit="false">SimpleTypeObject</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CODE`"/> |
| </property> |
| <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Boolean"> |
| <column not-null="false" unique="false" name="`BOO`"/> |
| </property> |
| <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Byte"> |
| <column not-null="false" unique="false" name="`BYT`"/> |
| </property> |
| <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Double"> |
| <column not-null="false" unique="false" name="`DOUBL`"/> |
| </property> |
| <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Float"> |
| <column not-null="false" unique="false" name="`FLOAT`"/> |
| </property> |
| <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer"> |
| <column not-null="false" unique="false" name="`INTE`"/> |
| </property> |
| <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> |
| <column not-null="false" unique="false" name="`LON`"/> |
| </property> |
| <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Short"> |
| <column not-null="false" unique="false" name="`SHOR`"/> |
| </property> |
| <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false" type="simpletypes.SimpleEnumObject"> |
| <column not-null="false" unique="false" name="`ENU`"/> |
| </property> |
| <property name="dat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`DAT`"/> |
| </property> |
| </class> |
| <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="SimpleListAuditing" abstract="false" lazy="false" table="`SIMPLELISTAUDITING`"> |
| <meta attribute="eclassName" inherit="false">SimpleListAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypesAuditing</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="SIMPLELISTAUDITING_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="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CODE`"/> |
| </property> |
| <list name="boo" table="`SIMPLELISTAUDITING_BOOAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_BOO_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_BOO_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_BOO_IDX`"/> |
| <element type="boolean"/> |
| </list> |
| <list name="byt" table="`SIMPLELISTAUDITING_BYTAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_BYT_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_BYT_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_BYT_IDX`"/> |
| <element type="java.lang.Byte"/> |
| </list> |
| <list name="doubl" table="`SIMPLELISTAUDITING_DOUBLAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_DOUBL_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_DOUBL_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_DOUBL_IDX`"/> |
| <element type="java.lang.Double"/> |
| </list> |
| <list name="floa" table="`SIMPLELISTAUDITING_FLOAAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_FLOA_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_FLOA_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_FLOA_IDX`"/> |
| <element type="java.lang.Float"/> |
| </list> |
| <list name="inte" table="`SIMPLELISTAUDITING_INTEAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_INTE_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_INTE_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_INTE_IDX`"/> |
| <element type="java.lang.Integer"/> |
| </list> |
| <list name="long" table="`SIMPLELISTAUDITING_LONGAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_LONG_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_LONG_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_LONG_IDX`"/> |
| <element type="java.lang.Long"/> |
| </list> |
| <list name="shor" table="`SIMPLELISTAUDITING_SHORAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_SHOR_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_SHOR_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_SHOR_IDX`"/> |
| <element type="short"/> |
| </list> |
| <list name="enu" table="`SIMPLELISTAUDITING_ENUAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_ENU_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_ENU_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_ENU_IDX`"/> |
| <element> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> |
| <param name="eclassifier">SimpleEnum</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> |
| </type> |
| </element> |
| </list> |
| <list name="dat" table="`SIMPLELISTAUDITING_DATAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_DAT_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_DAT_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_DAT_IDX`"/> |
| <element type="timestamp"/> |
| </list> |
| <list name="limitedstring" table="`SIMPLELISTAUDITING_LIMITEDSTRINGAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_LIMITEDSTRING_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_LIMITEDSTRING_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_LIMITEDSTRING_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <list name="stri" table="`SIMPLELISTAUDITING_STRIAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_STRI_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_STRI_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_STRI_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <array name="intArray" table="`SIMPLELISTAUDITING_INTARRAYAUDITING`" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_INTARRAY_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_INTARRAY_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_INTARRAY_IDX`"/> |
| <element type="int"/> |
| </array> |
| <array name="doubleArray" table="`SIMPLELISTAUDITING_DOUBLEARRAYAUDITING`" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_DOUBLEARRAY_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_DOUBLEARRAY_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_DOUBLEARRAY_IDX`"/> |
| <element type="double"/> |
| </array> |
| <property name="stringArray" lazy="false" insert="true" update="true" not-null="false" unique="false" type="simpletypes.StringArray"> |
| <column not-null="false" unique="false" name="`STRINGARRAY`"/> |
| </property> |
| <array name="byteArray" table="`SIMPLELISTAUDITING_BYTEARRAYAUDITING`" cascade="all"> |
| <key foreign-key="SIMPLELISTAUDITING_BYTEARRAY_KEY" update="true"> |
| <column name="`SIMPLELISTAUDITING_BYTEARRAY_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`SIMPLELISTAUDITING_BYTEARRAY_IDX`"/> |
| <element type="byte"/> |
| </array> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SimpleTypeAuditing" abstract="false" lazy="false" table="`SIMPLETYPEAUDITING`"> |
| <meta attribute="eclassName" inherit="false">SimpleTypeAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypesAuditing</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="SIMPLETYPEAUDITING_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="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CODE`"/> |
| </property> |
| <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`BOO`"/> |
| </property> |
| <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte"> |
| <column not-null="false" unique="false" name="`BYT`"/> |
| </property> |
| <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double"> |
| <column not-null="false" unique="false" name="`DOUBL`"/> |
| </property> |
| <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> |
| <column not-null="false" unique="false" name="`FLOAT`"/> |
| </property> |
| <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`INTE`"/> |
| </property> |
| <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`LON`"/> |
| </property> |
| <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="short"> |
| <column not-null="false" unique="false" name="`SHOR`"/> |
| </property> |
| <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false"> |
| <column not-null="false" unique="false" name="`ENU`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> |
| <param name="eclassifier">SimpleEnum</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> |
| </type> |
| </property> |
| <property name="dat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`DAT`"/> |
| </property> |
| <property name="limitedstring" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`LIMITEDSTRING`" length="10"/> |
| </property> |
| <property name="limitedDecimal" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal"> |
| <column not-null="false" unique="false" name="`LIMITEDDECIMAL`" precision="4" scale="1"/> |
| </property> |
| <property name="extraLimitedString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`EXTRALIMITEDSTRING`" length="5"/> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SimpleTypeObjectAuditing" abstract="false" lazy="false" table="`SIMPLETYPEOBJECTAUDITING`"> |
| <meta attribute="eclassName" inherit="false">SimpleTypeObjectAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypesAuditing</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="SIMPLETYPEOBJECTAUDITING_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="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CODE`"/> |
| </property> |
| <property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Boolean"> |
| <column not-null="false" unique="false" name="`BOO`"/> |
| </property> |
| <property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Byte"> |
| <column not-null="false" unique="false" name="`BYT`"/> |
| </property> |
| <property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Double"> |
| <column not-null="false" unique="false" name="`DOUBL`"/> |
| </property> |
| <property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Float"> |
| <column not-null="false" unique="false" name="`FLOAT`"/> |
| </property> |
| <property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer"> |
| <column not-null="false" unique="false" name="`INTE`"/> |
| </property> |
| <property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> |
| <column not-null="false" unique="false" name="`LON`"/> |
| </property> |
| <property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Short"> |
| <column not-null="false" unique="false" name="`SHOR`"/> |
| </property> |
| <property name="dat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`DAT`"/> |
| </property> |
| </class> |
| </hibernate-mapping> |