blob: fdcc69bd2323197642fedbc67695d023de90fac7 [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">
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.issues.bz292151.impl.BaseImpl" entity-name="Base" abstract="false" lazy="true" table="`base`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Base">
<meta attribute="eclassName">Base</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</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>
</class>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz292151.impl.Sub1Impl" entity-name="Sub1" abstract="false" lazy="true" extends="Base" table="`sub1`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Sub1">
<meta attribute="eclassName">Sub1</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</meta>
<key>
<column name="`base_e_id`"/>
</key>
<property name="a1" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`a1`"/>
</property>
</joined-subclass>
<joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz292151.impl.Sub2Impl" entity-name="Sub2" abstract="false" lazy="true" extends="Base" table="`sub2`" proxy="org.eclipse.emf.teneo.samples.issues.bz292151.Sub2">
<meta attribute="eclassName">Sub2</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz292151</meta>
<key>
<column name="`base_e_id`"/>
</key>
<many-to-one name="a1" entity-name="Sub1" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="sub2_a1" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`sub1_a1_e_id`"/>
</many-to-one>
</joined-subclass>
</hibernate-mapping>