diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml index df186f4ee..5ee639dff 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/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 Thu Sep 28 21:18:43 CEST 2006 --> +<!-- Generated by Teneo on Fri Sep 29 13:48:28 CEST 2006 --> <hibernate-mapping> <class entity-name="PType" abstract="false" lazy="false" table="`ptype`"> <id name="id" type="long" column="`id`"> @@ -9,12 +9,12 @@ </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/> - <many-to-one name="base" entity-name="PType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> - <column not-null="false" unique="false" name="`base_id`"/> + <many-to-one name="base" entity-name="PType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> + <column not-null="false" unique="false" name="`ptype_base_id`"/> </many-to-one> <bag name="subTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> - <column name="`base_id`" not-null="false" unique="false"/> + <column name="`ptype_base_id`" not-null="false" unique="false"/> </key> <one-to-many entity-name="PType"/> </bag> |