diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml index 73d3ccebf..4c58c1b9e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?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 Sun Nov 12 00:56:33 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 15:27:25 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> <meta attribute="eclassName">Person</meta> @@ -14,9 +14,15 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="id" type="long" lazy="false" column="`id`" not-null="false"/> - <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/> - <property name="address" type="text" lazy="false" column="`address`" not-null="false"/> + <property name="id" type="long" lazy="false" not-null="false"> + <column not-null="false" unique="false" name="`id`"/> + </property> + <property name="name" type="java.lang.String" lazy="false" not-null="true"> + <column not-null="false" unique="false" name="`name`"/> + </property> + <property name="address" type="text" lazy="false" not-null="false"> + <column not-null="false" unique="false" name="`address`"/> + </property> <property name="photo" type="binary" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`photo`" length="1000000"/> </property> |