Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 28da590fda5bd1488baf69069d9348e6082d6c88 (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
<?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 entity-name="ComType" abstract="false" lazy="true" table="`COMTYPE`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl">
		<meta attribute="eclassName" inherit="false">ComType</meta>
		<meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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="employees" lazy="true" cascade="all,delete-orphan">
			<key update="true" foreign-key="COMTYPE_EMPLOYEES">
				<column name="`COMTYPE_EMPLOYEES_E_ID`" unique="false"/>
			</key>
			<list-index column="`COMTYPE_EMPLOYEES_IDX`"/>
			<one-to-many entity-name="PersonType"/>
		</list>
		<many-to-one name="location" entity-name="LocationType" lazy="proxy" cascade="all" foreign-key="COMTYPE_LOCATION" insert="true" update="true" not-null="true" unique="true">
			<column not-null="true" unique="false" name="`LOCATIONTYPE_LOCATION_E_ID`"/>
		</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 entity-name="Department" abstract="false" lazy="true" table="`DEPARTMENT`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl">
		<meta attribute="eclassName" inherit="false">Department</meta>
		<meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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>
		<property name="booktype" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`BOOKTYPE`"/>
		</property>
		<property name="bookname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`BOOKNAME`"/>
		</property>
	</class>
	<class entity-name="LocationType" abstract="false" lazy="true" table="`LOCATIONTYPE`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl">
		<meta attribute="eclassName" inherit="false">LocationType</meta>
		<meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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>
		<many-to-one name="zip" entity-name="Department" lazy="proxy" cascade="all" foreign-key="LOCATIONTYPE_ZIP" insert="true" update="true" not-null="true" unique="true">
			<column not-null="true" unique="false" name="`DEPARTMENT_ZIP_E_ID`"/>
		</many-to-one>
		<property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`ADDRESS`"/>
		</property>
	</class>
	<class entity-name="PersonType" abstract="false" lazy="true" table="`PERSONTYPE`" proxy="org.eclipse.emf.ecore.impl.DynamicEObjectImpl">
		<meta attribute="eclassName" inherit="false">PersonType</meta>
		<meta attribute="epackage" inherit="false">http://www.tech.com/tech/test/UploadNewXSDTest</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>
		<property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`LASTNAME`"/>
		</property>
		<property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger">
			<column not-null="false" unique="false" name="`AGE`"/>
		</property>
		<property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`FIRSTNAME`"/>
		</property>
	</class>
</hibernate-mapping>

Back to the top