Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2008-03-30 15:11:58 +0000
committermtaal2008-03-30 15:11:58 +0000
commitcb94307d1222774fb779d4f0d0f941e3728ffcb0 (patch)
tree7822f2a76be64b52ec3277845a88b142b93cf589 /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations
parentac4fbdf75749ded3c68ceeeeb3be5735df6691ed (diff)
downloadorg.eclipse.emf.teneo-cb94307d1222774fb779d4f0d0f941e3728ffcb0.tar.gz
org.eclipse.emf.teneo-cb94307d1222774fb779d4f0d0f941e3728ffcb0.tar.xz
org.eclipse.emf.teneo-cb94307d1222774fb779d4f0d0f941e3728ffcb0.zip
[178942]
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/MapKeyAction_mysql_a_o_hibernate.hbm.xml18
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_e_o_hibernate.hbm.xml14
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_s_o_hibernate.hbm.xml14
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_a_o_hibernate.hbm.xml36
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_e_o_hibernate.hbm.xml30
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml30
6 files changed, 71 insertions, 71 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_a_o_hibernate.hbm.xml
index 2ebf693f6..683d7ee06 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_a_o_hibernate.hbm.xml
@@ -2,41 +2,41 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`BOOK`">
<meta attribute="eclassName">Book</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator column="`DTYPE`" type="string"/>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`title`"/>
+ <column not-null="true" unique="false" name="`TITLE`"/>
</property>
<map name="writers" where="name='martin'" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="book_writers">
- <column name="`book_writers_e_id`" not-null="false" unique="false"/>
+ <key update="true" foreign-key="BOOK_WRITERS">
+ <column name="`BOOK_WRITERS_E_ID`" not-null="false" unique="false"/>
</key>
- <map-key column="`name`" type="java.lang.String"/>
+ <map-key column="`NAME`" type="java.lang.String"/>
<one-to-many entity-name="Writer"/>
</map>
</class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`WRITER`">
<meta attribute="eclassName">Writer</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator column="`DTYPE`" type="string"/>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
</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/MapKeyAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_e_o_hibernate.hbm.xml
index ad3bd2f8f..a3349280a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_e_o_hibernate.hbm.xml
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`BOOK`">
<meta attribute="eclassName">Book</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -13,17 +13,17 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`title`"/>
+ <column not-null="true" unique="false" name="`TITLE`"/>
</property>
<map name="writers" where="name='martin'" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="book_writers">
- <column name="`book_writers_e_id`" not-null="false" unique="false"/>
+ <key update="true" foreign-key="BOOK_WRITERS">
+ <column name="`BOOK_WRITERS_E_ID`" not-null="false" unique="false"/>
</key>
- <map-key column="`name`" type="java.lang.String"/>
+ <map-key column="`NAME`" type="java.lang.String"/>
<one-to-many entity-name="Writer"/>
</map>
</class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`WRITER`">
<meta attribute="eclassName">Writer</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -34,7 +34,7 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
</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/MapKeyAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_s_o_hibernate.hbm.xml
index ad3bd2f8f..a3349280a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MapKeyAction_mysql_s_o_hibernate.hbm.xml
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`BOOK`">
<meta attribute="eclassName">Book</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -13,17 +13,17 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`title`"/>
+ <column not-null="true" unique="false" name="`TITLE`"/>
</property>
<map name="writers" where="name='martin'" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="book_writers">
- <column name="`book_writers_e_id`" not-null="false" unique="false"/>
+ <key update="true" foreign-key="BOOK_WRITERS">
+ <column name="`BOOK_WRITERS_E_ID`" not-null="false" unique="false"/>
</key>
- <map-key column="`name`" type="java.lang.String"/>
+ <map-key column="`NAME`" type="java.lang.String"/>
<one-to-many entity-name="Writer"/>
</map>
</class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.mapkey.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`WRITER`">
<meta attribute="eclassName">Writer</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mapkey</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -34,7 +34,7 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
</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/SetAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_a_o_hibernate.hbm.xml
index abff001f0..b8b1c8683 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_a_o_hibernate.hbm.xml
@@ -2,71 +2,71 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" discriminator-value="testSet.ContainedItem" table="`testset_containeditem`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" discriminator-value="testSet.ContainedItem" table="`TESTSET_CONTAINEDITEM`">
<meta attribute="eclassName">ContainedItem</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator column="`DTYPE`" type="string"/>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" discriminator-value="testSet.Item" table="`testset_item`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" discriminator-value="testSet.Item" table="`TESTSET_ITEM`">
<meta attribute="eclassName">Item</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator column="`DTYPE`" type="string"/>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
- <many-to-one name="itemList" entity-name="testSet.ItemList" cascade="merge,persist,save-update,lock,refresh" foreign-key="testset_item_itemlist" lazy="false" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`item_itemlist_e_id`"/>
+ <many-to-one name="itemList" entity-name="testSet.ItemList" cascade="merge,persist,save-update,lock,refresh" foreign-key="TESTSET_ITEM_ITEMLIST" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ITEM_ITEMLIST_E_ID`"/>
</many-to-one>
</class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" discriminator-value="testSet.ItemList" table="`testset_itemlist`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" discriminator-value="testSet.ItemList" table="`TESTSET_ITEMLIST`">
<meta attribute="eclassName">ItemList</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator column="`DTYPE`" type="string"/>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="containedItem" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="testset_itemlist_containeditem">
- <column name="`itemlist_containeditem_e_id`" not-null="false" unique="false"/>
+ <key update="true" foreign-key="TESTSET_ITEMLIST_CONTAINEDITEM">
+ <column name="`ITEMLIST_CONTAINEDITEM_E_ID`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="testSet.ContainedItem"/>
</bag>
<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"/>
+ <column name="`ITEM_ITEMLIST_E_ID`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="testSet.Item"/>
</bag>
- <bag name="joinedItem" table="`testset_itemlist_testset_item`" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <bag name="joinedItem" table="`TESTSET_ITEMLIST_TESTSET_ITEM`" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
- <column name="`itemlist_e_id`" not-null="true" unique="false"/>
+ <column name="`ITEMLIST_E_ID`" not-null="true" unique="false"/>
</key>
- <many-to-many entity-name="testSet.Item" unique="false" foreign-key="testset_itemlist_joineditem">
- <column name="`item_e_id`" not-null="true" unique="false"/>
+ <many-to-many entity-name="testSet.Item" unique="false" foreign-key="TESTSET_ITEMLIST_JOINEDITEM">
+ <column name="`ITEM_E_ID`" not-null="true" unique="false"/>
</many-to-many>
</bag>
</class>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_e_o_hibernate.hbm.xml
index ea712b59f..a91776510 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_e_o_hibernate.hbm.xml
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" table="`testset_containeditem`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" table="`TESTSET_CONTAINEDITEM`">
<meta attribute="eclassName">ContainedItem</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -13,10 +13,10 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" table="`testset_item`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" table="`TESTSET_ITEM`">
<meta attribute="eclassName">Item</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -27,13 +27,13 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
- <many-to-one name="itemList" entity-name="testSet.ItemList" cascade="merge,persist,save-update,lock,refresh" foreign-key="testset_item_itemlist" lazy="false" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`item_itemlist_e_id`"/>
+ <many-to-one name="itemList" entity-name="testSet.ItemList" cascade="merge,persist,save-update,lock,refresh" foreign-key="TESTSET_ITEM_ITEMLIST" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ITEM_ITEMLIST_E_ID`"/>
</many-to-one>
</class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" table="`testset_itemlist`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" table="`TESTSET_ITEMLIST`">
<meta attribute="eclassName">ItemList</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -44,26 +44,26 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="containedItem" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="testset_itemlist_containeditem">
- <column name="`itemlist_containeditem_e_id`" not-null="false" unique="false"/>
+ <key update="true" foreign-key="TESTSET_ITEMLIST_CONTAINEDITEM">
+ <column name="`ITEMLIST_CONTAINEDITEM_E_ID`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="testSet.ContainedItem"/>
</bag>
<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"/>
+ <column name="`ITEM_ITEMLIST_E_ID`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="testSet.Item"/>
</bag>
- <bag name="joinedItem" table="`testset_itemlist_testset_item`" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <bag name="joinedItem" table="`TESTSET_ITEMLIST_TESTSET_ITEM`" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
- <column name="`itemlist_e_id`" not-null="true" unique="false"/>
+ <column name="`ITEMLIST_E_ID`" not-null="true" unique="false"/>
</key>
- <many-to-many entity-name="testSet.Item" unique="false" foreign-key="testset_itemlist_joineditem">
- <column name="`item_e_id`" not-null="true" unique="false"/>
+ <many-to-many entity-name="testSet.Item" unique="false" foreign-key="TESTSET_ITEMLIST_JOINEDITEM">
+ <column name="`ITEM_E_ID`" not-null="true" unique="false"/>
</many-to-many>
</bag>
</class>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml
index ea712b59f..a91776510 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/SetAction_mysql_s_o_hibernate.hbm.xml
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" table="`testset_containeditem`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" entity-name="testSet.ContainedItem" abstract="false" lazy="false" table="`TESTSET_CONTAINEDITEM`">
<meta attribute="eclassName">ContainedItem</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -13,10 +13,10 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" table="`testset_item`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemImpl" entity-name="testSet.Item" abstract="false" lazy="false" table="`TESTSET_ITEM`">
<meta attribute="eclassName">Item</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -27,13 +27,13 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
- <many-to-one name="itemList" entity-name="testSet.ItemList" cascade="merge,persist,save-update,lock,refresh" foreign-key="testset_item_itemlist" lazy="false" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`item_itemlist_e_id`"/>
+ <many-to-one name="itemList" entity-name="testSet.ItemList" cascade="merge,persist,save-update,lock,refresh" foreign-key="TESTSET_ITEM_ITEMLIST" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ITEM_ITEMLIST_E_ID`"/>
</many-to-one>
</class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" table="`testset_itemlist`">
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ItemListImpl" entity-name="testSet.ItemList" abstract="false" lazy="false" table="`TESTSET_ITEMLIST`">
<meta attribute="eclassName">ItemList</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/set</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
@@ -44,26 +44,26 @@
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`NAME`"/>
</property>
<bag name="containedItem" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="testset_itemlist_containeditem">
- <column name="`itemlist_containeditem_e_id`" not-null="false" unique="false"/>
+ <key update="true" foreign-key="TESTSET_ITEMLIST_CONTAINEDITEM">
+ <column name="`ITEMLIST_CONTAINEDITEM_E_ID`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="testSet.ContainedItem"/>
</bag>
<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"/>
+ <column name="`ITEM_ITEMLIST_E_ID`" not-null="false" unique="false"/>
</key>
<one-to-many entity-name="testSet.Item"/>
</bag>
- <bag name="joinedItem" table="`testset_itemlist_testset_item`" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <bag name="joinedItem" table="`TESTSET_ITEMLIST_TESTSET_ITEM`" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
- <column name="`itemlist_e_id`" not-null="true" unique="false"/>
+ <column name="`ITEMLIST_E_ID`" not-null="true" unique="false"/>
</key>
- <many-to-many entity-name="testSet.Item" unique="false" foreign-key="testset_itemlist_joineditem">
- <column name="`item_e_id`" not-null="true" unique="false"/>
+ <many-to-many entity-name="testSet.Item" unique="false" foreign-key="TESTSET_ITEMLIST_JOINEDITEM">
+ <column name="`ITEM_E_ID`" not-null="true" unique="false"/>
</many-to-many>
</bag>
</class>

Back to the top