Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c3e67b58f8901ecaaca9db0213f8f02b700d01eb (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
<?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 Mon Feb 05 12:51:53 CET 2007 -->
<hibernate-mapping>
	<class entity-name="Body" abstract="false" lazy="false" table="`body`">
		<meta attribute="eclassName">Body</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta>
		<id name="theID" type="long">
			<column not-null="true" unique="false" name="`theid`"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion">true</meta>
		</version>
		<one-to-one name="head" entity-name="Head" cascade="all" lazy="false" constrained="true"/>
	</class>
	<class entity-name="Head" abstract="false" lazy="false" table="`head`">
		<meta attribute="eclassName">Head</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta>
		<id name="myID" type="long">
			<column not-null="true" unique="false" name="`myid`"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion">true</meta>
		</version>
	</class>
</hibernate-mapping>

Back to the top