<?xml version="1.0" encoding="ISO-8859-1"?><!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" default-cascade="none" default-access="property" default-lazy="true">
&#9;<class name="org.eclipse.emf.teneo.samples.emf.annotations.secondarytablehibernate.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`PERSON`" mutable="true" polymorphism="implicit" dynamic-update="false" dynamic-insert="false" select-before-update="false" optimistic-lock="version">
&#9;&#9;<meta attribute="eclassName" inherit="true">Person</meta>
&#9;&#9;<meta attribute="epackage" inherit="true">http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytablehibernate</meta>
&#9;&#9;<id name="id" type="long" unsaved-value="0">
&#9;&#9;&#9;<column not-null="true" unique="false" name="`ID`"/>
&#9;&#9;</id>
&#9;&#9;<discriminator column="`DTYPE`" type="string" not-null="true" force="false" insert="true"/>
&#9;&#9;<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler" type="integer" unsaved-value="undefined" generated="never">
&#9;&#9;&#9;<meta attribute="syntheticVersion" inherit="true">true</meta>
&#9;&#9;</version>
&#9;&#9;<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String" optimistic-lock="true" generated="never">
&#9;&#9;&#9;<column not-null="true" unique="false" name="`NAME`"/>
&#9;&#9;</property>
&#9;&#9;<join table="`PERSON_ADDRESS`" fetch="join" inverse="false" optional="false">
&#9;&#9;&#9;<key column="`ID`" on-delete="noaction"/>
&#9;&#9;&#9;<property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text" optimistic-lock="true" generated="never">
&#9;&#9;&#9;&#9;<column not-null="false" unique="false" name="`ADDRESS`"/>
&#9;&#9;&#9;</property>
&#9;&#9;</join>
&#9;&#9;<join table="`PERSON_PHOTO`" fetch="join" inverse="false" optional="false">
&#9;&#9;&#9;<key column="`ID`" on-delete="noaction"/>
&#9;&#9;&#9;<property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary" optimistic-lock="true" generated="never">
&#9;&#9;&#9;&#9;<column not-null="false" unique="false" name="`PHOTO`" length="1000000"/>
&#9;&#9;&#9;</property>
&#9;&#9;</join>
&#9;</class>
</hibernate-mapping>