Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3227628c76017d6ac1f98469347f6bcb44ac3e35 (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
<?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.emf.annotations.lob.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
		<meta attribute="eclassName">Person</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lob</meta>
		<id name="id" type="long" unsaved-value="0">
			<column not-null="true" unique="true" name="`id`"/>
		</id>
		<discriminator column="`dtype`" type="string"/>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion">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>
		<property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text">
			<column not-null="false" unique="false" name="`address`"/>
		</property>
		<property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary">
			<column not-null="false" unique="false" name="`photo`" length="1000000"/>
		</property>
	</class>
</hibernate-mapping>

Back to the top