blob: 41c1b06810822ff9701ea61832de8a01587a8f7b [file] [log] [blame]
<?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 Wed Jul 18 20:43:16 CEST 2007 -->
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexAAAImpl" entity-name="ComplexAAA" abstract="false" lazy="false" table="`complexaaa`">
<meta attribute="eclassName">ComplexAAA</meta>
<meta attribute="epackage">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">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="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`value`"/>
</property>
</class>
<joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexEvenTypeImpl" entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" table="`complexeventype`">
<meta attribute="eclassName">ComplexEvenType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta>
<key>
<column name="`complexaaa_e_id`"/>
</key>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexOddTypeImpl" entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" table="`complexoddtype`">
<meta attribute="eclassName">ComplexOddType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/substitutionzvon</meta>
<key>
<column name="`complexaaa_e_id`"/>
</key>
</joined-subclass>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.RootTypeImpl" entity-name="RootType" abstract="false" lazy="false" table="`roottype`">
<meta attribute="eclassName">RootType</meta>
<meta attribute="epackage">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">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>
<list name="myAbstractGroup" table="`roottype_myabstractgroup`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`roottype_myabstractgroup_e_id`" not-null="false" 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`" not-null="false" 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">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">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="`myabstract`"/>
</property>
</class>
<class entity-name="RootType_myComplexAbstractGroup" lazy="false" table="`roottype_mycomplexabstractgroup`">
<meta attribute="featureMap">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">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<many-to-one name="myComplexAbstract" entity-name="ComplexAAA" cascade="all" lazy="false" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`complexaaa_mycomplexabstract_e_id`"/>
</many-to-one>
</class>
</hibernate-mapping>