Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 54eff186e015e0aeb9b033f5c5fc806efeae8844 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?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">

<hibernate-mapping auto-import="false">
	<class name="com.example.car.impl.CarFrameImpl" entity-name="CarFrame" abstract="false" lazy="false" table="`CARFRAME`">
		<meta attribute="eclassName" inherit="false">CarFrame</meta>
		<meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta>
		<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
			<meta attribute="syntheticId" inherit="false">true</meta>
			<generator class="native"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
		<list name="carWheel" lazy="true" cascade="all,delete-orphan">
			<key update="true" foreign-key="CARFRAME_CARWHEEL">
				<column name="`CARFRAME_CARWHEEL_E_ID`" unique="false"/>
			</key>
			<list-index column="`CARFRAME_CARWHEEL_IDX`"/>
			<one-to-many entity-name="CarWheel"/>
		</list>
		<many-to-one name="carLinkRef" entity-name="CarLink" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CARFRAME_CARLINKREF" insert="true" update="true" not-null="false">
			<column not-null="false" unique="false" name="`CARLINK_CARLINKREF_CARLINKID`"/>
		</many-to-one>
		<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>
	<class name="com.example.car.impl.CarLinkImpl" entity-name="CarLink" abstract="false" lazy="false" table="`CARLINK`">
		<meta attribute="eclassName" inherit="false">CarLink</meta>
		<meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta>
		<id name="carLinkId" type="java.lang.String">
			<column not-null="true" unique="false" name="`CARLINKID`"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
		<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`NAME`"/>
		</property>
	</class>
	<class name="com.example.car.impl.CarsListImpl" entity-name="CarsList" abstract="false" lazy="false" table="`CARSLIST`">
		<meta attribute="eclassName" inherit="false">CarsList</meta>
		<meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta>
		<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
			<meta attribute="syntheticId" inherit="false">true</meta>
			<generator class="native"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
		<list name="carType" lazy="true" cascade="all,delete-orphan">
			<key update="true" foreign-key="CARSLIST_CARTYPE">
				<column name="`CARSLIST_CARTYPE_E_ID`" unique="false"/>
			</key>
			<list-index column="`CARSLIST_CARTYPE_IDX`"/>
			<one-to-many entity-name="CarType"/>
		</list>
		<list name="carLink" lazy="true" cascade="all,delete-orphan">
			<key update="true" foreign-key="CARSLIST_CARLINK">
				<column name="`CARSLIST_CARLINK_E_ID`" unique="false"/>
			</key>
			<list-index column="`CARSLIST_CARLINK_IDX`"/>
			<one-to-many entity-name="CarLink"/>
		</list>
	</class>
	<class name="com.example.car.impl.CarTireImpl" entity-name="CarTire" abstract="false" lazy="false" table="`CARTIRE`">
		<meta attribute="eclassName" inherit="false">CarTire</meta>
		<meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta>
		<id name="name" type="java.lang.String">
			<column not-null="true" unique="false" name="`NAME`"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
	</class>
	<class name="com.example.car.impl.CarTypeImpl" entity-name="CarType" abstract="false" lazy="false" table="`CARTYPE`">
		<meta attribute="eclassName" inherit="false">CarType</meta>
		<meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta>
		<id name="carID" type="java.lang.String">
			<column not-null="true" unique="false" name="`CARID`"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
		<list name="carFrame" lazy="true" cascade="all,delete-orphan">
			<key update="true" foreign-key="CARTYPE_CARFRAME">
				<column name="`CARTYPE_CARFRAME_CARID`" unique="false"/>
			</key>
			<list-index column="`CARTYPE_CARFRAME_IDX`"/>
			<one-to-many entity-name="CarFrame"/>
		</list>
	</class>
	<class name="com.example.car.impl.CarWheelImpl" entity-name="CarWheel" abstract="false" lazy="false" table="`CARWHEEL`">
		<meta attribute="eclassName" inherit="false">CarWheel</meta>
		<meta attribute="epackage" inherit="false">http://www.example.com/car.xsd</meta>
		<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
			<meta attribute="syntheticId" inherit="false">true</meta>
			<generator class="native"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
		<list name="carTire" lazy="true" cascade="all,delete-orphan">
			<key update="true" foreign-key="CARWHEEL_CARTIRE">
				<column name="`CARWHEEL_CARTIRE_E_ID`" unique="false"/>
			</key>
			<list-index column="`CARWHEEL_CARTIRE_IDX`"/>
			<one-to-many entity-name="CarTire"/>
		</list>
		<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>
</hibernate-mapping>

Back to the top