Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: cda28f2980ab97b6be79d01edcd33d0ad6214359 (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
<?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="org.eclipse.emf.teneo.samples.issues.bz321765.impl.EmployeeImpl" entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`EMPLOYEE`">
		<meta attribute="eclassName" inherit="false">Employee</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321765</meta>
		<composite-id name="employeePK" class="org.eclipse.emf.teneo.samples.issues.bz321765.impl.EmployeePKImpl" access="org.eclipse.emf.teneo.hibernate.mapping.property.EReferencePropertyHandler">
			<meta attribute="eclassName" inherit="false">EmployeePK</meta>
			<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321765</meta>
			<key-property name="id" type="java.math.BigInteger">
				<column not-null="true" unique="false" name="`ID`"/>
			</key-property>
			<key-property name="firstName" type="java.lang.String">
				<column not-null="true" unique="false" name="`FIRSTNAME`"/>
			</key-property>
			<key-property name="lastName" type="java.lang.String">
				<column not-null="true" unique="false" name="`LASTNAME`"/>
			</key-property>
		</composite-id>
		<discriminator type="string">
			<column name="`DTYPE`" index="EMPLOYEEDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`TITLE`"/>
		</property>
		<property name="salary" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger">
			<column not-null="true" unique="false" name="`SALARY`"/>
		</property>
	</class>
</hibernate-mapping>

Back to the top