Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2009-03-07 21:13:34 +0000
committermtaal2009-03-07 21:13:34 +0000
commitb9e557addff286e91aa7a6b1d25dc1b9ea848374 (patch)
tree2194ca802ffd9865a634571fd4f2be62c985387c /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations
parent75b9489fabdde7684275780bafbbf1bf07d51ea9 (diff)
downloadorg.eclipse.emf.teneo-b9e557addff286e91aa7a6b1d25dc1b9ea848374.tar.gz
org.eclipse.emf.teneo-b9e557addff286e91aa7a6b1d25dc1b9ea848374.tar.xz
org.eclipse.emf.teneo-b9e557addff286e91aa7a6b1d25dc1b9ea848374.zip
[267510]
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_a_o_hibernate.hbm.xml12
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_e_o_hibernate.hbm.xml12
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_s_o_hibernate.hbm.xml12
3 files changed, 15 insertions, 21 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_a_o_hibernate.hbm.xml
index ae4e46bd2..81f8a2b6f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_a_o_hibernate.hbm.xml
@@ -55,19 +55,17 @@
</key>
<one-to-many entity-name="ContainedItem"/>
</bag>
- <bag name="item" order-by="name" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <bag name="item" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
<column name="`item_itemlist_e_id`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="Item"/>
</bag>
- <bag name="joinedItem" table="`itemlist_item`" lazy="true" cascade="merge,persist,save-update,lock,refresh">
- <key update="true">
- <column name="`itemlist_e_id`" not-null="true" unique="false"/>
+ <bag name="joinedItem" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true" foreign-key="itemlist_joineditem">
+ <column name="`itemlist_joineditem_e_id`" not-null="false" unique="false"/>
</key>
- <many-to-many entity-name="Item" unique="false" foreign-key="itemlist_joineditem">
- <column name="`item_e_id`" not-null="true" unique="false"/>
- </many-to-many>
+ <one-to-many entity-name="Item"/>
</bag>
</class>
</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_e_o_hibernate.hbm.xml
index 39ebef862..e128fa42b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_e_o_hibernate.hbm.xml
@@ -52,19 +52,17 @@
</key>
<one-to-many entity-name="ContainedItem"/>
</bag>
- <bag name="item" order-by="name" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <bag name="item" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
<column name="`item_itemlist_e_id`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="Item"/>
</bag>
- <bag name="joinedItem" table="`itemlist_item`" lazy="true" cascade="merge,persist,save-update,lock,refresh">
- <key update="true">
- <column name="`itemlist_e_id`" not-null="true" unique="false"/>
+ <bag name="joinedItem" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true" foreign-key="itemlist_joineditem">
+ <column name="`itemlist_joineditem_e_id`" not-null="false" unique="false"/>
</key>
- <many-to-many entity-name="Item" unique="false" foreign-key="itemlist_joineditem">
- <column name="`item_e_id`" not-null="true" unique="false"/>
- </many-to-many>
+ <one-to-many entity-name="Item"/>
</bag>
</class>
</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_s_o_hibernate.hbm.xml
index 39ebef862..e128fa42b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetResourceAction_mysql_s_o_hibernate.hbm.xml
@@ -52,19 +52,17 @@
</key>
<one-to-many entity-name="ContainedItem"/>
</bag>
- <bag name="item" order-by="name" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <bag name="item" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
<column name="`item_itemlist_e_id`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="Item"/>
</bag>
- <bag name="joinedItem" table="`itemlist_item`" lazy="true" cascade="merge,persist,save-update,lock,refresh">
- <key update="true">
- <column name="`itemlist_e_id`" not-null="true" unique="false"/>
+ <bag name="joinedItem" order-by="`name` desc" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true" foreign-key="itemlist_joineditem">
+ <column name="`itemlist_joineditem_e_id`" not-null="false" unique="false"/>
</key>
- <many-to-many entity-name="Item" unique="false" foreign-key="itemlist_joineditem">
- <column name="`item_e_id`" not-null="true" unique="false"/>
- </many-to-many>
+ <one-to-many entity-name="Item"/>
</bag>
</class>
</hibernate-mapping> \ No newline at end of file

Back to the top