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.SetResourceAction/mysql_s_o/hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_s_o/hibernate.hbm.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_s_o/hibernate.hbm.xml
index 647f5f72c..9ac291add 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/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:17:52 CEST 2006 -->
+<!-- Generated by Teneo on Fri Sep 29 13:47:44 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ContainedItem" abstract="false" lazy="false" table="`containeditem`">
<id type="long" name="e_id" column="e_id">
@@ -16,8 +16,8 @@
</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="true"/>
- <many-to-one name="itemList" entity-name="ItemList" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`itemlist_id`"/>
+ <many-to-one name="itemList" entity-name="ItemList" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`item_itemlist_id`"/>
</many-to-one>
</class>
<class entity-name="ItemList" abstract="false" lazy="false" table="`itemlist`">
@@ -28,13 +28,13 @@
<property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
<bag name="containedItem" lazy="true" cascade="all,delete-orphan">
<key update="true">
- <column name="`containeditem_id`" not-null="false" unique="false"/>
+ <column name="`itemlist_containeditem_id`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="ContainedItem"/>
</bag>
<bag name="item" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
- <column name="`itemlist_id`" not-null="false" unique="false"/>
+ <column name="`item_itemlist_id`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="Item"/>
</bag>

Back to the top