Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a1d49f83e096f033d535c3cf92121976179cdf07 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?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 Nov 27 22:56:29 CET 2006 -->
<hibernate-mapping>
	<typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
		<param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param>
		<param name="edatatype">SimpleEnumObject</param>
	</typedef>
	<class entity-name="SimpleList" abstract="false" lazy="false" table="`simplelist`">
		<meta attribute="eclassName">SimpleList</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion">true</meta>
		</version>
		<property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`code`"/>
		</property>
		<list name="boo" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_boo_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_boo_idx`"/>
			<element type="boolean"/>
		</list>
		<list name="byt" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_byt_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_byt_idx`"/>
			<element type="java.lang.Byte"/>
		</list>
		<list name="doubl" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_doubl_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_doubl_idx`"/>
			<element type="java.lang.Double"/>
		</list>
		<list name="floa" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_floa_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_floa_idx`"/>
			<element type="java.lang.Float"/>
		</list>
		<list name="inte" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_inte_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_inte_idx`"/>
			<element type="java.lang.Integer"/>
		</list>
		<list name="long" table="longNum" lazy="true" cascade="all,delete-orphan">
			<key/>
			<list-index column="`simplelist_long_idx`"/>
			<element type="java.lang.Long"/>
		</list>
		<list name="shor" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_shor_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_shor_idx`"/>
			<element type="short"/>
		</list>
		<list name="dat" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_dat_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_dat_idx`"/>
			<element type="java.util.Date"/>
		</list>
		<list name="limitedstring" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_limitedstring_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_limitedstring_idx`"/>
			<element type="java.lang.String"/>
		</list>
		<array name="intArray" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_intarray_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_intarray_idx`"/>
			<element type="int"/>
		</array>
		<array name="doubleArray" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_doublearray_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_doublearray_idx`"/>
			<element type="double"/>
		</array>
		<array name="stringArray" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_stringarray_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_stringarray_idx`"/>
			<element type="java.lang.String"/>
		</array>
		<array name="byteArray" cascade="all,delete-orphan">
			<key update="true">
				<column name="`simplelist_bytearray_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`simplelist_bytearray_idx`"/>
			<element type="byte"/>
		</array>
	</class>
	<class entity-name="SimpleType" abstract="false" lazy="false" table="`simpletype`">
		<meta attribute="eclassName">SimpleType</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion">true</meta>
		</version>
		<property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`code`"/>
		</property>
		<property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
			<column not-null="false" unique="false" name="`boo`"/>
		</property>
		<property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte">
			<column not-null="false" unique="false" name="`byt`"/>
		</property>
		<property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
			<column not-null="false" unique="false" name="`doubl`"/>
		</property>
		<property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
			<column not-null="false" unique="false" name="`float`"/>
		</property>
		<property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`inte`"/>
		</property>
		<property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`lon`"/>
		</property>
		<property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="short">
			<column not-null="false" unique="false" name="`shor`"/>
		</property>
		<property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false">
			<column not-null="false" unique="false" name="`enu`"/>
			<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
				<param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param>
			</type>
		</property>
		<property name="dat" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
			<column not-null="true" unique="false" name="`dat`"/>
		</property>
		<property name="limitedstring" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`limitedstring`"/>
		</property>
	</class>
	<class entity-name="SimpleTypeObject" abstract="false" lazy="false" table="`simpletypeobject`">
		<meta attribute="eclassName">SimpleTypeObject</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</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>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion">true</meta>
		</version>
		<property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`code`"/>
		</property>
		<property name="boo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Boolean">
			<column not-null="false" unique="false" name="`boo`"/>
		</property>
		<property name="byt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Byte">
			<column not-null="false" unique="false" name="`byt`"/>
		</property>
		<property name="doubl" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Double">
			<column not-null="false" unique="false" name="`doubl`"/>
		</property>
		<property name="float" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Float">
			<column not-null="false" unique="false" name="`float`"/>
		</property>
		<property name="inte" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer">
			<column not-null="false" unique="false" name="`inte`"/>
		</property>
		<property name="lon" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long">
			<column not-null="false" unique="false" name="`lon`"/>
		</property>
		<property name="shor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Short">
			<column not-null="false" unique="false" name="`shor`"/>
		</property>
		<property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false" type="simpletypes.SimpleEnumObject">
			<column not-null="false" unique="false" name="`enu`"/>
		</property>
		<property name="dat" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
			<column not-null="false" unique="false" name="`dat`"/>
		</property>
	</class>
</hibernate-mapping>

Back to the top