diff options
[202127]
[200823]
[202136]
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml index d76da50c8..94a12c01c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_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 Fri Aug 10 18:34:04 CEST 2007 --> +<!-- Generated by Teneo on Tue Sep 04 11:21:40 CEST 2007 --> <hibernate-mapping auto-import="false"> <typedef name="nameType" class="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.NameType"/> <typedef name="usertype.PhoneNumber" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> @@ -40,7 +40,7 @@ <column not-null="false" unique="false" name="`emergencycontact`"/> </property> <bag name="addresses" lazy="true" cascade="merge,persist,save-update,lock,refresh"> - <key update="true"> + <key update="true" foreign-key="person_addresses"> <column name="`address_person_e_id`" not-null="false" unique="false"/> </key> <one-to-many entity-name="Address"/> @@ -59,7 +59,7 @@ <property name="addressInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> <column not-null="true" unique="false" name="`addressinfo`"/> </property> - <many-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> + <many-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_person" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`address_person_e_id`"/> </many-to-one> </class> |