Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: fe1021eb2b6c43a65fa3522bd0ec110e31ac27f3 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?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 16:49:11 CEST 2007 -->
<hibernate-mapping auto-import="false">
	<class name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.ThingImpl" entity-name="Thing" abstract="false" lazy="false" table="`thing`">
		<meta attribute="eclassName">Thing</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
		<id name="name" type="java.lang.String">
			<column not-null="true" unique="true" name="`name`"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion">true</meta>
		</version>
		<list name="things" lazy="true" cascade="merge,persist,save-update,lock,refresh">
			<key update="true">
				<column name="`thing_things_name`" not-null="false" unique="false"/>
			</key>
			<list-index column="`thing_things_idx`"/>
			<one-to-many entity-name="SubThing"/>
		</list>
	</class>
	<joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.AnnotationImpl" entity-name="Annotation" abstract="false" lazy="false" extends="Thing" table="`annotation`">
		<meta attribute="eclassName">Annotation</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
		<key>
			<column name="`thing_name`"/>
		</key>
	</joined-subclass>
	<joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.InterestImpl" entity-name="Interest" abstract="false" lazy="false" extends="Thing" table="`interest`">
		<meta attribute="eclassName">Interest</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
		<key>
			<column name="`thing_name`"/>
		</key>
	</joined-subclass>
	<joined-subclass name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubOneImpl" entity-name="SubOne" abstract="false" lazy="false" extends="Annotation" table="`subone`">
		<meta attribute="eclassName">SubOne</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
		<key>
			<column name="`annotation_name`"/>
		</key>
	</joined-subclass>
	<class name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.SubThingImpl" entity-name="SubThing" abstract="false" lazy="false" table="`subthing`">
		<meta attribute="eclassName">SubThing</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
		<id name="name" type="java.lang.String">
			<column not-null="true" unique="true" name="`name`"/>
		</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.inheritance.impl.SubTwoImpl" entity-name="SubTwo" abstract="false" lazy="false" extends="Annotation" table="`subtwo`">
		<meta attribute="eclassName">SubTwo</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta>
		<key>
			<column name="`annotation_name`"/>
		</key>
	</joined-subclass>
</hibernate-mapping>

Back to the top