| <?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:29 CEST 2007 --> |
| <hibernate-mapping auto-import="false"> |
| <class name="org.eclipse.emf.teneo.samples.issues.resource.impl.HeadImpl" entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`"> |
| <meta attribute="eclassName">Head</meta> |
| <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> |
| <id name="hair" type="java.lang.String"> |
| <column not-null="true" unique="true" name="`hair`"/> |
| </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> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.issues.resource.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> |
| <meta attribute="eclassName">Person</meta> |
| <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> |
| <id name="name" type="java.lang.String"> |
| <column not-null="true" unique="true" name="`name`"/> |
| </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> |
| <many-to-one name="head" entity-name="Head" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`head_head_hair`"/> |
| </many-to-one> |
| </class> |
| </hibernate-mapping> |