Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2007-09-04 09:57:23 +0000
committermtaal2007-09-04 09:57:23 +0000
commit307878c96eecf4a1466008695828b62044d53ee2 (patch)
tree4d5d50d5e9e8e1dc62391dfa13169bbe291b98e8 /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml
parente88e901ad1e2ea8a68b5259211a96b76d6c527a0 (diff)
downloadorg.eclipse.emf.teneo-307878c96eecf4a1466008695828b62044d53ee2.tar.gz
org.eclipse.emf.teneo-307878c96eecf4a1466008695828b62044d53ee2.tar.xz
org.eclipse.emf.teneo-307878c96eecf4a1466008695828b62044d53ee2.zip
[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.xml6
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>

Back to the top