Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_a_o_hibernate.hbm.xml')
-rwxr-xr-xtests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_a_o_hibernate.hbm.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_a_o_hibernate.hbm.xml
new file mode 100755
index 000000000..a8dd01eda
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/AccountingTest$1_mysql_a_o_hibernate.hbm.xml
@@ -0,0 +1 @@
+<?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" discriminator-value="Account" table="`account`"> <meta attribute="eclassName">Account</meta> <meta attribute="epackage">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">true</meta> <generator class="native"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">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" discriminator-value="AccountGroup" table="`accountgroup`"> <meta attribute="eclassName">AccountGroup</meta> <meta attribute="epackage">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">true</meta> <generator class="native"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">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 update="true" foreign-key="accountgroup_account"> <column name="`accountgroup_account_e_id`" not-null="false" 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" discriminator-value="Accounting" table="`accounting`"> <meta attribute="eclassName">Accounting</meta> <meta attribute="epackage">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">true</meta> <generator class="native"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">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="accountGroup" lazy="true" cascade="all,delete-orphan"> <key update="true" foreign-key="accounting_accountgroup"> <column name="`accounting_accountgroup_e_id`" not-null="false" 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 update="true" foreign-key="accounting_vat"> <column name="`accounting_vat_e_id`" not-null="false" unique="false"/> </key> <list-index column="`accounting_vat_idx`"/> <one-to-many entity-name="Vat"/> </list> <many-to-one name="vatAccount" entity-name="BalanceAccount" cascade="merge,persist,save-update,lock,refresh" foreign-key="accounting_vataccount" lazy="false" 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" cascade="all" foreign-key="accounting_report" lazy="false" 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 update="true" foreign-key="accounting_journalgroup"> <column name="`accounting_journalgroup_e_id`" not-null="false" unique="false"/> </key> <list-index column="`accounting_journalgroup_idx`"/> <one-to-many entity-name="JournalGroup"/> </list> </class> <subclass name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.BalanceAccountImpl" entity-name="BalanceAccount" abstract="false" lazy="false" extends="Account" discriminator-value="BalanceAccount"> <meta attribute="eclassName">BalanceAccount</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/accounting</meta> <list name="report" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`balanceaccount_reportgroup`"> <key update="true"> <column name="`balanceaccount_e_id`" not-null="true" 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> </subclass> <class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.JournalGroupImpl" entity-name="JournalGroup" abstract="false" lazy="false" discriminator-value="JournalGroup" table="`journalgroup`"> <meta attribute="eclassName">JournalGroup</meta> <meta attribute="epackage">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">true</meta> <generator class="native"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">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 update="true" foreign-key="journalgroup_journalgroups"> <column name="`journalgroup_journalgroups_e_id`" not-null="false" 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 update="true" foreign-key="journalgroup_journalstatements"> <column name="`journalgroup_journalstatements_e_id`" not-null="false" 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" discriminator-value="JournalStatement" table="`journalstatement`"> <meta attribute="eclassName">JournalStatement</meta> <meta attribute="epackage">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">true</meta> <generator class="native"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" ac \ No newline at end of file

Back to the top