diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MultipleInheritanceAction/mysql_a_o/hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MultipleInheritanceAction/mysql_a_o/hibernate.hbm.xml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MultipleInheritanceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MultipleInheritanceAction/mysql_a_o/hibernate.hbm.xml new file mode 100644 index 000000000..ebc5cd5d9 --- /dev/null +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MultipleInheritanceAction/mysql_a_o/hibernate.hbm.xml @@ -0,0 +1,74 @@ +<?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"> + +<!-- Generated by Teneo on Sun Mar 18 23:26:44 CET 2007 --> +<hibernate-mapping> + <class entity-name="SomeBaseClass" abstract="false" lazy="false" discriminator-value="SomeBaseClass" table="`somebaseclass`"> + <meta attribute="eclassName">SomeBaseClass</meta> + <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</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="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`anotherproperty`"/> + </property> + </class> + <subclass entity-name="SomeResource" abstract="false" lazy="false" extends="SomeBaseClass" discriminator-value="SomeResource"> + <meta attribute="eclassName">SomeResource</meta> + <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</meta> + <property name="property" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`property`"/> + </property> + <list name="nameValuePairs" lazy="true" cascade="merge,persist,save-update,lock,refresh"> + <key update="true"> + <column name="`someresource_namevaluepairs_e_id`" not-null="false" unique="false"/> + </key> + <list-index column="`someresource_namevaluepairs_idx`"/> + <one-to-many entity-name="NameValuePair"/> + </list> + </subclass> + <class entity-name="SomeOtherBaseClass" abstract="false" lazy="false" discriminator-value="SomeOtherBaseClass"> + <meta attribute="eclassName">SomeOtherBaseClass</meta> + <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</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> + <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> + <meta attribute="syntheticVersion">true</meta> + </version> + <property name="property" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`property`"/> + </property> + <list name="nameValuePairs" lazy="true" cascade="merge,persist,save-update,lock,refresh"> + <key update="true"> + <column name="`someotherbaseclass_namevaluepairs_e_id`" not-null="false" unique="false"/> + </key> + <list-index column="`someotherbaseclass_namevaluepairs_idx`"/> + <one-to-many entity-name="NameValuePair"/> + </list> + </class> + <class entity-name="NameValuePair" abstract="false" lazy="false" discriminator-value="NameValuePair" table="`namevaluepair`"> + <meta attribute="eclassName">NameValuePair</meta> + <meta attribute="epackage">http://xsd.tns.example.com/testinheritance/model</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="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`name`"/> + </property> + <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`value`"/> + </property> + </class> +</hibernate-mapping>
\ No newline at end of file |