Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml
index a820c48e4..9bd3ce2b7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_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:09 CET 2006 -->
+<!-- Generated by Teneo on Mon Nov 13 15:26:48 CET 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="false" lazy="false" table="`address`">
<meta attribute="eclassName">Address</meta>
@@ -13,7 +13,9 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
+ <property name="city" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`city`"/>
+ </property>
</class>
<class entity-name="Head" abstract="false" lazy="false" table="`head`">
<meta attribute="eclassName">Head</meta>
@@ -25,7 +27,9 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="hairColor" type="java.lang.String" lazy="false" column="`haircolor`" not-null="true"/>
+ <property name="hairColor" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`haircolor`"/>
+ </property>
<many-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
</class>
<class entity-name="Person" abstract="false" lazy="false" table="`person`">

Back to the top