| <?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.sample.accounting.impl.AccountImpl" entity-name="Account" abstract="true" lazy="false" table="`ACCOUNT`"> |
| <meta attribute="eclassName" inherit="false">Account</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="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.sample.accounting.impl.AccountGroupImpl" entity-name="AccountGroup" abstract="false" lazy="false" table="`ACCOUNTGROUP`"> |
| <meta attribute="eclassName" inherit="false">AccountGroup</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="true" unique="false" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`NAME`"/> |
| </property> |
| <list name="account" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="ACCOUNTGROUP_ACCOUNT_KEY" update="true"> |
| <column name="`ACCOUNTGROUP_ACCOUNT_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`ACCOUNTGROUP_ACCOUNT_IDX`"/> |
| <one-to-many entity-name="Account"/> |
| </list> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountingImpl" entity-name="Accounting" abstract="false" lazy="false" table="`ACCOUNTING`"> |
| <meta attribute="eclassName" inherit="false">Accounting</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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> |
| <list name="accountGroup" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="ACCOUNTING_ACCOUNTGROUP_KEY" update="true"> |
| <column name="`ACCOUNTING_ACCOUNTGROUP_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`ACCOUNTING_ACCOUNTGROUP_IDX`"/> |
| <one-to-many entity-name="AccountGroup"/> |
| </list> |
| <list name="vat" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="ACCOUNTING_VAT_KEY" update="true"> |
| <column name="`ACCOUNTING_VAT_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`ACCOUNTING_VAT_IDX`"/> |
| <one-to-many entity-name="Vat"/> |
| </list> |
| <many-to-one name="vatAccount" entity-name="BalanceAccount" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ACCOUNTING_VATACCOUNT" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`BALANCEACCOUNT_VATACCOUNT_E_ID`"/> |
| </many-to-one> |
| <many-to-one name="report" entity-name="Report" lazy="false" cascade="all" foreign-key="ACCOUNTING_REPORT" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`REPORT_REPORT_E_ID`"/> |
| </many-to-one> |
| <list name="journalGroup" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="ACCOUNTING_JOURNALGROUP_KEY" update="true"> |
| <column name="`ACCOUNTING_JOURNALGROUP_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`ACCOUNTING_JOURNALGROUP_IDX`"/> |
| <one-to-many entity-name="JournalGroup"/> |
| </list> |
| </class> |
| <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.BalanceAccountImpl" entity-name="BalanceAccount" abstract="false" lazy="false" extends="Account" table="`BALANCEACCOUNT`"> |
| <meta attribute="eclassName" inherit="false">BalanceAccount</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</meta> |
| <key> |
| <column name="`ACCOUNT_E_ID`"/> |
| </key> |
| <list name="report" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`BALANCEACCOUNT_REPORTGROUP`"> |
| <key foreign-key="BALANCEACCOUNT_REPORT_KEY" update="true"> |
| <column name="`BALANCEACCOUNT_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`BALANCEACCOUNT_REPORT_IDX`"/> |
| <many-to-many entity-name="ReportGroup" unique="false" foreign-key="BALANCEACCOUNT_REPORT"> |
| <column name="`REPORTGROUP_E_ID`" not-null="true" unique="false"/> |
| </many-to-many> |
| </list> |
| </joined-subclass> |
| <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.JournalGroupImpl" entity-name="JournalGroup" abstract="false" lazy="false" table="`JOURNALGROUP`"> |
| <meta attribute="eclassName" inherit="false">JournalGroup</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="true" unique="false" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`NAME`"/> |
| </property> |
| <list name="journalGroups" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="JOURNALGROUP_JOURNALGROUPS_KEY" update="true"> |
| <column name="`JOURNALGROUP_JOURNALGROUPS_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`JOURNALGROUP_JOURNALGROUPS_IDX`"/> |
| <one-to-many entity-name="JournalGroup"/> |
| </list> |
| <list name="journalStatements" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="JOURNALGROUP_JOURNALSTATEMENTS_KEY" update="true"> |
| <column name="`JOURNALGROUP_JOURNALSTATEMENTS_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`JOURNALGROUP_JOURNALSTATEMENTS_IDX`"/> |
| <one-to-many entity-name="JournalStatement"/> |
| </list> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.JournalStatementImpl" entity-name="JournalStatement" abstract="false" lazy="false" table="`JOURNALSTATEMENT`"> |
| <meta attribute="eclassName" inherit="false">JournalStatement</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`DESCRIPTION`"/> |
| </property> |
| <property name="date" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> |
| <column not-null="true" unique="false" name="`DATE`"/> |
| </property> |
| <property name="amount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> |
| <column not-null="false" unique="false" name="`AMOUNT`"/> |
| </property> |
| <many-to-one name="debitAccount" entity-name="Account" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="JOURNALSTATEMENT_DEBITACCOUNT" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`ACCOUNT_DEBITACCOUNT_E_ID`"/> |
| </many-to-one> |
| <many-to-one name="creditAccount" entity-name="Account" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="JOURNALSTATEMENT_CREDITACCOUNT" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`ACCOUNT_CREDITACCOUNT_E_ID`"/> |
| </many-to-one> |
| <many-to-one name="vat" entity-name="Vat" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="JOURNALSTATEMENT_VAT" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`VAT_VAT_E_ID`"/> |
| </many-to-one> |
| </class> |
| <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.PLAccountImpl" entity-name="PLAccount" abstract="false" lazy="false" extends="Account" table="`PLACCOUNT`"> |
| <meta attribute="eclassName" inherit="false">PLAccount</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</meta> |
| <key> |
| <column name="`ACCOUNT_E_ID`"/> |
| </key> |
| </joined-subclass> |
| <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.ReportImpl" entity-name="Report" abstract="false" lazy="false" table="`REPORT`"> |
| <meta attribute="eclassName" inherit="false">Report</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="true" unique="false" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`NAME`"/> |
| </property> |
| <many-to-one name="debitReportGroup" entity-name="ReportGroup" lazy="false" cascade="all" foreign-key="REPORT_DEBITREPORTGROUP" insert="true" update="true" not-null="true" unique="true"> |
| <column not-null="true" unique="false" name="`REPORTGROUP_DEBITREPORTGROUP_E_ID`"/> |
| </many-to-one> |
| <many-to-one name="creditReportGroup" entity-name="ReportGroup" lazy="false" cascade="all" foreign-key="REPORT_CREDITREPORTGROUP" insert="true" update="true" not-null="true" unique="true"> |
| <column not-null="true" unique="false" name="`REPORTGROUP_CREDITREPORTGROUP_E_ID`"/> |
| </many-to-one> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.ReportGroupImpl" entity-name="ReportGroup" abstract="false" lazy="false" table="`REPORTGROUP`"> |
| <meta attribute="eclassName" inherit="false">ReportGroup</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="true" unique="false" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`NAME`"/> |
| </property> |
| <list name="reportGroup" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="REPORTGROUP_REPORTGROUP_KEY" update="true"> |
| <column name="`REPORTGROUP_REPORTGROUP_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`REPORTGROUP_REPORTGROUP_IDX`"/> |
| <one-to-many entity-name="ReportGroup"/> |
| </list> |
| <list name="account" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`REPORTGROUP_BALANCEACCOUNT`"> |
| <key foreign-key="REPORTGROUP_ACCOUNT_KEY" update="true"> |
| <column name="`REPORTGROUP_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`REPORTGROUP_ACCOUNT_IDX`"/> |
| <many-to-many entity-name="BalanceAccount" unique="false" foreign-key="REPORTGROUP_ACCOUNT"> |
| <column name="`BALANCEACCOUNT_E_ID`" not-null="true" unique="false"/> |
| </many-to-many> |
| </list> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.VatImpl" entity-name="Vat" abstract="false" lazy="false" table="`VAT`"> |
| <meta attribute="eclassName" inherit="false">Vat</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</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="true" unique="false" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`NAME`"/> |
| </property> |
| <property name="rate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> |
| <column not-null="false" unique="false" name="`RATE`"/> |
| </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="AccountAuditing" abstract="false" lazy="false" table="`ACCOUNTAUDITING`"> |
| <meta attribute="eclassName" inherit="false">AccountAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="ACCOUNTAUDITING_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> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AccountGroupAuditing" abstract="false" lazy="false" table="`ACCOUNTGROUPAUDITING`"> |
| <meta attribute="eclassName" inherit="false">AccountGroupAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="ACCOUNTGROUPAUDITING_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> |
| <list name="account" table="`ACCOUNTGROUPAUDITING_ACCOUNTAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="ACCOUNTGROUPAUDITING_ACCOUNT_KEY" update="true"> |
| <column name="`ACCOUNTGROUPAUDITING_ACCOUNT_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`ACCOUNTGROUPAUDITING_ACCOUNT_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AccountingAuditing" abstract="false" lazy="false" table="`ACCOUNTINGAUDITING`"> |
| <meta attribute="eclassName" inherit="false">AccountingAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="ACCOUNTINGAUDITING_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> |
| <list name="accountGroup" table="`ACCOUNTINGAUDITING_ACCOUNTGROUPAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="ACCOUNTINGAUDITING_ACCOUNTGROUP_KEY" update="true"> |
| <column name="`ACCOUNTINGAUDITING_ACCOUNTGROUP_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`ACCOUNTINGAUDITING_ACCOUNTGROUP_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <list name="vat" table="`ACCOUNTINGAUDITING_VATAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="ACCOUNTINGAUDITING_VAT_KEY" update="true"> |
| <column name="`ACCOUNTINGAUDITING_VAT_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`ACCOUNTINGAUDITING_VAT_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="vatAccount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`VATACCOUNT`"/> |
| </property> |
| <property name="report" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`REPORT`"/> |
| </property> |
| <list name="journalGroup" table="`ACCOUNTINGAUDITING_JOURNALGROUPAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="ACCOUNTINGAUDITING_JOURNALGROUP_KEY" update="true"> |
| <column name="`ACCOUNTINGAUDITING_JOURNALGROUP_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`ACCOUNTINGAUDITING_JOURNALGROUP_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| </class> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="BalanceAccountAuditing" abstract="false" lazy="false" extends="AccountAuditing" table="`BALANCEACCOUNTAUDITING`"> |
| <meta attribute="eclassName" inherit="false">BalanceAccountAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</meta> |
| <key> |
| <column name="`ACCOUNTAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| <list name="report" table="`BALANCEACCOUNTAUDITING_REPORTAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="BALANCEACCOUNTAUDITING_REPORT_KEY" update="true"> |
| <column name="`BALANCEACCOUNTAUDITING_REPORT_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`BALANCEACCOUNTAUDITING_REPORT_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| </joined-subclass> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="JournalGroupAuditing" abstract="false" lazy="false" table="`JOURNALGROUPAUDITING`"> |
| <meta attribute="eclassName" inherit="false">JournalGroupAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="JOURNALGROUPAUDITING_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> |
| <list name="journalGroups" table="`JOURNALGROUPAUDITING_JOURNALGROUPSAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="JOURNALGROUPAUDITING_JOURNALGROUPS_KEY" update="true"> |
| <column name="`JOURNALGROUPAUDITING_JOURNALGROUPS_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`JOURNALGROUPAUDITING_JOURNALGROUPS_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <list name="journalStatements" table="`JOURNALGROUPAUDITING_JOURNALSTATEMENTSAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="JOURNALGROUPAUDITING_JOURNALSTATEMENTS_KEY" update="true"> |
| <column name="`JOURNALGROUPAUDITING_JOURNALSTATEMENTS_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`JOURNALGROUPAUDITING_JOURNALSTATEMENTS_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="JournalStatementAuditing" abstract="false" lazy="false" table="`JOURNALSTATEMENTAUDITING`"> |
| <meta attribute="eclassName" inherit="false">JournalStatementAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="JOURNALSTATEMENTAUDITING_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="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`DESCRIPTION`"/> |
| </property> |
| <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`DATE`"/> |
| </property> |
| <property name="amount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> |
| <column not-null="false" unique="false" name="`AMOUNT`"/> |
| </property> |
| <property name="debitAccount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`DEBITACCOUNT`"/> |
| </property> |
| <property name="creditAccount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CREDITACCOUNT`"/> |
| </property> |
| <property name="vat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`VAT`"/> |
| </property> |
| </class> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PLAccountAuditing" abstract="false" lazy="false" extends="AccountAuditing" table="`PLACCOUNTAUDITING`"> |
| <meta attribute="eclassName" inherit="false">PLAccountAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</meta> |
| <key> |
| <column name="`ACCOUNTAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| </joined-subclass> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ReportAuditing" abstract="false" lazy="false" table="`REPORTAUDITING`"> |
| <meta attribute="eclassName" inherit="false">ReportAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="REPORTAUDITING_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> |
| <property name="debitReportGroup" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`DEBITREPORTGROUP`"/> |
| </property> |
| <property name="creditReportGroup" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CREDITREPORTGROUP`"/> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ReportGroupAuditing" abstract="false" lazy="false" table="`REPORTGROUPAUDITING`"> |
| <meta attribute="eclassName" inherit="false">ReportGroupAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="REPORTGROUPAUDITING_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> |
| <list name="reportGroup" table="`REPORTGROUPAUDITING_REPORTGROUPAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="REPORTGROUPAUDITING_REPORTGROUP_KEY" update="true"> |
| <column name="`REPORTGROUPAUDITING_REPORTGROUP_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`REPORTGROUPAUDITING_REPORTGROUP_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <list name="account" table="`REPORTGROUPAUDITING_ACCOUNTAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="REPORTGROUPAUDITING_ACCOUNT_KEY" update="true"> |
| <column name="`REPORTGROUPAUDITING_ACCOUNT_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`REPORTGROUPAUDITING_ACCOUNT_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VatAuditing" abstract="false" lazy="false" table="`VATAUDITING`"> |
| <meta attribute="eclassName" inherit="false">VatAuditing</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/accountingAuditing</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="VATAUDITING_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> |
| <property name="rate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float"> |
| <column not-null="false" unique="false" name="`RATE`"/> |
| </property> |
| </class> |
| </hibernate-mapping> |