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.hibernate.test.emf.annotations/AnyAction_hsqldb_h_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_hsqldb_h_o_hibernate.hbm.xml99
1 files changed, 99 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_hsqldb_h_o_hibernate.hbm.xml
new file mode 100644
index 000000000..cca38cc37
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/AnyAction_hsqldb_h_o_hibernate.hbm.xml
@@ -0,0 +1,99 @@
+<?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.annotations.any.impl.AnyObjectImpl" entity-name="AnyObject" abstract="false" lazy="false" discriminator-value="AnyObject" table="`ANYOBJECT`">
+ <meta attribute="eclassName" inherit="false">AnyObject</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta>
+ <id name="id" type="java.lang.String">
+ <column not-null="true" unique="false" name="`ID`"/>
+ </id>
+ <discriminator type="string">
+ <column name="`DTYPE`" index="ANYOBJECTDTYPE" 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="globalInt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`GLOBALINT`"/>
+ </property>
+ <property name="globalString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`GLOBALSTRING`"/>
+ </property>
+ <any id-type="string" meta-type="string" name="anyOne" cascade="all">
+ <column not-null="false" unique="false" name="`ANY_TYPE`"/>
+ <column not-null="false" unique="false" name="`ANYONE_ID`"/>
+ </any>
+ <list name="any" table="`ANYOBJECT_ANY`" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`ANYOBJECT_ANY_ID`" unique="false"/>
+ </key>
+ <list-index column="`ANYOBJECT_ANY_IDX`"/>
+ <one-to-many entity-name="AnyObject_any"/>
+ </list>
+ <list name="group" table="`ANYOBJECT_GROUP`" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`ANYOBJECT_GROUP_ID`" unique="false"/>
+ </key>
+ <list-index column="`ANYOBJECT_GROUP_IDX`"/>
+ <one-to-many entity-name="AnyObject_group"/>
+ </list>
+ </class>
+ <class entity-name="AnyObject_any" lazy="false" table="`ANYOBJECT_ANY`">
+ <meta attribute="featureMap" inherit="false">AnyObject</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="any_fme_any_data" type="java.lang.String"/>
+ <any id-type="string" meta-type="string" name="any_fme_any_reference" cascade="all">
+ <column not-null="false" unique="false" name="`ANY_TYPE`"/>
+ <column not-null="false" unique="false" name="`ANY_ID`"/>
+ </any>
+ </class>
+ <class entity-name="AnyObject_group" lazy="false" table="`ANYOBJECT_GROUP`">
+ <meta attribute="featureMap" inherit="false">AnyObject</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="any1" entity-name="AnyObject_any1" cascade="all" not-null="false"/>
+ </class>
+ <class entity-name="AnyObject_any1" lazy="false" table="`ANYOBJECT_ANY1`">
+ <meta attribute="featureMap" inherit="false">AnyObject</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="any1_fme_any_data" type="java.lang.String"/>
+ <any id-type="string" meta-type="string" name="any1_fme_any_reference" cascade="all">
+ <column not-null="false" unique="false" name="`ANY_TYPE`"/>
+ <column not-null="false" unique="false" name="`ANY1_ID`"/>
+ </any>
+ </class>
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl" entity-name="GlobalObjectType" abstract="false" lazy="false" discriminator-value="GlobalObjectType" table="`GLOBALOBJECTTYPE`">
+ <meta attribute="eclassName" inherit="false">GlobalObjectType</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta>
+ <id name="id" type="java.lang.String">
+ <column not-null="true" unique="false" name="`ID`"/>
+ </id>
+ <discriminator type="string">
+ <column name="`DTYPE`" index="GLOBALOBJECTTYPEDTYPE" 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>
+ </class>
+</hibernate-mapping> \ No newline at end of file

Back to the top