Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2008-08-11 20:46:34 +0000
committermtaal2008-08-11 20:46:34 +0000
commite017518a0c07c8c9f1be92282ec9022fb741af43 (patch)
tree29bab88989cd45678713c55f8180af7eec4fe51c /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample
parent77917bdb0d6060a45cb1c66d3d15cc6cb46a4722 (diff)
downloadorg.eclipse.emf.teneo-e017518a0c07c8c9f1be92282ec9022fb741af43.tar.gz
org.eclipse.emf.teneo-e017518a0c07c8c9f1be92282ec9022fb741af43.tar.xz
org.eclipse.emf.teneo-e017518a0c07c8c9f1be92282ec9022fb741af43.zip
[243348]
[243616]
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_e_o_hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_s_o_hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_a_o_hibernate.hbm.xml58
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_e_o_hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml57
6 files changed, 3 insertions, 175 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml
index c9c7f4441..4fc27b799 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml
@@ -26,7 +26,7 @@
<property name="claimStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`clm_status`" length="2"/>
</property>
- <bag name="claimLine" lazy="true" cascade="all,delete-orphan">
+ <bag name="claimLine" inverse="true" lazy="true" cascade="all,delete-orphan">
<key update="true" foreign-key="claim_claimline">
<column name="`clm_nbr`" not-null="false" unique="false"/>
<column name="`clm_ext_nbr`" not-null="false" unique="false"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_e_o_hibernate.hbm.xml
index 4c8cf665f..06f84ae3f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_e_o_hibernate.hbm.xml
@@ -25,7 +25,7 @@
<property name="claimStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`clm_status`" length="2"/>
</property>
- <bag name="claimLine" lazy="true" cascade="all,delete-orphan">
+ <bag name="claimLine" inverse="true" lazy="true" cascade="all,delete-orphan">
<key update="true" foreign-key="claim_claimline">
<column name="`clm_nbr`" not-null="false" unique="false"/>
<column name="`clm_ext_nbr`" not-null="false" unique="false"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_s_o_hibernate.hbm.xml
index 4c8cf665f..06f84ae3f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_s_o_hibernate.hbm.xml
@@ -25,7 +25,7 @@
<property name="claimStatus" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`clm_status`" length="2"/>
</property>
- <bag name="claimLine" lazy="true" cascade="all,delete-orphan">
+ <bag name="claimLine" inverse="true" lazy="true" cascade="all,delete-orphan">
<key update="true" foreign-key="claim_claimline">
<column name="`clm_nbr`" not-null="false" unique="false"/>
<column name="`clm_ext_nbr`" not-null="false" unique="false"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_a_o_hibernate.hbm.xml
index 90108334b..1e33c0c4c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_a_o_hibernate.hbm.xml
@@ -536,62 +536,4 @@
<column not-null="false" unique="false" name="`edatatype_instancetype_e_id`"/>
</many-to-one>
</subclass>
- <class name="org.eclipse.emf.ecore.xml.type.impl.XMLTypeDocumentRootImpl" entity-name="XMLTypeDocumentRoot" abstract="false" lazy="false" discriminator-value="XMLTypeDocumentRoot" table="`xmltypedocumentroot`">
- <meta attribute="eclassName">XMLTypeDocumentRoot</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</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"/>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <list name="mixed" table="`xmltypedocumentroot_mixed`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`xmltypedocumentroot_mixed_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`xmltypedocumentroot_mixed_idx`"/>
- <one-to-many entity-name="XMLTypeDocumentRoot_mixed"/>
- </list>
- </class>
- <class entity-name="XMLTypeDocumentRoot_mixed" lazy="false" table="`xmltypedocumentroot_mixed`">
- <meta attribute="featureMap">XMLTypeDocumentRoot</meta>
- <id type="long">
- <generator class="native"/>
- </id>
- <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <property name="fme_feature" type="java.lang.String"/>
- <map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`mixed_xmltypedocumentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/>
- </key>
- <map-key type="java.lang.String"/>
- <element type="java.lang.String"/>
- </map>
- <map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`mixed_xmltypedocumentroot_xsischemalocation_e_id`" not-null="false" unique="false"/>
- </key>
- <map-key type="java.lang.String"/>
- <element type="java.lang.String"/>
- </map>
- <property name="cDATA" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`mixed_cdata`"/>
- </property>
- <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`mixed_comment`"/>
- </property>
- <many-to-one name="processingInstruction" entity-name="ProcessingInstruction" cascade="all" foreign-key="xmltypedocumentroot_processinginstruction" lazy="false" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`mixed_processinginstruction_processinginstruction_e_id`"/>
- </many-to-one>
- <property name="text" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`mixed_text`"/>
- </property>
- <property name="fme_mixed_text" type="java.lang.String"/>
- <property name="fme_mixed_cdata" type="java.lang.String"/>
- <property name="fme_mixed_comment" type="java.lang.String"/>
- </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.sample/EcoreAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_e_o_hibernate.hbm.xml
index 210232f3d..01ccd8b9c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_e_o_hibernate.hbm.xml
@@ -590,61 +590,4 @@
<column not-null="true" unique="false" name="`edatatype_instancetype_e_id`"/>
</many-to-one>
</joined-subclass>
- <class name="org.eclipse.emf.ecore.xml.type.impl.XMLTypeDocumentRootImpl" entity-name="XMLTypeDocumentRoot" abstract="false" lazy="false" table="`xmltypedocumentroot`">
- <meta attribute="eclassName">XMLTypeDocumentRoot</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</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>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <list name="mixed" table="`xmltypedocumentroot_mixed`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`xmltypedocumentroot_mixed_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`xmltypedocumentroot_mixed_idx`"/>
- <one-to-many entity-name="XMLTypeDocumentRoot_mixed"/>
- </list>
- </class>
- <class entity-name="XMLTypeDocumentRoot_mixed" lazy="false" table="`xmltypedocumentroot_mixed`">
- <meta attribute="featureMap">XMLTypeDocumentRoot</meta>
- <id type="long">
- <generator class="native"/>
- </id>
- <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <property name="fme_feature" type="java.lang.String"/>
- <map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`mixed_xmltypedocumentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/>
- </key>
- <map-key type="java.lang.String"/>
- <element type="java.lang.String"/>
- </map>
- <map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`mixed_xmltypedocumentroot_xsischemalocation_e_id`" not-null="false" unique="false"/>
- </key>
- <map-key type="java.lang.String"/>
- <element type="java.lang.String"/>
- </map>
- <property name="cDATA" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`mixed_cdata`"/>
- </property>
- <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`mixed_comment`"/>
- </property>
- <many-to-one name="processingInstruction" entity-name="ProcessingInstruction" cascade="all" foreign-key="xmltypedocumentroot_processinginstruction" lazy="false" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`mixed_processinginstruction_processinginstruction_e_id`"/>
- </many-to-one>
- <property name="text" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`mixed_text`"/>
- </property>
- <property name="fme_mixed_text" type="java.lang.String"/>
- <property name="fme_mixed_cdata" type="java.lang.String"/>
- <property name="fme_mixed_comment" type="java.lang.String"/>
- </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.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml
index ed4ba914d..ff57820d6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/EcoreAction_mysql_s_o_hibernate.hbm.xml
@@ -592,61 +592,4 @@
<column not-null="true" unique="false" name="`edatatype_instancetype_e_id`"/>
</many-to-one>
</joined-subclass>
- <class name="org.eclipse.emf.ecore.xml.type.impl.XMLTypeDocumentRootImpl" entity-name="XMLTypeDocumentRoot" abstract="false" lazy="false" table="`xmltypedocumentroot`">
- <meta attribute="eclassName">XMLTypeDocumentRoot</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/2003/XMLType</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>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <list name="mixed" table="`xmltypedocumentroot_mixed`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`xmltypedocumentroot_mixed_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`xmltypedocumentroot_mixed_idx`"/>
- <one-to-many entity-name="XMLTypeDocumentRoot_mixed"/>
- </list>
- </class>
- <class entity-name="XMLTypeDocumentRoot_mixed" lazy="false" table="`xmltypedocumentroot_mixed`">
- <meta attribute="featureMap">XMLTypeDocumentRoot</meta>
- <id type="long">
- <generator class="native"/>
- </id>
- <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <property name="fme_feature" type="java.lang.String"/>
- <map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`mixed_xmltypedocumentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/>
- </key>
- <map-key type="java.lang.String"/>
- <element type="java.lang.String"/>
- </map>
- <map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`mixed_xmltypedocumentroot_xsischemalocation_e_id`" not-null="false" unique="false"/>
- </key>
- <map-key type="java.lang.String"/>
- <element type="java.lang.String"/>
- </map>
- <property name="cDATA" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`mixed_cdata`"/>
- </property>
- <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`mixed_comment`"/>
- </property>
- <many-to-one name="processingInstruction" entity-name="ProcessingInstruction" cascade="all" foreign-key="xmltypedocumentroot_processinginstruction" lazy="false" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`mixed_processinginstruction_processinginstruction_e_id`"/>
- </many-to-one>
- <property name="text" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`mixed_text`"/>
- </property>
- <property name="fme_mixed_text" type="java.lang.String"/>
- <property name="fme_mixed_cdata" type="java.lang.String"/>
- <property name="fme_mixed_comment" type="java.lang.String"/>
- </class>
</hibernate-mapping> \ No newline at end of file

Back to the top