Skip to main content
summaryrefslogtreecommitdiffstats
blob: 5c412ea2fb077009a3944dddd8986fa004debfb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?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 Sun Mar 18 23:26:46 CET 2007 -->
<hibernate-mapping>
	<class 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="false" 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 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="false" 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>

Back to the top