blob: 7979c98fcc4488e2b07bfdb7167e4b87c323f8cb [file] [log] [blame]
<?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 Wed Jul 18 20:39:08 CEST 2007 -->
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.lob.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" 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">
<column not-null="true" unique="true" name="`id`"/>
</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="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>