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/NestedGroupAction_hsqldb_h_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_hsqldb_h_o_hibernate.hbm.xml128
1 files changed, 128 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_hsqldb_h_o_hibernate.hbm.xml
new file mode 100644
index 000000000..62b475a6d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.schemaconstructs/NestedGroupAction_hsqldb_h_o_hibernate.hbm.xml
@@ -0,0 +1,128 @@
+<?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.nestedgroup.impl.AImpl" entity-name="A" abstract="false" lazy="false" discriminator-value="A" table="`A`">
+ <meta attribute="eclassName" inherit="false">A</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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="ADTYPE" length="255" not-null="true"/>
+ </discriminator>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion" inherit="false">true</meta>
+ </version>
+ <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`NAME`"/>
+ </property>
+ <list name="group" table="`A_GROUP`" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`A_GROUP_E_ID`" unique="false"/>
+ </key>
+ <list-index column="`A_GROUP_IDX`"/>
+ <one-to-many entity-name="A_group"/>
+ </list>
+ </class>
+ <class entity-name="A_group" lazy="false" table="`A_GROUP`">
+ <meta attribute="featureMap" inherit="false">A</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="b" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`GROUP_B`"/>
+ </property>
+ <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="A_C" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`GROUP_CTYPE_C_E_ID`"/>
+ </many-to-one>
+ </class>
+ <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.CTypeImpl" entity-name="CType" abstract="false" lazy="false" discriminator-value="CType" table="`CTYPE`">
+ <meta attribute="eclassName" inherit="false">CType</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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="CTYPEDTYPE" 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="cname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
+ <column not-null="true" unique="false" name="`CNAME`"/>
+ </property>
+ <property name="cvalue" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`CVALUE`"/>
+ </property>
+ </class>
+ <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.ElementImpl" entity-name="Element" abstract="false" lazy="false" discriminator-value="Element" table="`ELEMENT`">
+ <meta attribute="eclassName" inherit="false">Element</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/nestedgroup</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="ELEMENTDTYPE" 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="mixed" table="`ELEMENT_MIXED`" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`ELEMENT_MIXED_E_ID`" unique="false"/>
+ </key>
+ <list-index column="`ELEMENT_MIXED_IDX`"/>
+ <one-to-many entity-name="Element_mixed"/>
+ </list>
+ </class>
+ <class entity-name="Element_mixed" lazy="false" table="`ELEMENT_MIXED`">
+ <meta attribute="featureMap" inherit="false">Element</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="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`MIXED_NAME`"/>
+ </property>
+ <list name="true" table="`MIXED_ELEMENT_TRUE`" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`MIXED_ELEMENT_TRUE_E_ID`" unique="false"/>
+ </key>
+ <list-index column="`MIXED_ELEMENT_TRUE_IDX`"/>
+ <one-to-many entity-name="Element_true"/>
+ </list>
+ <many-to-one name="c" entity-name="CType" lazy="false" cascade="all" foreign-key="ELEMENT_C" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`MIXED_CTYPE_C_E_ID`"/>
+ </many-to-one>
+ <many-to-one name="recursive" entity-name="Element" lazy="false" cascade="all" foreign-key="ELEMENT_RECURSIVE" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`MIXED_ELEMENT_RECURSIVE_E_ID`"/>
+ </many-to-one>
+ <property name="fme_mixed_text" type="java.lang.String"/>
+ <property name="fme_mixed_cdata" type="java.lang.String"/>
+ <property name="fme_mixed_comment" type="java.lang.String"/>
+ </class>
+ <class entity-name="Element_true" lazy="false" table="`ELEMENT_TRUE`">
+ <meta attribute="featureMap" inherit="false">Element</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="c" entity-name="CType" lazy="false" cascade="all" foreign-key="ELEMENT_C" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`TRUE_CTYPE_C_E_ID`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file

Back to the top