Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_hsqldb_h_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_hsqldb_h_o_hibernate.hbm.xml84
1 files changed, 84 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_hsqldb_h_o_hibernate.hbm.xml
new file mode 100644
index 000000000..f2206ad00
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/SubstitutionzvonAction_hsqldb_h_o_hibernate.hbm.xml
@@ -0,0 +1,84 @@
+<?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.schemaconstructs.substitutionzvon.impl.ComplexAAAImpl" entity-name="ComplexAAA" abstract="false" lazy="false" discriminator-value="ComplexAAA" table="`COMPLEXAAA`">
+ <meta attribute="eclassName" inherit="false">ComplexAAA</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId" inherit="false">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator type="string">
+ <column name="`DTYPE`" index="COMPLEXAAADTYPE" length="255" not-null="true"/>
+ </discriminator>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion" inherit="false">true</meta>
+ </version>
+ <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
+ <column not-null="false" unique="false" name="`VALUE`"/>
+ </property>
+ </class>
+ <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexEvenTypeImpl" entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexEvenType">
+ <meta attribute="eclassName" inherit="false">ComplexEvenType</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta>
+ </subclass>
+ <subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexOddTypeImpl" entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexOddType">
+ <meta attribute="eclassName" inherit="false">ComplexOddType</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta>
+ </subclass>
+ <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.RootTypeImpl" entity-name="RootType" abstract="false" lazy="false" discriminator-value="RootType" table="`ROOTTYPE`">
+ <meta attribute="eclassName" inherit="false">RootType</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId" inherit="false">true</meta>
+ <generator class="native"/>
+ </id>
+ <discriminator type="string">
+ <column name="`DTYPE`" index="ROOTTYPEDTYPE" length="255" not-null="true"/>
+ </discriminator>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion" inherit="false">true</meta>
+ </version>
+ <list name="myAbstractGroup" table="`ROOTTYPE_MYABSTRACTGROUP`" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`ROOTTYPE_MYABSTRACTGROUP_E_ID`" unique="false"/>
+ </key>
+ <list-index column="`ROOTTYPE_MYABSTRACTGROUP_IDX`"/>
+ <one-to-many entity-name="RootType_myAbstractGroup"/>
+ </list>
+ <list name="myComplexAbstractGroup" table="`ROOTTYPE_MYCOMPLEXABSTRACTGROUP`" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`ROOTTYPE_MYCOMPLEXABSTRACTGROUP_E_ID`" unique="false"/>
+ </key>
+ <list-index column="`ROOTTYPE_MYCOMPLEXABSTRACTGROUP_IDX`"/>
+ <one-to-many entity-name="RootType_myComplexAbstractGroup"/>
+ </list>
+ </class>
+ <class entity-name="RootType_myAbstractGroup" lazy="false" table="`ROOTTYPE_MYABSTRACTGROUP`">
+ <meta attribute="featureMap" inherit="false">RootType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion" inherit="false">true</meta>
+ </version>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="myAbstract" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger">
+ <column not-null="false" unique="false" name="`MYABSTRACTGROUP_MYABSTRACT`"/>
+ </property>
+ </class>
+ <class entity-name="RootType_myComplexAbstractGroup" lazy="false" table="`ROOTTYPE_MYCOMPLEXABSTRACTGROUP`">
+ <meta attribute="featureMap" inherit="false">RootType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion" inherit="false">true</meta>
+ </version>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="myComplexAbstract" entity-name="ComplexAAA" lazy="false" cascade="all" foreign-key="ROOTTYPE_MYCOMPLEXABSTRACT" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`MYCOMPLEXABSTRACTGROUP_COMPLEXAAA_MYCOMPLEXABSTRACT_E_ID`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file

Back to the top