Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 1540f4d175bba01aaa75cec483e33281ab88391b (plain) (tree)






























                                                                                                                                                                                                              
<?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" 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>
		<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