Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 06679971b7ae354bfd522caf11490c7a1c4aa6de (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?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 Jan 24 23:14:19 CET 2007 -->
<hibernate-mapping>
	<class entity-name="AbstractSuper" abstract="false" lazy="false" discriminator-value="AbstractSuper" table="`abstractsuper`">
		<meta attribute="eclassName">AbstractSuper</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
		<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
			<meta attribute="syntheticId">true</meta>
			<generator class="native"/>
		</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>
		<property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`name`"/>
		</property>
	</class>
	<subclass entity-name="M" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="M">
		<meta attribute="eclassName">M</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
		<list name="p" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="m_p">
			<key update="true">
				<column name="`m_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`m_p_idx`"/>
			<many-to-many entity-name="P" unique="false">
				<column name="`p_id`" not-null="true" unique="false"/>
			</many-to-many>
		</list>
	</subclass>
	<subclass entity-name="MList" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="MList">
		<meta attribute="eclassName">MList</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
		<list name="m" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`mlist_m_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`mlist_m_idx`"/>
			<one-to-many entity-name="M"/>
		</list>
	</subclass>
	<subclass entity-name="P" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="P">
		<meta attribute="eclassName">P</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
		<list name="m" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="p_m">
			<key update="true">
				<column name="`p_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`p_m_idx`"/>
			<many-to-many entity-name="M" unique="false">
				<column name="`m_id`" not-null="true" unique="false"/>
			</many-to-many>
		</list>
	</subclass>
	<subclass entity-name="PList" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="PList">
		<meta attribute="eclassName">PList</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
		<list name="p" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`plist_p_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`plist_p_idx`"/>
			<one-to-many entity-name="P"/>
		</list>
	</subclass>
	<subclass entity-name="R" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="R">
		<meta attribute="eclassName">R</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/issues/topclasses</meta>
		<many-to-one name="plist" entity-name="PList" cascade="all" lazy="false" insert="true" update="true" not-null="false">
			<column not-null="false" unique="false" name="`plist_plist_id`"/>
		</many-to-one>
		<many-to-one name="mlist" entity-name="MList" cascade="all" lazy="false" insert="true" update="true" not-null="false">
			<column not-null="false" unique="false" name="`mlist_mlist_id`"/>
		</many-to-one>
	</subclass>
</hibernate-mapping>

Back to the top