Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2006-10-17 09:42:33 +0000
committermtaal2006-10-17 09:42:33 +0000
commit1aec76cf7795fa6b61e7a8107035f6c9babd6652 (patch)
tree2e809a7e1b040bcc598613b5af5ed2d629df646f /tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction
parent00a542edead8ebde9fd48f8e8f2407b531acf23c (diff)
downloadorg.eclipse.emf.teneo-1aec76cf7795fa6b61e7a8107035f6c9babd6652.tar.gz
org.eclipse.emf.teneo-1aec76cf7795fa6b61e7a8107035f6c9babd6652.tar.xz
org.eclipse.emf.teneo-1aec76cf7795fa6b61e7a8107035f6c9babd6652.zip
Added test for persisting ecore models itself, rerunned all tests on mssql server.
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_a_o/hibernate.hbm.xml109
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_s_o/hibernate.hbm.xml104
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_s_o/hibernate.hbm.xml2
4 files changed, 215 insertions, 2 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..b3b0232ac
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,109 @@
+<?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 Tue Oct 17 11:33:13 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`address_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`address_group_idx`"/>
+ <one-to-many entity-name="Address_group"/>
+ </list>
+ </class>
+ <class entity-name="Address_group" lazy="false" table="`address_group`">
+ <meta attribute="eclass">Address</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="longName" type="java.lang.String" lazy="false" column="`longname`" not-null="false"/>
+ </class>
+ <class entity-name="AddressGroup" abstract="false" lazy="false" discriminator-value="AddressGroup" table="`addressgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="groupName" type="java.lang.String" lazy="false" column="`groupname`" not-null="true"/>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ <property name="simpleAddress" type="java.lang.String" lazy="false" column="`simpleaddress`" not-null="false"/>
+ </class>
+ <class entity-name="AddressList" abstract="false" lazy="false" discriminator-value="AddressList" table="`addresslist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="groupName" type="java.lang.String" lazy="false" column="`groupname`" not-null="true"/>
+ <list name="addrs" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`addresslist_addrs_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`addresslist_addrs_idx`"/>
+ <one-to-many entity-name="AddressList_addrs"/>
+ </list>
+ </class>
+ <class entity-name="AddressList_addrs" lazy="false" table="`addresslist_addrs`">
+ <meta attribute="eclass">AddressList</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="SimpleAllMapType" abstract="false" lazy="false" discriminator-value="SimpleAllMapType" table="`simpleallmaptype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="allMap" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simpleallmaptype_allmap_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`simpleallmaptype_allmap_idx`"/>
+ <one-to-many entity-name="SimpleAllMapType_allMap"/>
+ </list>
+ </class>
+ <class entity-name="SimpleAllMapType_allMap" lazy="false" table="`simpleallmaptype_allmap`">
+ <meta attribute="eclass">SimpleAllMapType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="aaa" type="java.lang.String" lazy="false" column="`aaa`" not-null="false"/>
+ <property name="bbb" type="java.lang.String" lazy="false" column="`bbb`" not-null="false"/>
+ <property name="ccc" type="java.lang.String" lazy="false" column="`ccc`" not-null="false"/>
+ </class>
+ <class entity-name="SimpleAllType" abstract="false" lazy="false" discriminator-value="SimpleAllType" table="`simplealltype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="aaa" type="java.lang.String" lazy="false" column="`aaa`" not-null="true"/>
+ <property name="bbb" type="java.lang.String" lazy="false" column="`bbb`" not-null="true"/>
+ <property name="ccc" type="java.lang.String" lazy="false" column="`ccc`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..e95282442
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,104 @@
+<?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 Tue Oct 17 11:33:06 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="false" lazy="false" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`address_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`address_group_idx`"/>
+ <one-to-many entity-name="Address_group"/>
+ </list>
+ </class>
+ <class entity-name="Address_group" lazy="false" table="`address_group`">
+ <meta attribute="eclass">Address</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="longName" type="java.lang.String" lazy="false" column="`longname`" not-null="false"/>
+ </class>
+ <class entity-name="AddressGroup" abstract="false" lazy="false" table="`addressgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="groupName" type="java.lang.String" lazy="false" column="`groupname`" not-null="true"/>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ <property name="simpleAddress" type="java.lang.String" lazy="false" column="`simpleaddress`" not-null="false"/>
+ </class>
+ <class entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="groupName" type="java.lang.String" lazy="false" column="`groupname`" not-null="true"/>
+ <list name="addrs" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`addresslist_addrs_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`addresslist_addrs_idx`"/>
+ <one-to-many entity-name="AddressList_addrs"/>
+ </list>
+ </class>
+ <class entity-name="AddressList_addrs" lazy="false" table="`addresslist_addrs`">
+ <meta attribute="eclass">AddressList</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="SimpleAllMapType" abstract="false" lazy="false" table="`simpleallmaptype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="allMap" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simpleallmaptype_allmap_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`simpleallmaptype_allmap_idx`"/>
+ <one-to-many entity-name="SimpleAllMapType_allMap"/>
+ </list>
+ </class>
+ <class entity-name="SimpleAllMapType_allMap" lazy="false" table="`simpleallmaptype_allmap`">
+ <meta attribute="eclass">SimpleAllMapType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="aaa" type="java.lang.String" lazy="false" column="`aaa`" not-null="false"/>
+ <property name="bbb" type="java.lang.String" lazy="false" column="`bbb`" not-null="false"/>
+ <property name="ccc" type="java.lang.String" lazy="false" column="`ccc`" not-null="false"/>
+ </class>
+ <class entity-name="SimpleAllType" abstract="false" lazy="false" table="`simplealltype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="aaa" type="java.lang.String" lazy="false" column="`aaa`" not-null="true"/>
+ <property name="bbb" type="java.lang.String" lazy="false" column="`bbb`" not-null="true"/>
+ <property name="ccc" type="java.lang.String" lazy="false" column="`ccc`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_o/hibernate.hbm.xml
index 11705a5d7..53fd8f898 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_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 Wed Oct 04 15:58:23 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:00 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_s_o/hibernate.hbm.xml
index 41d46785b..e755fd0e4 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/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 Wed Oct 04 15:58:14 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:45 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="false" lazy="false" table="`address`">
<id type="long" name="e_id" column="e_id">

Back to the top