blob: c3f1bfc9b4b214c952cd06ec6b4eae915be77b65 [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:22 CEST 2007 -->
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.ThingImpl" entity-name="Thing" abstract="false" lazy="false" table="`thing`">
<meta attribute="eclassName">Thing</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
<id name="name" type="java.lang.String">
<column not-null="true" unique="true" name="`name`"/>
</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="things" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
<column name="`thing_things_name`" not-null="false" unique="false"/>
</key>
<list-index column="`thing_things_idx`"/>
<one-to-many entity-name="SubThing"/>
</list>
</class>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.AnnotationImpl" entity-name="Annotation" abstract="false" lazy="false" extends="Thing" table="`annotation`">
<meta attribute="eclassName">Annotation</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
<key>
<column name="`thing_name`"/>
</key>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.InterestImpl" entity-name="Interest" abstract="false" lazy="false" extends="Thing" table="`interest`">
<meta attribute="eclassName">Interest</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
<key>
<column name="`thing_name`"/>
</key>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubOneImpl" entity-name="SubOne" abstract="false" lazy="false" extends="Annotation" table="`subone`">
<meta attribute="eclassName">SubOne</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
<key>
<column name="`annotation_name`"/>
</key>
</joined-subclass>
<class name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubThingImpl" entity-name="SubThing" abstract="false" lazy="false" table="`subthing`">
<meta attribute="eclassName">SubThing</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
<id name="name" type="java.lang.String">
<column not-null="true" unique="true" name="`name`"/>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
</class>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubTwoImpl" entity-name="SubTwo" abstract="false" lazy="false" extends="Annotation" table="`subtwo`">
<meta attribute="eclassName">SubTwo</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
<key>
<column name="`annotation_name`"/>
</key>
</joined-subclass>
</hibernate-mapping>