diff options
170 files changed, 1470 insertions, 1542 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_a_o/hibernate.hbm.xml index ae7d8b4d7..9bee044fb 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_a_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:27:10 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:32 CET 2006 --> <hibernate-mapping> <class entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`"> <meta attribute="eclassName">IdentityID</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> <id name="myid" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> <generator class="identity"/> </id> <discriminator column="`dtype`" type="string"/> @@ -31,7 +31,7 @@ <meta attribute="eclassName">TableID</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> <id name="myid" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> <generator class="hilo"> <param name="table">hilo_table</param> <param name="column">the_hilo_column</param> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_s_o/hibernate.hbm.xml index cddbb35ad..faf0ba106 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_s_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:26:49 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:18 CET 2006 --> <hibernate-mapping> <class entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`"> <meta attribute="eclassName">IdentityID</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> <id name="myid" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> <generator class="identity"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> @@ -29,7 +29,7 @@ <meta attribute="eclassName">TableID</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id</meta> <id name="myid" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> <generator class="hilo"> <param name="table">hilo_table</param> <param name="column">the_hilo_column</param> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_a_o/hibernate.hbm.xml index 44f74cb21..4cf46ee20 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_a_o/hibernate.hbm.xml @@ -1,17 +1,17 @@ <?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 Mon Nov 13 15:27:11 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:33 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.PersonImpl" discriminator-value="Person" table="`person`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> <key-property name="firstName" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> + <column not-null="true" unique="false" name="`firstname`"/> </key-property> <key-property name="lastName" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastname`"/> + <column not-null="true" unique="false" name="`lastname`"/> </key-property> </composite-id> <discriminator column="`dtype`" type="string"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_s_o/hibernate.hbm.xml index 2a6952e3d..610e4c70a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_s_o/hibernate.hbm.xml @@ -1,17 +1,17 @@ <?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 Mon Nov 13 15:26:50 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:19 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.PersonImpl" table="`person`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns</meta> <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> <key-property name="firstName" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> + <column not-null="true" unique="false" name="`firstname`"/> </key-property> <key-property name="lastName" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastname`"/> + <column not-null="true" unique="false" name="`lastname`"/> </key-property> </composite-id> <version name="myversion" column="myversion" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_a_o/hibernate.hbm.xml index fc8b3a0f0..018c80960 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/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 Mon Nov 13 15:27:08 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:30 CET 2006 --> <hibernate-mapping> <typedef name="nameType" class="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.NameType"/> <typedef name="usertype.PhoneNumber" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> @@ -27,19 +27,17 @@ <column not-null="false" unique="false" name="`first_name`"/> <column not-null="false" unique="false" name="`last_name`"/> </property> - <property name="numbers" type="intArrayType" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`numbers`"/> + <property name="numbers" type="intArrayType" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`numbers`"/> </property> <list name="phoneNumbers" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`person_phonenumbers_id`" not-null="true" unique="false"/> </key> <list-index column="`person_phonenumbers_idx`"/> - <element type="usertype.PhoneNumber"> - <column not-null="false" unique="false" name="`phonenumbers`"/> - </element> + <element type="usertype.PhoneNumber"/> </list> - <property name="emergencyContact" type="usertype.PhoneNumber" lazy="false" not-null="false"> + <property name="emergencyContact" type="usertype.PhoneNumber" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`emergencycontact`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_s_o/hibernate.hbm.xml index 231db0b03..6af707aeb 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/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 Mon Nov 13 15:26:42 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:13 CET 2006 --> <hibernate-mapping> <typedef name="nameType" class="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.NameType"/> <typedef name="usertype.PhoneNumber" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> @@ -26,19 +26,17 @@ <column not-null="false" unique="false" name="`first_name`"/> <column not-null="false" unique="false" name="`last_name`"/> </property> - <property name="numbers" type="intArrayType" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`numbers`"/> + <property name="numbers" type="intArrayType" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`numbers`"/> </property> <list name="phoneNumbers" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`person_phonenumbers_id`" not-null="true" unique="false"/> </key> <list-index column="`person_phonenumbers_idx`"/> - <element type="usertype.PhoneNumber"> - <column not-null="false" unique="false" name="`phonenumbers`"/> - </element> + <element type="usertype.PhoneNumber"/> </list> - <property name="emergencyContact" type="usertype.PhoneNumber" lazy="false" not-null="false"> + <property name="emergencyContact" type="usertype.PhoneNumber" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`emergencycontact`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_a_o/hibernate.hbm.xml index 6112da5b4..bff41ccc3 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/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 Mon Nov 13 15:27:29 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:46 CET 2006 --> <hibernate-mapping> <class entity-name="Contacts" abstract="false" lazy="false" discriminator-value="Contacts" table="`contacts`"> <meta attribute="eclassName">Contacts</meta> @@ -33,8 +33,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="phones" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -51,16 +51,16 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="office" type="java.lang.String" lazy="false" not-null="false"> + <property name="office" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`office`"/> </property> - <property name="mobile" type="java.lang.String" lazy="false" not-null="false"> + <property name="mobile" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`mobile`"/> </property> - <property name="fax" type="java.lang.String" lazy="false" not-null="false"> + <property name="fax" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`fax`"/> </property> - <property name="home" type="java.lang.String" lazy="false" not-null="false"> + <property name="home" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`home`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_s_o/hibernate.hbm.xml index ecf882e37..19aa481da 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/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 Mon Nov 13 15:27:27 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:44 CET 2006 --> <hibernate-mapping> <class entity-name="Contacts" abstract="false" lazy="false" table="`contacts`"> <meta attribute="eclassName">Contacts</meta> @@ -31,8 +31,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="phones" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -49,16 +49,16 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="office" type="java.lang.String" lazy="false" not-null="false"> + <property name="office" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`office`"/> </property> - <property name="mobile" type="java.lang.String" lazy="false" not-null="false"> + <property name="mobile" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`mobile`"/> </property> - <property name="fax" type="java.lang.String" lazy="false" not-null="false"> + <property name="fax" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`fax`"/> </property> - <property name="home" type="java.lang.String" lazy="false" not-null="false"> + <property name="home" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`home`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_a_o/hibernate.hbm.xml index 3656f6681..5d6fb9526 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/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 Mon Nov 13 15:27:29 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:45 CET 2006 --> <hibernate-mapping> <class entity-name="TestA" abstract="false" lazy="false" discriminator-value="TestA" table="`testa`"> <meta attribute="eclassName">TestA</meta> @@ -14,8 +14,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`code`"/> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`code`"/> </property> <many-to-one name="testB" entity-name="TestB" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`testb_testb_id`"/> @@ -32,8 +32,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`code`"/> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`code`"/> </property> </class> <class entity-name="TestC" abstract="false" lazy="false" discriminator-value="TestC" table="`testc`"> @@ -47,11 +47,11 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`code`"/> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`code`"/> </property> - <property name="myDate" type="serializable" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`mydate`"/> + <property name="myDate" type="serializable" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`mydate`"/> </property> <list name="testB" lazy="true" cascade="all,delete-orphan"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_s_o/hibernate.hbm.xml index 1fbca94f1..2ec09bda1 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/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 Mon Nov 13 15:27:27 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:44 CET 2006 --> <hibernate-mapping> <class entity-name="TestA" abstract="false" lazy="false" table="`testa`"> <meta attribute="eclassName">TestA</meta> @@ -13,8 +13,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`code`"/> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`code`"/> </property> <many-to-one name="testB" entity-name="TestB" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`testb_testb_id`"/> @@ -30,8 +30,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`code`"/> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`code`"/> </property> </class> <class entity-name="TestC" abstract="false" lazy="false" table="`testc`"> @@ -44,11 +44,11 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`code`"/> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`code`"/> </property> - <property name="myDate" type="serializable" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`mydate`"/> + <property name="myDate" type="serializable" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`mydate`"/> </property> <list name="testB" lazy="true" cascade="all,delete-orphan"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml index f28e664ad..8824b8209 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/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 Mon Nov 13 15:28:34 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:29 CET 2006 --> <hibernate-mapping> <class entity-name="Account" abstract="true" lazy="false" discriminator-value="Account" table="`account`"> <meta attribute="eclassName">Account</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="AccountGroup" abstract="false" lazy="false" discriminator-value="AccountGroup" table="`accountgroup`"> @@ -29,8 +29,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="account" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -51,7 +51,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="accountGroup" lazy="true" cascade="all,delete-orphan"> @@ -106,8 +106,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="journalGroups" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -135,13 +135,13 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="description" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`description`"/> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`description`"/> </property> - <property name="date" type="timestamp" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`date`"/> + <property name="date" type="timestamp" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`date`"/> </property> - <property name="amount" type="float" lazy="false" not-null="false"> + <property name="amount" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`amount`"/> </property> <many-to-one name="debitAccount" entity-name="Account" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true"> @@ -169,8 +169,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="debitReportGroup" entity-name="ReportGroup" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`reportgroup_debitreportgroup_id`"/> @@ -190,8 +190,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="reportGroup" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -221,10 +221,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="rate" type="float" lazy="false" not-null="false"> + <property name="rate" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`rate`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml index 296327aa9..93052cca4 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/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 Mon Nov 13 15:28:00 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:04 CET 2006 --> <hibernate-mapping> <class entity-name="Account" abstract="true" lazy="false" table="`account`"> <meta attribute="eclassName">Account</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="AccountGroup" abstract="false" lazy="false" table="`accountgroup`"> @@ -27,8 +27,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="account" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -48,7 +48,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="accountGroup" lazy="true" cascade="all,delete-orphan"> @@ -105,8 +105,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="journalGroups" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -133,13 +133,13 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="description" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`description`"/> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`description`"/> </property> - <property name="date" type="timestamp" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`date`"/> + <property name="date" type="timestamp" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`date`"/> </property> - <property name="amount" type="float" lazy="false" not-null="false"> + <property name="amount" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`amount`"/> </property> <many-to-one name="debitAccount" entity-name="Account" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true"> @@ -169,8 +169,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="debitReportGroup" entity-name="ReportGroup" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`reportgroup_debitreportgroup_id`"/> @@ -189,8 +189,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="reportGroup" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -219,10 +219,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="rate" type="float" lazy="false" not-null="false"> + <property name="rate" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`rate`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml index 4f9c96489..19550b3ae 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/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 Mon Nov 13 15:28:32 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:27 CET 2006 --> <hibernate-mapping> <class entity-name="CapacityEntry" abstract="false" lazy="false" discriminator-value="CapacityEntry" table="`capacityentry`"> <meta attribute="eclassName">CapacityEntry</meta> @@ -14,10 +14,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="capacityEntryId" type="java.lang.String" lazy="false" not-null="false"> + <property name="capacityEntryId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`capacityentryid`"/> </property> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> </class> @@ -35,16 +35,16 @@ <many-to-one name="workWeek" entity-name="WorkWeek" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`workweek_workweek_id`"/> </many-to-one> - <property name="machineId" type="java.lang.String" lazy="false" not-null="false"> + <property name="machineId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`machineid`"/> </property> - <property name="machineSearchString" type="java.lang.String" lazy="false" not-null="false"> + <property name="machineSearchString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`machinesearchstring`"/> </property> - <property name="multiplicity" type="int" lazy="false" not-null="false"> + <property name="multiplicity" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`multiplicity`"/> </property> - <property name="taskSearchString" type="java.lang.String" lazy="false" not-null="false"> + <property name="taskSearchString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`tasksearchstring`"/> </property> </class> @@ -78,22 +78,22 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="article" type="java.lang.String" lazy="false" not-null="false"> + <property name="article" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`article`"/> </property> - <property name="dueTime" type="serializable" lazy="false" not-null="false"> + <property name="dueTime" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`duetime`"/> </property> - <property name="missingAmount" type="float" lazy="false" not-null="false"> + <property name="missingAmount" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`missingamount`"/> </property> - <property name="productionId" type="java.lang.String" lazy="false" not-null="false"> + <property name="productionId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`productionid`"/> </property> - <property name="startTime" type="serializable" lazy="false" not-null="false"> + <property name="startTime" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`starttime`"/> </property> - <property name="totalAmount" type="float" lazy="false" not-null="false"> + <property name="totalAmount" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`totalamount`"/> </property> </class> @@ -114,16 +114,16 @@ <many-to-one name="production" entity-name="Production" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`production_production_id`"/> </many-to-one> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="taskId" type="java.lang.String" lazy="false" not-null="false"> + <property name="taskId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`taskid`"/> </property> - <property name="timePerPice" type="float" lazy="false" not-null="false"> + <property name="timePerPice" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`timeperpice`"/> </property> - <property name="timePerPreperation" type="float" lazy="false" not-null="false"> + <property name="timePerPreperation" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`timeperpreperation`"/> </property> </class> @@ -138,13 +138,13 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="dayOfWeek" type="int" lazy="false" not-null="false"> + <property name="dayOfWeek" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`dayofweek`"/> </property> - <property name="duration" type="int" lazy="false" not-null="false"> + <property name="duration" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`duration`"/> </property> - <property name="startTime" type="int" lazy="false" not-null="false"> + <property name="startTime" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`starttime`"/> </property> </class> @@ -166,7 +166,7 @@ <list-index column="`workweek_days_idx`"/> <one-to-many entity-name="WorkDay"/> </list> - <property name="workWeekId" type="java.lang.String" lazy="false" not-null="false"> + <property name="workWeekId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`workweekid`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml index cbca69dd7..a389fdca6 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/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 Mon Nov 13 15:27:56 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:02 CET 2006 --> <hibernate-mapping> <class entity-name="CapacityEntry" abstract="false" lazy="false" table="`capacityentry`"> <meta attribute="eclassName">CapacityEntry</meta> @@ -13,10 +13,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="capacityEntryId" type="java.lang.String" lazy="false" not-null="false"> + <property name="capacityEntryId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`capacityentryid`"/> </property> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> </class> @@ -33,16 +33,16 @@ <many-to-one name="workWeek" entity-name="WorkWeek" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`workweek_workweek_id`"/> </many-to-one> - <property name="machineId" type="java.lang.String" lazy="false" not-null="false"> + <property name="machineId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`machineid`"/> </property> - <property name="machineSearchString" type="java.lang.String" lazy="false" not-null="false"> + <property name="machineSearchString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`machinesearchstring`"/> </property> - <property name="multiplicity" type="int" lazy="false" not-null="false"> + <property name="multiplicity" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`multiplicity`"/> </property> - <property name="taskSearchString" type="java.lang.String" lazy="false" not-null="false"> + <property name="taskSearchString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`tasksearchstring`"/> </property> </class> @@ -74,22 +74,22 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="article" type="java.lang.String" lazy="false" not-null="false"> + <property name="article" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`article`"/> </property> - <property name="dueTime" type="serializable" lazy="false" not-null="false"> + <property name="dueTime" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`duetime`"/> </property> - <property name="missingAmount" type="float" lazy="false" not-null="false"> + <property name="missingAmount" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`missingamount`"/> </property> - <property name="productionId" type="java.lang.String" lazy="false" not-null="false"> + <property name="productionId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`productionid`"/> </property> - <property name="startTime" type="serializable" lazy="false" not-null="false"> + <property name="startTime" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`starttime`"/> </property> - <property name="totalAmount" type="float" lazy="false" not-null="false"> + <property name="totalAmount" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`totalamount`"/> </property> </class> @@ -109,16 +109,16 @@ <many-to-one name="production" entity-name="Production" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`production_production_id`"/> </many-to-one> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="taskId" type="java.lang.String" lazy="false" not-null="false"> + <property name="taskId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`taskid`"/> </property> - <property name="timePerPice" type="float" lazy="false" not-null="false"> + <property name="timePerPice" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`timeperpice`"/> </property> - <property name="timePerPreperation" type="float" lazy="false" not-null="false"> + <property name="timePerPreperation" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`timeperpreperation`"/> </property> </class> @@ -132,13 +132,13 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="dayOfWeek" type="int" lazy="false" not-null="false"> + <property name="dayOfWeek" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`dayofweek`"/> </property> - <property name="duration" type="int" lazy="false" not-null="false"> + <property name="duration" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`duration`"/> </property> - <property name="startTime" type="int" lazy="false" not-null="false"> + <property name="startTime" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`starttime`"/> </property> </class> @@ -159,7 +159,7 @@ <list-index column="`workweek_days_idx`"/> <one-to-many entity-name="WorkDay"/> </list> - <property name="workWeekId" type="java.lang.String" lazy="false" not-null="false"> + <property name="workWeekId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`workweekid`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml index 08b26462c..158442672 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml @@ -1,20 +1,20 @@ <?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 Mon Nov 13 15:28:40 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:35 CET 2006 --> <hibernate-mapping> <class entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`"> <meta attribute="eclassName">CatalogType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </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> - <property name="description" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`description`"/> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`description`"/> </property> <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -42,10 +42,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> - <property name="quantityTo" type="double" lazy="false" not-null="false"> + <property name="quantityTo" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantityto`"/> </property> <many-to-one name="supplier" entity-name="SupplierType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true"> @@ -56,13 +56,13 @@ <meta attribute="eclassName">ProductType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> <id name="code" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> + <column not-null="true" unique="false" name="`code`"/> </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> - <property name="description" type="java.lang.String" lazy="false" not-null="false"> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`description`"/> </property> <list name="remark" lazy="true" cascade="all,delete-orphan"> @@ -87,8 +87,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`value`"/> + <property name="value" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`value`"/> </property> </class> <class entity-name="SupplierType" abstract="false" lazy="false" discriminator-value="SupplierType" table="`suppliertype`"> @@ -102,10 +102,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="noOfEmployees" type="int" lazy="false" not-null="false"> + <property name="noOfEmployees" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`noofemployees`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml index 385eeb310..be74964ef 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml @@ -1,19 +1,19 @@ <?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 Mon Nov 13 15:28:08 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:10 CET 2006 --> <hibernate-mapping> <class entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`"> <meta attribute="eclassName">CatalogType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="description" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`description`"/> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`description`"/> </property> <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -40,10 +40,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> - <property name="quantityTo" type="double" lazy="false" not-null="false"> + <property name="quantityTo" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantityto`"/> </property> <many-to-one name="supplier" entity-name="SupplierType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true"> @@ -54,12 +54,12 @@ <meta attribute="eclassName">ProductType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> <id name="code" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> + <column not-null="true" unique="false" name="`code`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="description" type="java.lang.String" lazy="false" not-null="false"> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`description`"/> </property> <list name="remark" lazy="true" cascade="all,delete-orphan"> @@ -83,8 +83,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`value`"/> + <property name="value" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`value`"/> </property> </class> <class entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`"> @@ -97,10 +97,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="noOfEmployees" type="int" lazy="false" not-null="false"> + <property name="noOfEmployees" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`noofemployees`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml index 304747009..f64bca061 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/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 Mon Nov 13 15:28:32 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:28 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml index 175abe5e7..47ce20ea8 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/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 Mon Nov 13 15:27:58 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:03 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml index 4633cb629..9b3c4a6c8 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/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 Mon Nov 13 15:28:24 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:23 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> <meta attribute="eclassName">Item</meta> @@ -17,22 +17,22 @@ <many-to-one name="order" entity-name="PurchaseOrder" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`item_order_id`"/> </many-to-one> - <property name="productName" type="java.lang.String" lazy="false" not-null="false"> + <property name="productName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`productname`"/> </property> - <property name="quantity" type="int" lazy="false" not-null="false"> + <property name="quantity" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantity`"/> </property> - <property name="USPrice" type="int" lazy="false" not-null="false"> + <property name="USPrice" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`usprice`"/> </property> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="shipDate" type="timestamp" lazy="false" not-null="false"> + <property name="shipDate" type="timestamp" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shipdate`"/> </property> - <property name="partNum" type="java.lang.String" lazy="false" not-null="false"> + <property name="partNum" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`partnum`"/> </property> </class> @@ -47,26 +47,26 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="country" type="java.lang.String" lazy="false" not-null="false"> + <property name="country" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`country`"/> </property> </class> <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"> <meta attribute="eclassName">USAddress</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/extendedpo2</meta> - <property name="street" type="java.lang.String" lazy="false" not-null="false"> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`street`"/> </property> - <property name="city" type="java.lang.String" lazy="false" not-null="false"> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`city`"/> </property> - <property name="state" type="java.lang.String" lazy="false" not-null="false"> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`state`"/> </property> - <property name="zip" type="int" lazy="false" not-null="false"> + <property name="zip" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`zip`"/> </property> </subclass> @@ -94,13 +94,13 @@ <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> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="orderDate" type="timestamp" lazy="false" not-null="false"> + <property name="orderDate" type="timestamp" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`orderdate`"/> </property> - <property name="status" lazy="false" not-null="false"> + <property name="status" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`status`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.epo2.OrderStatus</param> @@ -124,7 +124,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="customers" lazy="true" cascade="all,delete-orphan"> @@ -153,7 +153,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="customerID" type="int" lazy="false" not-null="false"> + <property name="customerID" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`customerid`"/> </property> <list name="orders" lazy="true" cascade="merge,persist,save-update,lock,refresh"> @@ -167,7 +167,7 @@ <subclass entity-name="GlobalAddress" abstract="false" lazy="false" extends="Address" discriminator-value="GlobalAddress"> <meta attribute="eclassName">GlobalAddress</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/extendedpo2</meta> - <property name="countryCode" type="int" lazy="false" not-null="false"> + <property name="countryCode" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`countrycode`"/> </property> <list name="location" lazy="true" cascade="all,delete-orphan"> @@ -175,9 +175,7 @@ <column name="`globaladdress_location_id`" not-null="true" unique="false"/> </key> <list-index column="`globaladdress_location_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`location`"/> - </element> + <element type="java.lang.String"/> </list> </subclass> <class entity-name="GlobalLocation" abstract="false" lazy="false" discriminator-value="GlobalLocation" table="`globallocation`"> @@ -191,7 +189,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="countryCode" type="int" lazy="false" not-null="false"> + <property name="countryCode" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`countrycode`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml index e9dd44a3b..c1b9a3893 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/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 Mon Nov 13 15:27:50 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:58 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" table="`item`"> <meta attribute="eclassName">Item</meta> @@ -16,22 +16,22 @@ <many-to-one name="order" entity-name="PurchaseOrder" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`item_order_id`"/> </many-to-one> - <property name="productName" type="java.lang.String" lazy="false" not-null="false"> + <property name="productName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`productname`"/> </property> - <property name="quantity" type="int" lazy="false" not-null="false"> + <property name="quantity" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantity`"/> </property> - <property name="USPrice" type="int" lazy="false" not-null="false"> + <property name="USPrice" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`usprice`"/> </property> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="shipDate" type="timestamp" lazy="false" not-null="false"> + <property name="shipDate" type="timestamp" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shipdate`"/> </property> - <property name="partNum" type="java.lang.String" lazy="false" not-null="false"> + <property name="partNum" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`partnum`"/> </property> </class> @@ -45,10 +45,10 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="country" type="java.lang.String" lazy="false" not-null="false"> + <property name="country" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`country`"/> </property> </class> @@ -58,16 +58,16 @@ <key> <column name="`address_id`"/> </key> - <property name="street" type="java.lang.String" lazy="false" not-null="false"> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`street`"/> </property> - <property name="city" type="java.lang.String" lazy="false" not-null="false"> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`city`"/> </property> - <property name="state" type="java.lang.String" lazy="false" not-null="false"> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`state`"/> </property> - <property name="zip" type="int" lazy="false" not-null="false"> + <property name="zip" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`zip`"/> </property> </joined-subclass> @@ -94,13 +94,13 @@ <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> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="orderDate" type="timestamp" lazy="false" not-null="false"> + <property name="orderDate" type="timestamp" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`orderdate`"/> </property> - <property name="status" lazy="false" not-null="false"> + <property name="status" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`status`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.epo2.OrderStatus</param> @@ -123,7 +123,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="customers" lazy="true" cascade="all,delete-orphan"> @@ -151,7 +151,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="customerID" type="int" lazy="false" not-null="false"> + <property name="customerID" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`customerid`"/> </property> <list name="orders" lazy="true" cascade="merge,persist,save-update,lock,refresh"> @@ -168,7 +168,7 @@ <key> <column name="`address_id`"/> </key> - <property name="countryCode" type="int" lazy="false" not-null="false"> + <property name="countryCode" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`countrycode`"/> </property> <list name="location" lazy="true" cascade="all,delete-orphan"> @@ -176,9 +176,7 @@ <column name="`globaladdress_location_id`" not-null="true" unique="false"/> </key> <list-index column="`globaladdress_location_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`location`"/> - </element> + <element type="java.lang.String"/> </list> </joined-subclass> <class entity-name="GlobalLocation" abstract="false" lazy="false" table="`globallocation`"> @@ -191,7 +189,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="countryCode" type="int" lazy="false" not-null="false"> + <property name="countryCode" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`countrycode`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml index 10a5e1649..fafce134e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/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 Mon Nov 13 15:28:28 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:26 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml index 3140e4c0c..cb4dedb9b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/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 Mon Nov 13 15:27:55 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:01 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml index 5cdb3e1c5..377555ab9 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/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 Mon Nov 13 15:28:38 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:33 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -19,13 +19,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -47,8 +47,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <cache usage="read-write"/> @@ -79,8 +79,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <cache usage="read-write"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml index f9d212b1d..7fb7c17cc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/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 Mon Nov 13 15:28:06 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:08 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <cache usage="read-write"/> @@ -76,8 +76,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <cache usage="read-write"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml index e1d26c859..8de5f6d60 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/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 Mon Nov 13 15:28:42 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:38 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml index 4c2ca7e63..4dd6c9133 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/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 Mon Nov 13 15:28:12 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:14 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml index 88e53f4ff..3df1628fa 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/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 Mon Nov 13 15:28:39 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:34 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> @@ -14,13 +14,13 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.BookCategory</param> @@ -41,7 +41,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> @@ -70,7 +70,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> @@ -92,21 +92,21 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="float" lazy="false" not-null="false"> + <property name="value" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> <subclass entity-name="SchoolBook" abstract="false" lazy="false" extends="Book" discriminator-value="SchoolBook"> <meta attribute="eclassName">SchoolBook</meta> <meta attribute="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <property name="value" type="float" lazy="false" not-null="false"> + <property name="value" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </subclass> <subclass entity-name="SchoolLibrary" abstract="false" lazy="false" extends="Library" discriminator-value="SchoolLibrary"> <meta attribute="eclassName">SchoolLibrary</meta> <meta attribute="epackage">http:///org/elver/store/test/emf/sample/schoollibrary/schoollibrary.ecore</meta> - <property name="location" type="java.lang.String" lazy="false" not-null="false"> + <property name="location" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`location`"/> </property> </subclass> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml index 0444c469a..efa705a9d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/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 Mon Nov 13 15:28:07 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:09 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> @@ -13,13 +13,13 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.BookCategory</param> @@ -39,7 +39,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> @@ -67,7 +67,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> @@ -88,7 +88,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="float" lazy="false" not-null="false"> + <property name="value" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> @@ -98,7 +98,7 @@ <key> <column name="`book_id`"/> </key> - <property name="value" type="float" lazy="false" not-null="false"> + <property name="value" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </joined-subclass> @@ -108,7 +108,7 @@ <key> <column name="`library_id`"/> </key> - <property name="location" type="java.lang.String" lazy="false" not-null="false"> + <property name="location" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`location`"/> </property> </joined-subclass> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_a_o/hibernate.hbm.xml index cf93d1c4d..a54aeb59a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_a_o/hibernate.hbm.xml @@ -1,32 +1,32 @@ <?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 Mon Nov 13 15:29:09 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:03 CET 2006 --> <hibernate-mapping> <class entity-name="A" abstract="false" lazy="false" discriminator-value="A" table="`a`"> <meta attribute="eclassName">A</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/attributes</meta> <id name="id" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> </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> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="b" type="long" lazy="false" not-null="false"> + <property name="b" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`b`"/> </property> - <property name="c" type="java.lang.String" lazy="false" not-null="false"> + <property name="c" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`c`"/> </property> - <property name="comment" type="double" lazy="false" not-null="false"> + <property name="comment" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="d" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`d`"/> + <property name="d" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`d`"/> </property> <many-to-one name="myR" entity-name="R" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`r_myr_id`"/> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <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/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_s_o/hibernate.hbm.xml index aa454d337..a95ca4cb1 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_s_o/hibernate.hbm.xml @@ -1,31 +1,31 @@ <?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 Mon Nov 13 15:28:57 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:51 CET 2006 --> <hibernate-mapping> <class entity-name="A" abstract="false" lazy="false" table="`a`"> <meta attribute="eclassName">A</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/attributes</meta> <id name="id" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> </id> <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="b" type="long" lazy="false" not-null="false"> + <property name="b" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`b`"/> </property> - <property name="c" type="java.lang.String" lazy="false" not-null="false"> + <property name="c" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`c`"/> </property> - <property name="comment" type="double" lazy="false" not-null="false"> + <property name="comment" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="d" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`d`"/> + <property name="d" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`d`"/> </property> <many-to-one name="myR" entity-name="R" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`r_myr_id`"/> @@ -41,8 +41,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <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/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_a_o/hibernate.hbm.xml index 71643bcee..6bd708a13 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/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 Mon Nov 13 15:27:19 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:38 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -14,51 +14,51 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="street" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`street`"/> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`street`"/> </property> - <property name="postalCode" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`postalcode`"/> + <property name="postalCode" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`postalcode`"/> </property> </class> <class entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`employee`"> <meta attribute="eclassName">Employee</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> </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> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`employee_address_id`"/> </many-to-one> - <property name="department" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`department`"/> + <property name="department" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`department`"/> </property> </class> <class entity-name="Student" abstract="false" lazy="false" discriminator-value="Student" table="`student`"> <meta attribute="eclassName">Student</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> </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> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`address_address_id`"/> </many-to-one> - <property name="faculty" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`faculty`"/> + <property name="faculty" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`faculty`"/> </property> </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.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml index fcbbb70ba..54c83216d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/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 Mon Nov 13 15:27:00 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:25 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="false" lazy="false" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -13,49 +13,49 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="street" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`street`"/> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`street`"/> </property> - <property name="postalCode" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`postalcode`"/> + <property name="postalCode" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`postalcode`"/> </property> </class> <class entity-name="Employee" abstract="false" lazy="false" table="`employee`"> <meta attribute="eclassName">Employee</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> </id> <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`employee_address_id`"/> </many-to-one> - <property name="department" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`department`"/> + <property name="department" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`department`"/> </property> </class> <class entity-name="Student" abstract="false" lazy="false" table="`student`"> <meta attribute="eclassName">Student</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> </id> <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`address_address_id`"/> </many-to-one> - <property name="faculty" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`faculty`"/> + <property name="faculty" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`faculty`"/> </property> </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.annotations.AttributeOverridesAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_a_o/hibernate.hbm.xml index 01b276308..2ff350859 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/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 Mon Nov 13 15:27:25 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:43 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> <meta attribute="eclassName">Person</meta> @@ -14,14 +14,14 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <component name="bornIn" class="City"> <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`bornnamecolumn`"/> </property> - <property name="country" type="java.lang.String" lazy="false" not-null="false"> + <property name="country" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`bornin_country`"/> </property> </component> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_s_o/hibernate.hbm.xml index cc6cb2d05..bcf7a69cc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/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 Mon Nov 13 15:27:07 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:29 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" table="`person`"> <meta attribute="eclassName">Person</meta> @@ -13,14 +13,14 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <component name="bornIn" class="City"> <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`bornnamecolumn`"/> </property> - <property name="country" type="java.lang.String" lazy="false" not-null="false"> + <property name="country" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`bornin_country`"/> </property> </component> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_a_o/hibernate.hbm.xml index a23289422..90d0fb5be 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/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 Mon Nov 13 15:27:20 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:39 CET 2006 --> <hibernate-mapping> <class entity-name="Basic" abstract="false" lazy="false" discriminator-value="Basic" table="`basic`"> <meta attribute="eclassName">Basic</meta> @@ -11,8 +11,10 @@ <generator class="native"/> </id> <discriminator column="`dtype`" type="string"/> - <version name="myVersion" type="long"/> - <property name="myOptionalBasic" type="java.lang.String" lazy="false" not-null="false"> + <version name="myVersion" type="long"> + <column not-null="true" unique="false" name="`myversion`"/> + </version> + <property name="myOptionalBasic" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`myoptionalbasic`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_s_o/hibernate.hbm.xml index 207e517c1..4dae24084 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/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 Mon Nov 13 15:27:02 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:26 CET 2006 --> <hibernate-mapping> <class entity-name="Basic" abstract="false" lazy="false" table="`basic`"> <meta attribute="eclassName">Basic</meta> @@ -10,8 +10,10 @@ <meta attribute="syntheticId">true</meta> <generator class="native"/> </id> - <version name="myVersion" type="long"/> - <property name="myOptionalBasic" type="java.lang.String" lazy="false" not-null="false"> + <version name="myVersion" type="long"> + <column not-null="true" unique="false" name="`myversion`"/> + </version> + <property name="myOptionalBasic" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`myoptionalbasic`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_a_o/hibernate.hbm.xml index 2fbb3936d..d4059d851 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/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 Mon Nov 13 15:27:15 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:35 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`mybooktable`"> <meta attribute="eclassName">Book</meta> @@ -23,8 +23,8 @@ <property name="weight" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> </property> - <property name="author" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`author`"/> + <property name="author" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`author`"/> </property> </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.annotations.BookAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_s_o/hibernate.hbm.xml index 5238f6a9f..974225249 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/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 Mon Nov 13 15:26:55 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:22 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`mybooktable`"> <meta attribute="eclassName">Book</meta> @@ -22,8 +22,8 @@ <property name="weight" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> </property> - <property name="author" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`author`"/> + <property name="author" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`author`"/> </property> </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.annotations.CascadeNotallAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_a_o/hibernate.hbm.xml index 8b77e90bd..640fcd24b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/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 Mon Nov 13 15:27:22 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:40 CET 2006 --> <hibernate-mapping> <typedef name="cascadenotall.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_s_o/hibernate.hbm.xml index 959ad41f5..405c59cfe 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/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 Mon Nov 13 15:27:03 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:27 CET 2006 --> <hibernate-mapping> <typedef name="cascadenotall.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/cascadenotall</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml index 40cdafa27..a714c4c41 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml @@ -1,17 +1,17 @@ <?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 Mon Nov 13 15:27:22 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:40 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.PersonImpl" discriminator-value="Person" table="`person`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> <key-property name="firstName" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> + <column not-null="true" unique="false" name="`firstname`"/> </key-property> <key-property name="lastName" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastname`"/> + <column not-null="true" unique="false" name="`lastname`"/> </key-property> </composite-id> <discriminator column="`dtype`" type="string"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_s_o/hibernate.hbm.xml index f06cb37bc..da4a42d35 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_s_o/hibernate.hbm.xml @@ -1,17 +1,17 @@ <?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 Mon Nov 13 15:27:03 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:27 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.PersonImpl" table="`person`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http:///org/elver/samples/emf/annotations/compositeid.ecore</meta> <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true"> <key-property name="firstName" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> + <column not-null="true" unique="false" name="`firstname`"/> </key-property> <key-property name="lastName" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastname`"/> + <column not-null="true" unique="false" name="`lastname`"/> </key-property> </composite-id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_a_o/hibernate.hbm.xml index a4222d1c2..6af08fcb1 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/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 Mon Nov 13 15:27:12 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:33 CET 2006 --> <hibernate-mapping> <class entity-name="ChildItem" abstract="false" lazy="false" discriminator-value="ChildItem" table="`childitem`"> <meta attribute="eclassName">ChildItem</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> @@ -29,8 +29,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="childItem" lazy="true" cascade="all,delete-orphan"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_s_o/hibernate.hbm.xml index df8dcf9f2..38af07f11 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/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 Mon Nov 13 15:26:51 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:19 CET 2006 --> <hibernate-mapping> <class entity-name="ChildItem" abstract="false" lazy="false" table="`childitem`"> <meta attribute="eclassName">ChildItem</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Item" abstract="false" lazy="false" table="`item`"> @@ -27,8 +27,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="childItem" lazy="true" cascade="all,delete-orphan"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_a_o/hibernate.hbm.xml index e9ae6d0d7..367d7d905 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/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 Mon Nov 13 15:27:15 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:36 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`mybooktable`"> <meta attribute="eclassName">Book</meta> @@ -23,8 +23,8 @@ <property name="weight" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> </property> - <property name="author" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`author`"/> + <property name="author" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`author`"/> </property> </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.annotations.EDataTypeAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_s_o/hibernate.hbm.xml index 11d9eed4e..99fd31d87 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/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 Mon Nov 13 15:26:56 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:22 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`mybooktable`"> <meta attribute="eclassName">Book</meta> @@ -22,8 +22,8 @@ <property name="weight" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/> </property> - <property name="author" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`author`"/> + <property name="author" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`author`"/> </property> </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.annotations.EmbeddedAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_a_o/hibernate.hbm.xml index 6e0315674..ecc20d997 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/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 Mon Nov 13 15:27:23 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:41 CET 2006 --> <hibernate-mapping> <class entity-name="Embedder" abstract="false" lazy="false" discriminator-value="Embedder" table="`embedder`"> <meta attribute="eclassName">Embedder</meta> @@ -18,7 +18,7 @@ <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> <column not-null="false" unique="false" name="`columnstring3`"/> </property> - <property name="myInteger" type="int" lazy="false" not-null="false"> + <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`firstembedded_myinteger`"/> </property> </component> @@ -44,19 +44,19 @@ </key> <list-index column="`embedder_fourthembedded_idx`"/> <composite-element class="Embeddable"> - <property name="myString" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`mystring`"/> + <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`mystring`"/> </property> - <property name="myInteger" type="int" lazy="false" not-null="false"> + <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`myinteger`"/> </property> </composite-element> </list> <component name="fifthEmbedded" class="Embeddable"> - <property name="myString" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`fifthembedded_mystring`"/> + <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`fifthembedded_mystring`"/> </property> - <property name="myInteger" type="int" lazy="false" not-null="false"> + <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`fifthembedded_myinteger`"/> </property> </component> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_s_o/hibernate.hbm.xml index b7cad9267..5aa580191 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/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 Mon Nov 13 15:27:04 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:28 CET 2006 --> <hibernate-mapping> <class entity-name="Embedder" abstract="false" lazy="false" table="`embedder`"> <meta attribute="eclassName">Embedder</meta> @@ -17,7 +17,7 @@ <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> <column not-null="false" unique="false" name="`columnstring3`"/> </property> - <property name="myInteger" type="int" lazy="false" not-null="false"> + <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`firstembedded_myinteger`"/> </property> </component> @@ -43,19 +43,19 @@ </key> <list-index column="`embedder_fourthembedded_idx`"/> <composite-element class="Embeddable"> - <property name="myString" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`mystring`"/> + <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`mystring`"/> </property> - <property name="myInteger" type="int" lazy="false" not-null="false"> + <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`myinteger`"/> </property> </composite-element> </list> <component name="fifthEmbedded" class="Embeddable"> - <property name="myString" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`fifthembedded_mystring`"/> + <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`fifthembedded_mystring`"/> </property> - <property name="myInteger" type="int" lazy="false" not-null="false"> + <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`fifthembedded_myinteger`"/> </property> </component> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_a_o/hibernate.hbm.xml index 435effe90..4e41d95d2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_a_o/hibernate.hbm.xml @@ -1,24 +1,24 @@ <?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 Mon Nov 13 15:27:26 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:43 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" discriminator-value="Person" table="`person`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> <key-property name="firstName" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> + <column not-null="true" unique="false" name="`firstname`"/> </key-property> <key-property name="lastName" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastname`"/> + <column not-null="true" unique="false" name="`lastname`"/> </key-property> </composite-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> - <property name="address" type="text" lazy="false" not-null="false"> + <property name="address" type="text" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`address`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_s_o/hibernate.hbm.xml index f065ad6df..0e731ee96 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_s_o/hibernate.hbm.xml @@ -1,23 +1,23 @@ <?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 Mon Nov 13 15:27:07 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:30 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" table="`person`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid</meta> <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl"> <key-property name="firstName" type="java.lang.String"> - <column not-null="false" unique="false" name="`firstname`"/> + <column not-null="true" unique="false" name="`firstname`"/> </key-property> <key-property name="lastName" type="java.lang.String"> - <column not-null="false" unique="false" name="`lastname`"/> + <column not-null="true" unique="false" name="`lastname`"/> </key-property> </composite-id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="address" type="text" lazy="false" not-null="false"> + <property name="address" type="text" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`address`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_a_o/hibernate.hbm.xml index 39ff03222..c99fa175b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_a_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:27:10 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:32 CET 2006 --> <hibernate-mapping> <class entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`"> <meta attribute="eclassName">IdentityID</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> <id name="myid" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> <generator class="identity"/> </id> <discriminator column="`dtype`" type="string"/> @@ -31,7 +31,7 @@ <meta attribute="eclassName">TableID</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> <id name="myid" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> <generator class="hilo"> <param name="table">uid_table</param> <param name="column">next_hi_value_column</param> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_s_o/hibernate.hbm.xml index d74f19b13..8c8494c48 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_s_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:26:50 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:18 CET 2006 --> <hibernate-mapping> <class entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`"> <meta attribute="eclassName">IdentityID</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> <id name="myid" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> <generator class="identity"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> @@ -29,7 +29,7 @@ <meta attribute="eclassName">TableID</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> <id name="myid" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> <generator class="hilo"> <param name="table">uid_table</param> <param name="column">next_hi_value_column</param> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_a_o/hibernate.hbm.xml index 0ebb247f3..b64b1634f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/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 Mon Nov 13 15:27:09 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:32 CET 2006 --> <hibernate-mapping> <class entity-name="User" abstract="false" lazy="false" discriminator-value="User" table="`user`"> <meta attribute="eclassName">User</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <idbag name="roles" lazy="true" cascade="all,delete-orphan"> <collection-id column="ID" type="long"> @@ -24,9 +24,7 @@ <key update="true"> <column name="`user_roles_id`" not-null="true" unique="false"/> </key> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`roles`"/> - </element> + <element type="java.lang.String"/> </idbag> </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.annotations.IdBagAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_s_o/hibernate.hbm.xml index 6dc1fac6d..95db737ad 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/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 Mon Nov 13 15:26:49 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:18 CET 2006 --> <hibernate-mapping> <class entity-name="User" abstract="false" lazy="false" table="`user`"> <meta attribute="eclassName">User</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <idbag name="roles" lazy="true" cascade="all,delete-orphan"> <collection-id column="ID" type="long"> @@ -23,9 +23,7 @@ <key update="true"> <column name="`user_roles_id`" not-null="true" unique="false"/> </key> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`roles`"/> - </element> + <element type="java.lang.String"/> </idbag> </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.annotations.InheritanceAnnotationAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_a_o/hibernate.hbm.xml index a7dcd5c2d..c4664eceb 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/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 Mon Nov 13 15:27:13 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:34 CET 2006 --> <hibernate-mapping> <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> @@ -11,23 +11,23 @@ <meta attribute="eclassName">Address</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="street" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`street`"/> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`street`"/> </property> - <property name="city" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`city`"/> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`city`"/> </property> </class> <class entity-name="ContentList" abstract="false" lazy="false" discriminator-value="ContentList" table="`contentlist`"> <meta attribute="eclassName">ContentList</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> @@ -54,8 +54,8 @@ <key> <column name="`address_name`"/> </key> - <property name="postcode" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`postcode`"/> + <property name="postcode" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`postcode`"/> </property> </joined-subclass> <joined-subclass entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> @@ -64,7 +64,7 @@ <key> <column name="`ukaddress_name`"/> </key> - <property name="district" type="java.lang.String" lazy="false" not-null="false"> + <property name="district" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`district`"/> </property> </joined-subclass> @@ -79,17 +79,17 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="value" type="java.math.BigDecimal" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`value`"/> + <property name="value" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`value`"/> </property> </class> <subclass entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> <meta attribute="eclassName">InternationalPrice</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" type="java.lang.String" lazy="false" not-null="false"> + <property name="currency" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`currency`"/> </property> </subclass> @@ -99,13 +99,13 @@ <key> <column name="`address_name`"/> </key> - <property name="state" lazy="false" not-null="false"> + <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`state`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> </type> </property> - <property name="zip" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="zip" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`zip`"/> </property> </joined-subclass> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml index 3166e3db2..881a44b20 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/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 Mon Nov 13 15:26:53 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:21 CET 2006 --> <hibernate-mapping> <typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param> @@ -11,23 +11,23 @@ <meta attribute="eclassName">Address</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="street" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`street`"/> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`street`"/> </property> - <property name="city" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`city`"/> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`city`"/> </property> </class> <class entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`"> <meta attribute="eclassName">ContentList</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> @@ -53,8 +53,8 @@ <key> <column name="`address_name`"/> </key> - <property name="postcode" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`postcode`"/> + <property name="postcode" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`postcode`"/> </property> </joined-subclass> <joined-subclass entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`"> @@ -63,7 +63,7 @@ <key> <column name="`ukaddress_name`"/> </key> - <property name="district" type="java.lang.String" lazy="false" not-null="false"> + <property name="district" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`district`"/> </property> </joined-subclass> @@ -78,17 +78,17 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="value" type="java.math.BigDecimal" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`value`"/> + <property name="value" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`value`"/> </property> </class> <subclass entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice"> <meta attribute="eclassName">InternationalPrice</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta> - <property name="currency" type="java.lang.String" lazy="false" not-null="false"> + <property name="currency" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`currency`"/> </property> </subclass> @@ -98,13 +98,13 @@ <key> <column name="`address_name`"/> </key> - <property name="state" lazy="false" not-null="false"> + <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`state`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param> </type> </property> - <property name="zip" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="zip" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`zip`"/> </property> </joined-subclass> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml index 44ca9d58a..882e2789a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/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 Mon Nov 13 15:27:14 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:35 CET 2006 --> <hibernate-mapping> <typedef name="lazy.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.lazy.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="false" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_s_o/hibernate.hbm.xml index ccb45d0c3..d5f7bad6f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/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 Mon Nov 13 15:26:54 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:21 CET 2006 --> <hibernate-mapping> <typedef name="lazy.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.lazy.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="false" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml index 4c58c1b9e..5b5853622 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/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 Mon Nov 13 15:27:25 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:43 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> <meta attribute="eclassName">Person</meta> @@ -14,13 +14,13 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="id" type="long" lazy="false" not-null="false"> + <property name="id" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`id`"/> </property> - <property name="name" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="address" type="text" lazy="false" not-null="false"> + <property name="address" type="text" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`address`"/> </property> <property name="photo" type="binary" lazy="false" insert="true" update="true" not-null="false" unique="false"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_s_o/hibernate.hbm.xml index 4ab8a0ed9..d0dd99c82 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/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 Mon Nov 13 15:27:07 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:30 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" table="`person`"> <meta attribute="eclassName">Person</meta> @@ -13,13 +13,13 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="id" type="long" lazy="false" not-null="false"> + <property name="id" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`id`"/> </property> - <property name="name" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="address" type="text" lazy="false" not-null="false"> + <property name="address" type="text" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`address`"/> </property> <property name="photo" type="binary" lazy="false" insert="true" update="true" not-null="false" unique="false"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_a_o/hibernate.hbm.xml index a5d044fdd..6e4b6cce0 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/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 Mon Nov 13 15:27:17 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:36 CET 2006 --> <hibernate-mapping> <class entity-name="Cntr" abstract="false" lazy="false" discriminator-value="Cntr" table="`cntr`"> <meta attribute="eclassName">Cntr</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_s_o/hibernate.hbm.xml index 0556c72c0..403363371 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/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 Mon Nov 13 15:26:57 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:23 CET 2006 --> <hibernate-mapping> <class entity-name="Cntr" abstract="false" lazy="false" table="`cntr`"> <meta attribute="eclassName">Cntr</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_a_o/hibernate.hbm.xml index 22f6d7a06..b47639764 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/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 Mon Nov 13 15:27:08 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:30 CET 2006 --> <hibernate-mapping> <class entity-name="AddIDDocument" abstract="false" lazy="false" discriminator-value="AddIDDocument" table="`addiddocument`"> <meta attribute="eclassName">AddIDDocument</meta> @@ -14,11 +14,11 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="myGenericInfo" type="java.lang.String" lazy="false" not-null="false"> + <property name="myGenericInfo" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`mygenericinfo`"/> </property> - <property name="name" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="SpecificDocument" abstract="false" lazy="false" discriminator-value="SpecificDocument" table="`specificdocument`"> @@ -32,14 +32,14 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="myName" type="java.lang.String" lazy="false" not-null="false"> + <property name="myName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`myname`"/> </property> - <property name="myGenericInfo" type="java.lang.String" lazy="false" not-null="false"> + <property name="myGenericInfo" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`mygenericinfo`"/> </property> - <property name="mySpecificInfo" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`myspecificinfo`"/> + <property name="mySpecificInfo" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`myspecificinfo`"/> </property> </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.annotations.MappedSuperClassAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_s_o/hibernate.hbm.xml index 117d5f638..ce42b68c7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/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 Mon Nov 13 15:26:45 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:16 CET 2006 --> <hibernate-mapping> <class entity-name="AddIDDocument" abstract="false" lazy="false" table="`addiddocument`"> <meta attribute="eclassName">AddIDDocument</meta> @@ -13,11 +13,11 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="myGenericInfo" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`mygenericinfo`"/> + <property name="myGenericInfo" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`mygenericinfo`"/> </property> - <property name="name" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="SpecificDocument" abstract="false" lazy="false" table="`specificdocument`"> @@ -30,14 +30,14 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="myName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`myname`"/> + <property name="myName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`myname`"/> </property> - <property name="myGenericInfo" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`mygenericinfo`"/> + <property name="myGenericInfo" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`mygenericinfo`"/> </property> - <property name="mySpecificInfo" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`myspecificinfo`"/> + <property name="mySpecificInfo" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`myspecificinfo`"/> </property> </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.annotations.PKeyJoinAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_a_o/hibernate.hbm.xml index eda4fb697..4213936f2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_a_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:27:23 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:41 CET 2006 --> <hibernate-mapping> <class entity-name="Body" abstract="false" lazy="false" discriminator-value="Body" table="`body`"> <meta attribute="eclassName">Body</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> <id name="theID" type="long"> - <column not-null="false" unique="false" name="`theid`"/> + <column not-null="true" unique="false" name="`theid`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> @@ -19,7 +19,7 @@ <meta attribute="eclassName">Head</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> <id name="myID" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_s_o/hibernate.hbm.xml index 0d3de32f3..549c426c9 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_s_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:27:04 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:28 CET 2006 --> <hibernate-mapping> <class entity-name="Body" abstract="false" lazy="false" table="`body`"> <meta attribute="eclassName">Body</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> <id name="theID" type="long"> - <column not-null="false" unique="false" name="`theid`"/> + <column not-null="true" unique="false" name="`theid`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> @@ -18,7 +18,7 @@ <meta attribute="eclassName">Head</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/primarykeyjoin</meta> <id name="myID" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_a_o/hibernate.hbm.xml index 9c39f9a89..ea6978455 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_a_o/hibernate.hbm.xml @@ -1,20 +1,20 @@ <?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 Mon Nov 13 15:27:16 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:36 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`PERSON`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytablehibernate</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`ID`"/> + <column not-null="true" unique="false" name="`ID`"/> </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> - <property name="name" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`NAME`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`NAME`"/> </property> <join table="`PERSON_ADDRESS`"> <key column="`ID`"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_s_o/hibernate.hbm.xml index 6335e949a..a00aca134 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_s_o/hibernate.hbm.xml @@ -1,19 +1,19 @@ <?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 Mon Nov 13 15:26:57 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:23 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" table="`PERSON`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytablehibernate</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`ID`"/> + <column not-null="true" unique="false" name="`ID`"/> </id> <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`NAME`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`NAME`"/> </property> <join table="`PERSON_ADDRESS`"> <key column="`ID`"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_a_o/hibernate.hbm.xml index 2b7620133..a09230656 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/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 Mon Nov 13 15:27:19 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:38 CET 2006 --> <hibernate-mapping> <class entity-name="ContainedItem" abstract="false" lazy="false" discriminator-value="ContainedItem" table="`containeditem`"> <meta attribute="eclassName">ContainedItem</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> @@ -29,8 +29,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <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`"/> @@ -47,8 +47,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_s_o/hibernate.hbm.xml index 2a2c6d255..bd7e0f8fa 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/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 Mon Nov 13 15:27:00 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:26 CET 2006 --> <hibernate-mapping> <class entity-name="ContainedItem" abstract="false" lazy="false" table="`containeditem`"> <meta attribute="eclassName">ContainedItem</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Item" abstract="false" lazy="false" table="`item`"> @@ -27,8 +27,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <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`"/> @@ -44,8 +44,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_a_o/hibernate.hbm.xml index e72dc721e..6f025f91c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/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 Mon Nov 13 15:27:24 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:42 CET 2006 --> <hibernate-mapping> <class entity-name="MyItem" abstract="false" lazy="false" discriminator-value="MyItem" table="`myitem`"> <meta attribute="eclassName">MyItem</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="yourItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="youritem_myitem"> <key update="true"> @@ -37,8 +37,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="myItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="youritem_myitem"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_s_o/hibernate.hbm.xml index 6df9e5c3f..6eddf7b3d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/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 Mon Nov 13 15:27:06 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:29 CET 2006 --> <hibernate-mapping> <class entity-name="MyItem" abstract="false" lazy="false" table="`myitem`"> <meta attribute="eclassName">MyItem</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="yourItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="youritem_myitem"> <key update="true"> @@ -35,8 +35,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="myItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="youritem_myitem"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_a_o/hibernate.hbm.xml index cf6ecb137..da855281f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/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 Mon Nov 13 15:27:23 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:41 CET 2006 --> <hibernate-mapping> <class entity-name="ContainedItem" abstract="false" lazy="false" discriminator-value="ContainedItem" table="`containeditem`"> <meta attribute="eclassName">ContainedItem</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> @@ -29,8 +29,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <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`"/> @@ -47,8 +47,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> <key update="true"> 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 56932d423..4a9324642 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 Mon Nov 13 15:27:05 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:28 CET 2006 --> <hibernate-mapping> <class entity-name="ContainedItem" abstract="false" lazy="false" table="`containeditem`"> <meta attribute="eclassName">ContainedItem</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Item" abstract="false" lazy="false" table="`item`"> @@ -27,8 +27,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <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`"/> @@ -44,8 +44,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="containedItem" lazy="true" cascade="all,delete-orphan"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_a_o/hibernate.hbm.xml index d48de00ad..1dc306d19 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/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 Mon Nov 13 15:27:09 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:31 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -14,8 +14,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="city" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`city`"/> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`city`"/> </property> </class> <class entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`"> @@ -29,8 +29,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="hairColor" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`haircolor`"/> + <property name="hairColor" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`haircolor`"/> </property> <many-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml index 9bd3ce2b7..7b4c8660d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/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 Mon Nov 13 15:26:48 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:17 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="false" lazy="false" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -13,8 +13,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="city" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`city`"/> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`city`"/> </property> </class> <class entity-name="Head" abstract="false" lazy="false" table="`head`"> @@ -27,8 +27,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="hairColor" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`haircolor`"/> + <property name="hairColor" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`haircolor`"/> </property> <many-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_a_o/hibernate.hbm.xml index 658f52b0f..b928931b9 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_a_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:27:20 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:39 CET 2006 --> <hibernate-mapping> <class entity-name="Body" abstract="false" lazy="false" discriminator-value="Body" table="`body`"> <meta attribute="eclassName">Body</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/transent</meta> <id name="theID" type="long"> - <column not-null="false" unique="false" name="`theid`"/> + <column not-null="true" unique="false" name="`theid`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> @@ -18,7 +18,7 @@ <meta attribute="eclassName">Head</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/transent</meta> <id name="myID" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_s_o/hibernate.hbm.xml index c71ec10c4..1c5941e26 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_s_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:27:01 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:26 CET 2006 --> <hibernate-mapping> <class entity-name="Body" abstract="false" lazy="false" table="`body`"> <meta attribute="eclassName">Body</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/transent</meta> <id name="theID" type="long"> - <column not-null="false" unique="false" name="`theid`"/> + <column not-null="true" unique="false" name="`theid`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> @@ -17,7 +17,7 @@ <meta attribute="eclassName">Head</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/transent</meta> <id name="myID" type="long"> - <column not-null="false" unique="false" name="`myid`"/> + <column not-null="true" unique="false" name="`myid`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_a_o/hibernate.hbm.xml index 488db1847..d4ab8ebd5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/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 Mon Nov 13 15:27:12 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:33 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`myitemtable`"> <meta attribute="eclassName">Item</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_s_o/hibernate.hbm.xml index a51bf3d02..e56260b63 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/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 Mon Nov 13 15:26:51 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:20 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" table="`myitemtable`"> <meta attribute="eclassName">Item</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_a_o/hibernate.hbm.xml index ec5cf865c..0afcce2e6 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/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 Mon Nov 13 15:27:28 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:45 CET 2006 --> <hibernate-mapping> <class entity-name="Contacts" abstract="false" lazy="false" discriminator-value="Contacts" table="`contacts`"> <meta attribute="eclassName">Contacts</meta> @@ -40,8 +40,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="children" lazy="true" cascade="all,delete-orphan"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_s_o/hibernate.hbm.xml index 78607ff62..ff39491cd 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/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 Mon Nov 13 15:27:26 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:43 CET 2006 --> <hibernate-mapping> <class entity-name="Contacts" abstract="false" lazy="false" table="`contacts`"> <meta attribute="eclassName">Contacts</meta> @@ -38,8 +38,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="children" lazy="true" cascade="all,delete-orphan"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_a_o/hibernate.hbm.xml index fe7778769..6475c5490 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/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 Mon Nov 13 15:27:35 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:47 CET 2006 --> <hibernate-mapping> <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> @@ -18,10 +18,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> - <property name="quantity" type="double" lazy="false" not-null="false"> + <property name="quantity" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantity`"/> </property> </class> @@ -29,7 +29,7 @@ <meta attribute="eclassName">ProductType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> @@ -42,7 +42,7 @@ <list-index column="`producttype_group_idx`"/> <one-to-many entity-name="ProductType_group"/> </list> - <property name="productClassification" lazy="false" not-null="false"> + <property name="productClassification" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`productclassification`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param> @@ -63,7 +63,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="description" type="java.lang.String" lazy="false" not-null="false"> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`description`"/> </property> <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> @@ -83,7 +83,7 @@ <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`supplierpricetype_pricefromsupplier_id`"/> </many-to-one> - <property name="simplePrice" type="double" lazy="false" not-null="false"> + <property name="simplePrice" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`simpleprice`"/> </property> </class> @@ -98,10 +98,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> </class> @@ -116,11 +116,11 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="description" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`description`"/> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`description`"/> </property> - <property name="language" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`language`"/> + <property name="language" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`language`"/> </property> </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.elist.FeatureMapAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_s_o/hibernate.hbm.xml index 3395d7dc0..d166c9224 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/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 Mon Nov 13 15:27:31 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:46 CET 2006 --> <hibernate-mapping> <typedef name="featuremap.ProductClassificationObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</param> @@ -17,10 +17,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> - <property name="quantity" type="double" lazy="false" not-null="false"> + <property name="quantity" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantity`"/> </property> </class> @@ -28,7 +28,7 @@ <meta attribute="eclassName">ProductType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/elist/featuremap</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> @@ -40,7 +40,7 @@ <list-index column="`producttype_group_idx`"/> <one-to-many entity-name="ProductType_group"/> </list> - <property name="productClassification" lazy="false" not-null="false"> + <property name="productClassification" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`productclassification`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param> @@ -61,7 +61,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="description" type="java.lang.String" lazy="false" not-null="false"> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`description`"/> </property> <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> @@ -81,7 +81,7 @@ <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`supplierpricetype_pricefromsupplier_id`"/> </many-to-one> - <property name="simplePrice" type="double" lazy="false" not-null="false"> + <property name="simplePrice" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`simpleprice`"/> </property> </class> @@ -95,10 +95,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> </class> @@ -112,11 +112,11 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="description" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`description`"/> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`description`"/> </property> - <property name="language" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`language`"/> + <property name="language" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`language`"/> </property> </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.relation.Relation1to1Action/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_a_o/hibernate.hbm.xml index d3d933de6..edc985b44 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/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 Mon Nov 13 15:27:43 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:52 CET 2006 --> <hibernate-mapping> <class entity-name="ContainedChildNR" abstract="false" lazy="false" discriminator-value="ContainedChildNR" table="`containedchildnr`"> <meta attribute="eclassName">ContainedChildNR</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="ContainedChildR" abstract="false" lazy="false" discriminator-value="ContainedChildR" table="`containedchildr`"> @@ -29,8 +29,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`main`"> @@ -44,7 +44,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <many-to-one name="containedonewayrequired" entity-name="ContainedChildR" cascade="all" lazy="false" insert="true" update="true" not-null="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="NotContainedChildNRT" abstract="false" lazy="false" discriminator-value="NotContainedChildNRT" table="`notcontainedchildnrt`"> @@ -89,8 +89,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <one-to-one name="main" entity-name="Main" property-ref="notcontainedtwowaynotrequired" cascade="merge,persist,save-update,lock,refresh" lazy="false"/> </class> @@ -105,8 +105,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <one-to-one name="main" entity-name="Main" property-ref="notcontainedtwowaynotrequirednr" cascade="merge,persist,save-update,lock,refresh" lazy="false"/> </class> @@ -121,8 +121,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="NotContainedChildRTNR" abstract="false" lazy="false" discriminator-value="NotContainedChildRTNR" table="`notcontainedchildrtnr`"> @@ -136,8 +136,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <one-to-one name="main" entity-name="Main" property-ref="notcontainedtwowayrequirednr" cascade="merge,persist,save-update,lock,refresh" lazy="false"/> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_s_o/hibernate.hbm.xml index 1c70bfde2..840f9f068 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/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 Mon Nov 13 15:27:36 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:48 CET 2006 --> <hibernate-mapping> <class entity-name="ContainedChildNR" abstract="false" lazy="false" table="`containedchildnr`"> <meta attribute="eclassName">ContainedChildNR</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="ContainedChildR" abstract="false" lazy="false" table="`containedchildr`"> @@ -27,8 +27,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Main" abstract="false" lazy="false" table="`main`"> @@ -41,7 +41,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <many-to-one name="containedonewayrequired" entity-name="ContainedChildR" cascade="all" lazy="false" insert="true" update="true" not-null="true"> @@ -70,8 +70,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="NotContainedChildNRT" abstract="false" lazy="false" table="`notcontainedchildnrt`"> @@ -84,8 +84,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <one-to-one name="main" entity-name="Main" property-ref="notcontainedtwowaynotrequired" cascade="merge,persist,save-update,lock,refresh" lazy="false"/> </class> @@ -99,8 +99,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <one-to-one name="main" entity-name="Main" property-ref="notcontainedtwowaynotrequirednr" cascade="merge,persist,save-update,lock,refresh" lazy="false"/> </class> @@ -114,8 +114,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="NotContainedChildRTNR" abstract="false" lazy="false" table="`notcontainedchildrtnr`"> @@ -128,8 +128,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <one-to-one name="main" entity-name="Main" property-ref="notcontainedtwowayrequirednr" cascade="merge,persist,save-update,lock,refresh" lazy="false"/> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml index fbd866b44..243e64392 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/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 Mon Nov 13 15:27:46 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:55 CET 2006 --> <hibernate-mapping> <class entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`main`"> <meta attribute="eclassName">Main</meta> @@ -14,7 +14,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="onecr" lazy="true" cascade="all,delete-orphan"> @@ -85,8 +85,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="OneCR" abstract="false" lazy="false" discriminator-value="OneCR" table="`onecr`"> @@ -100,8 +100,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="OneNN" abstract="false" lazy="false" discriminator-value="OneNN" table="`onenn`"> @@ -115,8 +115,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="OneNR" abstract="false" lazy="false" discriminator-value="OneNR" table="`onenr`"> @@ -130,8 +130,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="TwoCN" abstract="false" lazy="false" discriminator-value="TwoCN" table="`twocn`"> @@ -145,8 +145,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`twocn_main_id`"/> @@ -163,8 +163,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`twocr_main_id`"/> @@ -181,8 +181,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`twonn_main_id`"/> @@ -199,8 +199,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`twonr_main_id`"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_s_o/hibernate.hbm.xml index 505859c11..182fbbecc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/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 Mon Nov 13 15:27:39 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:50 CET 2006 --> <hibernate-mapping> <class entity-name="Main" abstract="false" lazy="false" table="`main`"> <meta attribute="eclassName">Main</meta> @@ -13,7 +13,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="onecr" lazy="true" cascade="all,delete-orphan"> @@ -83,8 +83,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="OneCR" abstract="false" lazy="false" table="`onecr`"> @@ -97,8 +97,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="OneNN" abstract="false" lazy="false" table="`onenn`"> @@ -111,8 +111,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="OneNR" abstract="false" lazy="false" table="`onenr`"> @@ -125,8 +125,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="TwoCN" abstract="false" lazy="false" table="`twocn`"> @@ -139,8 +139,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`twocn_main_id`"/> @@ -156,8 +156,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`twocr_main_id`"/> @@ -173,8 +173,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`twonn_main_id`"/> @@ -190,8 +190,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`twonr_main_id`"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_a_o/hibernate.hbm.xml index 26eb96981..6939594a8 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/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 Mon Nov 13 15:27:48 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:56 CET 2006 --> <hibernate-mapping> <class entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`main`"> <meta attribute="eclassName">Main</meta> @@ -14,7 +14,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="multinr" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="main_multinr"> @@ -56,8 +56,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multinn_main"> <key update="true"> @@ -80,8 +80,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multinr_main"> <key update="true"> @@ -104,8 +104,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multirn_main"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_s_o/hibernate.hbm.xml index dedc0377d..607cf9e38 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/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 Mon Nov 13 15:27:41 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:51 CET 2006 --> <hibernate-mapping> <class entity-name="Main" abstract="false" lazy="false" table="`main`"> <meta attribute="eclassName">Main</meta> @@ -13,7 +13,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="multinr" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="main_multinr"> @@ -54,8 +54,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multinn_main"> <key update="true"> @@ -77,8 +77,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multinr_main"> <key update="true"> @@ -100,8 +100,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multirn_main"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml index e151fefee..8d3f350f8 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml @@ -1,20 +1,20 @@ <?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 Mon Nov 13 15:28:43 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:38 CET 2006 --> <hibernate-mapping> <class entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`"> <meta attribute="eclassName">CatalogType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </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> - <property name="description" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`description`"/> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`description`"/> </property> <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -42,10 +42,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> - <property name="quantityTo" type="double" lazy="false" not-null="false"> + <property name="quantityTo" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantityto`"/> </property> <many-to-one name="supplier" entity-name="SupplierType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true"> @@ -56,13 +56,13 @@ <meta attribute="eclassName">ProductType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> <id name="code" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> + <column not-null="true" unique="false" name="`code`"/> </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> - <property name="description" type="java.lang.String" lazy="false" not-null="false"> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`description`"/> </property> <list name="remark" lazy="true" cascade="all,delete-orphan"> @@ -87,8 +87,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`value`"/> + <property name="value" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`value`"/> </property> </class> <class entity-name="SupplierType" abstract="false" lazy="false" discriminator-value="SupplierType" table="`suppliertype`"> @@ -102,10 +102,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="noOfEmployees" type="int" lazy="false" not-null="false"> + <property name="noOfEmployees" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`noofemployees`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml index b0ba370c0..9cda3484b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml @@ -1,19 +1,19 @@ <?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 Mon Nov 13 15:28:12 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:14 CET 2006 --> <hibernate-mapping> <class entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`"> <meta attribute="eclassName">CatalogType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="description" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`description`"/> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`description`"/> </property> <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -40,10 +40,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> - <property name="quantityTo" type="double" lazy="false" not-null="false"> + <property name="quantityTo" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantityto`"/> </property> <many-to-one name="supplier" entity-name="SupplierType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true"> @@ -54,12 +54,12 @@ <meta attribute="eclassName">ProductType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/catalog</meta> <id name="code" type="java.lang.String"> - <column not-null="false" unique="false" name="`code`"/> + <column not-null="true" unique="false" name="`code`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="description" type="java.lang.String" lazy="false" not-null="false"> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`description`"/> </property> <list name="remark" lazy="true" cascade="all,delete-orphan"> @@ -83,8 +83,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`value`"/> + <property name="value" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`value`"/> </property> </class> <class entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`"> @@ -97,10 +97,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="noOfEmployees" type="int" lazy="false" not-null="false"> + <property name="noOfEmployees" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`noofemployees`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml index 9ca4c82a3..418a5577c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/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 Mon Nov 13 15:28:29 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:26 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> <meta attribute="eclassName">Person</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="group" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -32,10 +32,10 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="age" type="int" lazy="false" not-null="false"> + <property name="age" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`age`"/> </property> - <property name="length" type="int" lazy="false" not-null="false"> + <property name="length" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`length`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml index 30a37ff76..ce9932434 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/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 Mon Nov 13 15:27:55 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:01 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" table="`person`"> <meta attribute="eclassName">Person</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="group" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -31,10 +31,10 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="age" type="int" lazy="false" not-null="false"> + <property name="age" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`age`"/> </property> - <property name="length" type="int" lazy="false" not-null="false"> + <property name="length" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`length`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml index 0fd804711..d0b3f04c5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/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 Mon Nov 13 15:28:51 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:51 CET 2006 --> <hibernate-mapping> <typedef name="forum.TopicCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/sample/forum</param> @@ -18,8 +18,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> <list name="members" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -47,8 +47,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="nickname" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`nickname`"/> + <property name="nickname" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`nickname`"/> </property> <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -76,8 +76,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="comment" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`comment`"/> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`comment`"/> </property> <many-to-one name="author" entity-name="Member" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`post_author_id`"/> @@ -97,10 +97,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml index 7be57386c..9126a6f3d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/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 Mon Nov 13 15:28:23 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:22 CET 2006 --> <hibernate-mapping> <typedef name="forum.TopicCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/sample/forum</param> @@ -17,8 +17,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> <list name="members" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -45,8 +45,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="nickname" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`nickname`"/> + <property name="nickname" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`nickname`"/> </property> <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -73,8 +73,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="comment" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`comment`"/> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`comment`"/> </property> <many-to-one name="author" entity-name="Member" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> <column not-null="false" unique="false" name="`post_author_id`"/> @@ -93,10 +93,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml index 565111e69..99b5abf11 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml @@ -1,20 +1,20 @@ <?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 Mon Nov 13 15:28:41 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:35 CET 2006 --> <hibernate-mapping> <class entity-name="PType" abstract="false" lazy="false" discriminator-value="PType" table="`ptype`"> <meta attribute="eclassName">PType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`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"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <many-to-one name="base" entity-name="PType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> @@ -43,14 +43,14 @@ <meta attribute="eclassName">PDeclaration</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`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"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml index 5f8b9f2fe..680a52aee 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml @@ -1,19 +1,19 @@ <?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 Mon Nov 13 15:28:10 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:12 CET 2006 --> <hibernate-mapping> <class entity-name="PType" abstract="false" lazy="false" table="`ptype`"> <meta attribute="eclassName">PType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> <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> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <many-to-one name="base" entity-name="PType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false"> @@ -42,13 +42,13 @@ <meta attribute="eclassName">PDeclaration</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/inv</meta> <id name="id" type="long"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> <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> - <property name="name" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml index 17f1cd145..436dfa5e7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/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 Mon Nov 13 15:28:27 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:25 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -19,13 +19,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -47,8 +47,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <cache usage="read-write"/> @@ -79,8 +79,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <cache usage="read-write"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml index 1653fd29d..524a72930 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/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 Mon Nov 13 15:27:54 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:00 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <cache usage="read-write"/> @@ -76,8 +76,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <cache usage="read-write"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml index dee399f8a..686c9e10e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/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 Mon Nov 13 15:28:41 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:36 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`titl"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`titl"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`page"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`cate"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml index 64edf241b..3137b0c22 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/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 Mon Nov 13 15:28:10 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:13 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`titl"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`titl"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`page"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`cate"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml index 9ef7be492..edfb2e9e2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/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 Mon Nov 13 15:28:45 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:40 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="false" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml index 010a576fa..43d99bb49 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/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 Mon Nov 13 15:28:14 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:16 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="false" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_a_o/hibernate.hbm.xml index 65d40bba6..be13a73f5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/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 Mon Nov 13 15:28:27 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:25 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -19,13 +19,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`TITLE`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`TITLE`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`PAGES`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -47,8 +47,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`NAME`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`NAME`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <cache usage="read-write"/> @@ -79,8 +79,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`NAME`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`NAME`"/> </property> <list name="books" table="WRITER_BOOKS" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <cache usage="read-write"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_s_o/hibernate.hbm.xml index 58812b05b..812b6132b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/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 Mon Nov 13 15:27:53 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:00 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`TITLE`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`TITLE`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`PAGES`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`NAME`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`NAME`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <cache usage="read-write"/> @@ -76,8 +76,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`NAME`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`NAME`"/> </property> <list name="books" table="WRITER_BOOKS" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <cache usage="read-write"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml index 8f3a3a688..d95f4a074 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/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 Mon Nov 13 15:28:33 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:23 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml index 355bb67cf..b3d87de89 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/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 Mon Nov 13 15:27:59 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:57 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml index 04c71301a..c7f0d42bc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/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 Mon Nov 13 15:28:44 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:39 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml index c9b5e1da6..f38f78a13 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/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 Mon Nov 13 15:28:14 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:15 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml index 2ad133373..4993ff5e3 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/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 Mon Nov 13 15:28:45 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:40 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml index eaf6931f3..30132b8ec 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/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 Mon Nov 13 15:28:15 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:16 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml index 630b47d40..6583ec279 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/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 Mon Nov 13 15:28:42 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:37 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml index 3167eb81b..d70e0fcfa 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/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 Mon Nov 13 15:28:11 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:13 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml index 14bac1d6c..3f84914ce 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/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 Mon Nov 13 15:28:26 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:24 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -18,13 +18,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -45,8 +45,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -74,8 +74,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml index 32f052ff6..4d0435a55 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/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 Mon Nov 13 15:27:52 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:17:59 CET 2006 --> <hibernate-mapping> <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -17,13 +17,13 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> - <property name="pages" type="int" lazy="false" not-null="false"> + <property name="pages" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pages`"/> </property> - <property name="category" lazy="false" not-null="false"> + <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`category`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -43,8 +43,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -71,8 +71,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml index cbad45eec..ad21eb5c4 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/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 Mon Nov 13 15:28:46 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:42 CET 2006 --> <hibernate-mapping> <class entity-name="ActType" abstract="false" lazy="false" discriminator-value="ActType" table="`acttype`"> <meta attribute="eclassName">ActType</meta> @@ -21,11 +21,11 @@ <list-index column="`acttype_scene_idx`"/> <one-to-many entity-name="SceneType"/> </list> - <property name="pindex" type="byte" lazy="false" not-null="false"> + <property name="pindex" type="byte" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pindex`"/> </property> - <property name="title" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> </class> <class entity-name="FmType" abstract="false" lazy="false" discriminator-value="FmType" table="`fmtype`"> @@ -44,9 +44,7 @@ <column name="`fmtype_p_id`" not-null="true" unique="false"/> </key> <list-index column="`fmtype_p_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`p`"/> - </element> + <element type="java.lang.String"/> </list> </class> <class entity-name="PersonaeType" abstract="false" lazy="false" discriminator-value="PersonaeType" table="`personaetype`"> @@ -75,10 +73,10 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="title" type="java.lang.String" lazy="false" not-null="false"> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`title`"/> </property> - <property name="persona" type="java.lang.String" lazy="false" not-null="false"> + <property name="persona" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`persona`"/> </property> <many-to-one name="personaGroup" entity-name="PersonaGroupType" cascade="all" lazy="false" insert="true" update="true" not-null="false"> @@ -101,12 +99,10 @@ <column name="`personagrouptype_persona_id`" not-null="true" unique="false"/> </key> <list-index column="`personagrouptype_persona_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`persona`"/> - </element> + <element type="java.lang.String"/> </list> - <property name="groupDescription" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`groupdescription`"/> + <property name="groupDescription" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`groupdescription`"/> </property> </class> <class entity-name="PlayType" abstract="false" lazy="false" discriminator-value="PlayType" table="`playtype`"> @@ -120,8 +116,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> <many-to-one name="fm" entity-name="FmType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`fmtype_fm_id`"/> @@ -129,11 +125,11 @@ <many-to-one name="personae" entity-name="PersonaeType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`personaetype_personae_id`"/> </many-to-one> - <property name="sceneDescription" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`scenedescription`"/> + <property name="sceneDescription" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`scenedescription`"/> </property> - <property name="playSubTitle" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`playsubtitle`"/> + <property name="playSubTitle" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`playsubtitle`"/> </property> <list name="act" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -161,11 +157,11 @@ <list-index column="`scenetype_group_idx`"/> <one-to-many entity-name="SceneType_group"/> </list> - <property name="pindex" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`pindex`"/> + <property name="pindex" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`pindex`"/> </property> - <property name="title" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> </class> <class entity-name="SceneType_group" lazy="false" table="`scenetype_group`"> @@ -175,7 +171,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="stageDirections" type="java.lang.String" lazy="false" not-null="false"> + <property name="stageDirections" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`stagedirections`"/> </property> <many-to-one name="speech" entity-name="SpeechType" cascade="all" lazy="false" insert="true" update="true" not-null="false"> @@ -208,13 +204,13 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="speaker" type="java.lang.String" lazy="false" not-null="false"> + <property name="speaker" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`speaker`"/> </property> - <property name="line" type="java.lang.String" lazy="false" not-null="false"> + <property name="line" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`line`"/> </property> - <property name="stageDirections" type="java.lang.String" lazy="false" not-null="false"> + <property name="stageDirections" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`stagedirections`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml index 915917847..4aee8f32a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/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 Mon Nov 13 15:28:16 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:17 CET 2006 --> <hibernate-mapping> <class entity-name="ActType" abstract="false" lazy="false" table="`acttype`"> <meta attribute="eclassName">ActType</meta> @@ -20,11 +20,11 @@ <list-index column="`acttype_scene_idx`"/> <one-to-many entity-name="SceneType"/> </list> - <property name="pindex" type="byte" lazy="false" not-null="false"> + <property name="pindex" type="byte" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`pindex`"/> </property> - <property name="title" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> </class> <class entity-name="FmType" abstract="false" lazy="false" table="`fmtype`"> @@ -42,9 +42,7 @@ <column name="`fmtype_p_id`" not-null="true" unique="false"/> </key> <list-index column="`fmtype_p_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`p`"/> - </element> + <element type="java.lang.String"/> </list> </class> <class entity-name="PersonaeType" abstract="false" lazy="false" table="`personaetype`"> @@ -72,10 +70,10 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="title" type="java.lang.String" lazy="false" not-null="false"> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`title`"/> </property> - <property name="persona" type="java.lang.String" lazy="false" not-null="false"> + <property name="persona" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`persona`"/> </property> <many-to-one name="personaGroup" entity-name="PersonaGroupType" cascade="all" lazy="false" insert="true" update="true" not-null="false"> @@ -97,12 +95,10 @@ <column name="`personagrouptype_persona_id`" not-null="true" unique="false"/> </key> <list-index column="`personagrouptype_persona_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`persona`"/> - </element> + <element type="java.lang.String"/> </list> - <property name="groupDescription" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`groupdescription`"/> + <property name="groupDescription" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`groupdescription`"/> </property> </class> <class entity-name="PlayType" abstract="false" lazy="false" table="`playtype`"> @@ -115,8 +111,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> <many-to-one name="fm" entity-name="FmType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`fmtype_fm_id`"/> @@ -124,11 +120,11 @@ <many-to-one name="personae" entity-name="PersonaeType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`personaetype_personae_id`"/> </many-to-one> - <property name="sceneDescription" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`scenedescription`"/> + <property name="sceneDescription" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`scenedescription`"/> </property> - <property name="playSubTitle" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`playsubtitle`"/> + <property name="playSubTitle" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`playsubtitle`"/> </property> <list name="act" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -155,11 +151,11 @@ <list-index column="`scenetype_group_idx`"/> <one-to-many entity-name="SceneType_group"/> </list> - <property name="pindex" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`pindex`"/> + <property name="pindex" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`pindex`"/> </property> - <property name="title" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> </class> <class entity-name="SceneType_group" lazy="false" table="`scenetype_group`"> @@ -169,7 +165,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="stageDirections" type="java.lang.String" lazy="false" not-null="false"> + <property name="stageDirections" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`stagedirections`"/> </property> <many-to-one name="speech" entity-name="SpeechType" cascade="all" lazy="false" insert="true" update="true" not-null="false"> @@ -201,13 +197,13 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="speaker" type="java.lang.String" lazy="false" not-null="false"> + <property name="speaker" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`speaker`"/> </property> - <property name="line" type="java.lang.String" lazy="false" not-null="false"> + <property name="line" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`line`"/> </property> - <property name="stageDirections" type="java.lang.String" lazy="false" not-null="false"> + <property name="stageDirections" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`stagedirections`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml index 05121b11b..e0413978c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/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 Mon Nov 13 15:28:48 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:49 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> <meta attribute="eclassName">Item</meta> @@ -14,23 +14,23 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="productName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`productname`"/> + <property name="productName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`productname`"/> </property> - <property name="quantity" type="java.math.BigInteger" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`quantity`"/> + <property name="quantity" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`quantity`"/> </property> - <property name="uSPrice" type="java.math.BigDecimal" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`usprice`"/> + <property name="uSPrice" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`usprice`"/> </property> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="shipDate" type="serializable" lazy="false" not-null="false"> + <property name="shipDate" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shipdate`"/> </property> - <property name="partNum" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`partnum`"/> + <property name="partNum" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`partnum`"/> </property> </class> <class entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`"> @@ -50,7 +50,7 @@ <many-to-one name="billTo" entity-name="USAddress" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`usaddress_billto_id`"/> </many-to-one> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> <list name="items" lazy="true" cascade="all,delete-orphan"> @@ -60,7 +60,7 @@ <list-index column="`purchaseorder_items_idx`"/> <one-to-many entity-name="Item"/> </list> - <property name="orderDate" type="serializable" lazy="false" not-null="false"> + <property name="orderDate" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`orderdate`"/> </property> </class> @@ -75,22 +75,22 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="street" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`street`"/> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`street`"/> </property> - <property name="city" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`city`"/> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`city`"/> </property> - <property name="state" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`state`"/> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`state`"/> </property> - <property name="zip" type="java.math.BigDecimal" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`zip`"/> + <property name="zip" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`zip`"/> </property> - <property name="country" type="java.lang.String" lazy="false" not-null="false"> + <property name="country" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`country`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml index 04a2cd45c..d7098012d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/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 Mon Nov 13 15:28:18 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:19 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" table="`item`"> <meta attribute="eclassName">Item</meta> @@ -13,23 +13,23 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="productName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`productname`"/> + <property name="productName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`productname`"/> </property> - <property name="quantity" type="java.math.BigInteger" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`quantity`"/> + <property name="quantity" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`quantity`"/> </property> - <property name="uSPrice" type="java.math.BigDecimal" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`usprice`"/> + <property name="uSPrice" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`usprice`"/> </property> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="shipDate" type="serializable" lazy="false" not-null="false"> + <property name="shipDate" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shipdate`"/> </property> - <property name="partNum" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`partnum`"/> + <property name="partNum" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`partnum`"/> </property> </class> <class entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`"> @@ -48,7 +48,7 @@ <many-to-one name="billTo" entity-name="USAddress" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`usaddress_billto_id`"/> </many-to-one> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> <list name="items" lazy="true" cascade="all,delete-orphan"> @@ -58,7 +58,7 @@ <list-index column="`purchaseorder_items_idx`"/> <one-to-many entity-name="Item"/> </list> - <property name="orderDate" type="serializable" lazy="false" not-null="false"> + <property name="orderDate" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`orderdate`"/> </property> </class> @@ -72,22 +72,22 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="street" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`street`"/> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`street`"/> </property> - <property name="city" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`city`"/> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`city`"/> </property> - <property name="state" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`state`"/> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`state`"/> </property> - <property name="zip" type="java.math.BigDecimal" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`zip`"/> + <property name="zip" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`zip`"/> </property> - <property name="country" type="java.lang.String" lazy="false" not-null="false"> + <property name="country" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`country`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml index 08762d850..221bc53d5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml @@ -1,29 +1,29 @@ <?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 Mon Nov 13 15:28:48 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:49 CET 2006 --> <hibernate-mapping> <class entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`"> <meta attribute="eclassName">ProductType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</meta> <id name="id" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> </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> - <property name="code" type="java.lang.String" lazy="false" not-null="false"> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`code`"/> </property> <many-to-one name="supplier" entity-name="SupplierType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`suppliertype_supplier_id`"/> </many-to-one> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> - <property name="createdOn" type="serializable" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`createdon`"/> + <property name="createdOn" type="serializable" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`createdon`"/> </property> </class> <class entity-name="SupplierType" abstract="false" lazy="false" discriminator-value="SupplierType" table="`suppliertype`"> @@ -37,10 +37,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="noOfEmployees" type="int" lazy="false" not-null="false"> + <property name="noOfEmployees" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`noofemployees`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml index 4bb7f5b8c..4333442a6 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml @@ -1,28 +1,28 @@ <?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 Mon Nov 13 15:28:19 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:19 CET 2006 --> <hibernate-mapping> <class entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> <meta attribute="eclassName">ProductType</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/product</meta> <id name="id" type="java.lang.String"> - <column not-null="false" unique="false" name="`id`"/> + <column not-null="true" unique="false" name="`id`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="false"> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`code`"/> </property> <many-to-one name="supplier" entity-name="SupplierType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`suppliertype_supplier_id`"/> </many-to-one> - <property name="price" type="double" lazy="false" not-null="false"> + <property name="price" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`price`"/> </property> - <property name="createdOn" type="serializable" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`createdon`"/> + <property name="createdOn" type="serializable" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`createdon`"/> </property> </class> <class entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`"> @@ -35,10 +35,10 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="noOfEmployees" type="int" lazy="false" not-null="false"> + <property name="noOfEmployees" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`noofemployees`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml index 7d0f9c44d..f705cfd58 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/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 Mon Nov 13 15:28:37 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:32 CET 2006 --> <hibernate-mapping> <typedef name="sunBooks.BookCategoryTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/sample/sun_books</param> @@ -27,9 +27,7 @@ <column name="`authorstype_authorname_id`" not-null="true" unique="false"/> </key> <list-index column="`authorstype_authorname_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`authorname`"/> - </element> + <element type="java.lang.String"/> </list> </class> <class entity-name="BooksType" abstract="false" lazy="false" discriminator-value="BooksType" table="`bookstype`"> @@ -62,34 +60,34 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="iSBN" type="long" lazy="false" not-null="false"> + <property name="iSBN" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`isbn`"/> </property> - <property name="price" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`price`"/> + <property name="price" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`price`"/> </property> <many-to-one name="authors" entity-name="AuthorsType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`authorstype_authors_id`"/> </many-to-one> - <property name="description" type="java.lang.String" lazy="false" not-null="false"> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`description`"/> </property> <many-to-one name="promotion" entity-name="PromotionType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`promotiontype_promotion_id`"/> </many-to-one> - <property name="publicationDate" type="serializable" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`publicationdate`"/> + <property name="publicationDate" type="serializable" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`publicationdate`"/> </property> - <property name="bookCategory" lazy="false" not-null="false"> + <property name="bookCategory" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`bookcategory`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param> </type> </property> - <property name="itemId" type="java.lang.String" lazy="false" not-null="false"> + <property name="itemId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`itemid`"/> </property> </class> @@ -119,10 +117,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="discount" type="java.lang.String" lazy="false" not-null="false"> + <property name="discount" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`discount`"/> </property> - <property name="none" type="java.lang.String" lazy="false" not-null="false"> + <property name="none" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`none`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml index 586cbcba7..19bdb41fa 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/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 Mon Nov 13 15:28:05 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:07 CET 2006 --> <hibernate-mapping> <typedef name="sunBooks.BookCategoryTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/sample/sun_books</param> @@ -26,9 +26,7 @@ <column name="`authorstype_authorname_id`" not-null="true" unique="false"/> </key> <list-index column="`authorstype_authorname_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`authorname`"/> - </element> + <element type="java.lang.String"/> </list> </class> <class entity-name="BooksType" abstract="false" lazy="false" table="`bookstype`"> @@ -59,34 +57,34 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="iSBN" type="long" lazy="false" not-null="false"> + <property name="iSBN" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`isbn`"/> </property> - <property name="price" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`price`"/> + <property name="price" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`price`"/> </property> <many-to-one name="authors" entity-name="AuthorsType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`authorstype_authors_id`"/> </many-to-one> - <property name="description" type="java.lang.String" lazy="false" not-null="false"> + <property name="description" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`description`"/> </property> <many-to-one name="promotion" entity-name="PromotionType" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`promotiontype_promotion_id`"/> </many-to-one> - <property name="publicationDate" type="serializable" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`publicationdate`"/> + <property name="publicationDate" type="serializable" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`publicationdate`"/> </property> - <property name="bookCategory" lazy="false" not-null="false"> + <property name="bookCategory" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`bookcategory`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param> </type> </property> - <property name="itemId" type="java.lang.String" lazy="false" not-null="false"> + <property name="itemId" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`itemid`"/> </property> </class> @@ -114,10 +112,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="discount" type="java.lang.String" lazy="false" not-null="false"> + <property name="discount" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`discount`"/> </property> - <property name="none" type="java.lang.String" lazy="false" not-null="false"> + <property name="none" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`none`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml index 1ad61f71e..fd017c966 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/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 Mon Nov 13 15:28:48 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:50 CET 2006 --> <hibernate-mapping> <class entity-name="WorkflowElement" abstract="true" lazy="false" discriminator-value="WorkflowElement" table="`workflowelement`"> <meta attribute="eclassName">WorkflowElement</meta> @@ -14,22 +14,22 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="x" type="int" lazy="false" not-null="false"> + <property name="x" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`x`"/> </property> - <property name="y" type="int" lazy="false" not-null="false"> + <property name="y" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`y`"/> </property> - <property name="width" type="int" lazy="false" not-null="false"> + <property name="width" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`width`"/> </property> - <property name="height" type="int" lazy="false" not-null="false"> + <property name="height" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`height`"/> </property> </class> @@ -78,10 +78,10 @@ <list-index column="`workflownode_inputs_idx`"/> <one-to-many entity-name="InputPort"/> </list> - <property name="isStart" type="boolean" lazy="false" not-null="false"> + <property name="isStart" type="boolean" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`isstart`"/> </property> - <property name="isFinish" type="boolean" lazy="false" not-null="false"> + <property name="isFinish" type="boolean" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`isfinish`"/> </property> </subclass> @@ -144,7 +144,7 @@ <subclass entity-name="TransformationTask" abstract="false" lazy="false" extends="WorkflowNode" discriminator-value="TransformationTask"> <meta attribute="eclassName">TransformationTask</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <property name="transformExpression" type="java.lang.String" lazy="false" not-null="false"> + <property name="transformExpression" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`transformexpression`"/> </property> </subclass> @@ -155,14 +155,14 @@ <subclass entity-name="LoopTask" abstract="false" lazy="false" extends="CompoundTask" discriminator-value="LoopTask"> <meta attribute="eclassName">LoopTask</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <property name="whileCondition" type="java.lang.String" lazy="false" not-null="false"> + <property name="whileCondition" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`whilecondition`"/> </property> </subclass> <subclass entity-name="ConditionalOutputPort" abstract="false" lazy="false" extends="OutputPort" discriminator-value="ConditionalOutputPort"> <meta attribute="eclassName">ConditionalOutputPort</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta> - <property name="condition" type="java.lang.String" lazy="false" not-null="false"> + <property name="condition" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`condition`"/> </property> </subclass> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml index 0fe719d98..593ef74da 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/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 Mon Nov 13 15:28:19 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:19 CET 2006 --> <hibernate-mapping> <class entity-name="WorkflowElement" abstract="true" lazy="false" table="`workflowelement`"> <meta attribute="eclassName">WorkflowElement</meta> @@ -13,22 +13,22 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="comment" type="java.lang.String" lazy="false" not-null="false"> + <property name="comment" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`comment`"/> </property> - <property name="x" type="int" lazy="false" not-null="false"> + <property name="x" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`x`"/> </property> - <property name="y" type="int" lazy="false" not-null="false"> + <property name="y" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`y`"/> </property> - <property name="width" type="int" lazy="false" not-null="false"> + <property name="width" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`width`"/> </property> - <property name="height" type="int" lazy="false" not-null="false"> + <property name="height" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`height`"/> </property> </class> @@ -83,11 +83,11 @@ <list-index column="`workflownode_inputs_idx`"/> <one-to-many entity-name="InputPort"/> </list> - <property name="isStart" type="boolean" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`isstart`"/> + <property name="isStart" type="boolean" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`isstart`"/> </property> - <property name="isFinish" type="boolean" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`isfinish`"/> + <property name="isFinish" type="boolean" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`isfinish`"/> </property> </joined-subclass> <joined-subclass entity-name="Edge" abstract="false" lazy="false" extends="WorkflowElement" table="`edge`"> @@ -170,7 +170,7 @@ <key> <column name="`workflownode_id`"/> </key> - <property name="transformExpression" type="java.lang.String" lazy="false" not-null="false"> + <property name="transformExpression" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`transformexpression`"/> </property> </joined-subclass> @@ -187,8 +187,8 @@ <key> <column name="`compoundtask_id`"/> </key> - <property name="whileCondition" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`whilecondition`"/> + <property name="whileCondition" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`whilecondition`"/> </property> </joined-subclass> <joined-subclass entity-name="ConditionalOutputPort" abstract="false" lazy="false" extends="OutputPort" table="`conditionaloutputport`"> @@ -197,8 +197,8 @@ <key> <column name="`outputport_id`"/> </key> - <property name="condition" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`condition`"/> + <property name="condition" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`condition`"/> </property> </joined-subclass> <joined-subclass entity-name="Comment" abstract="false" lazy="false" extends="WorkflowElement" table="`comment`"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_a_o/hibernate.hbm.xml index 797584f58..fc45b8597 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/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 Mon Nov 13 15:29:03 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:03 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -50,10 +50,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="key" type="java.lang.String" lazy="false" not-null="false"> + <property name="key" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`key`"/> </property> - <property name="value" type="java.lang.String" lazy="false" not-null="false"> + <property name="value" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> @@ -68,7 +68,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="key" type="java.lang.String" lazy="false" not-null="false"> + <property name="key" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`key`"/> </property> <many-to-one name="value" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> @@ -86,8 +86,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="WriterToStringMapEntry" abstract="false" lazy="false" discriminator-value="WriterToStringMapEntry" table="`writertostringmapentry`"> @@ -104,7 +104,7 @@ <many-to-one name="key" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`writer_key_id`"/> </many-to-one> - <property name="value" type="java.lang.String" lazy="false" not-null="false"> + <property name="value" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_s_o/hibernate.hbm.xml index 7e999df38..10c6ed29a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/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 Mon Nov 13 15:28:52 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:51 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`title`"/> + <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`title`"/> </property> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -48,10 +48,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="key" type="java.lang.String" lazy="false" not-null="false"> + <property name="key" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`key`"/> </property> - <property name="value" type="java.lang.String" lazy="false" not-null="false"> + <property name="value" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> @@ -65,7 +65,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="key" type="java.lang.String" lazy="false" not-null="false"> + <property name="key" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`key`"/> </property> <many-to-one name="value" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> @@ -82,8 +82,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="WriterToStringMapEntry" abstract="false" lazy="false" table="`writertostringmapentry`"> @@ -99,7 +99,7 @@ <many-to-one name="key" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`writer_key_id`"/> </many-to-one> - <property name="value" type="java.lang.String" lazy="false" not-null="false"> + <property name="value" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_a_o/hibernate.hbm.xml index 0417d0a4f..ea4598107 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/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 Mon Nov 13 15:29:07 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:06 CET 2006 --> <hibernate-mapping> <class entity-name="Element" abstract="false" lazy="false" discriminator-value="Element" table="`element`"> <meta attribute="eclassName">Element</meta> @@ -59,10 +59,10 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="value" type="double" lazy="false" not-null="false"> + <property name="value" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> @@ -92,10 +92,10 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="value" type="double" lazy="false" not-null="false"> + <property name="value" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> <property name="fme_mixed_text" type="java.lang.String"/> @@ -113,14 +113,14 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="firstName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`firstname`"/> + <property name="firstName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`firstname`"/> </property> - <property name="middleName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`middlename`"/> + <property name="middleName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`middlename`"/> </property> - <property name="lastName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`lastname`"/> + <property name="lastName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`lastname`"/> </property> </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.EcoreAttrsAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_s_o/hibernate.hbm.xml index 2302da375..9a086d711 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/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 Mon Nov 13 15:28:55 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:54 CET 2006 --> <hibernate-mapping> <class entity-name="Element" abstract="false" lazy="false" table="`element`"> <meta attribute="eclassName">Element</meta> @@ -57,10 +57,10 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="value" type="double" lazy="false" not-null="false"> + <property name="value" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> @@ -89,10 +89,10 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="value" type="double" lazy="false" not-null="false"> + <property name="value" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> <property name="fme_mixed_text" type="java.lang.String"/> @@ -109,14 +109,14 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="firstName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`firstname`"/> + <property name="firstName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`firstname`"/> </property> - <property name="middleName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`middlename`"/> + <property name="middleName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`middlename`"/> </property> - <property name="lastName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`lastname`"/> + <property name="lastName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`lastname`"/> </property> </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.ExtensionAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_a_o/hibernate.hbm.xml index 0a6cc3791..622528c69 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/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 Mon Nov 13 15:29:10 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:07 CET 2006 --> <hibernate-mapping> <typedef name="extension.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/extension</param> @@ -18,14 +18,14 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="street" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`street`"/> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`street`"/> </property> - <property name="city" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`city`"/> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`city`"/> </property> </class> <class entity-name="AddressList" abstract="false" lazy="false" discriminator-value="AddressList" table="`addresslist`"> @@ -39,8 +39,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="firstAddress" entity-name="FirstAddressHolder" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`firstaddressholder_firstaddress_id`"/> @@ -56,17 +56,17 @@ <subclass entity-name="UKAddress" abstract="false" lazy="false" extends="Address" discriminator-value="UKAddress"> <meta attribute="eclassName">UKAddress</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/extension</meta> - <property name="postcode" type="java.lang.String" lazy="false" not-null="false"> + <property name="postcode" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`postcode`"/> </property> - <property name="exportCode" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="exportCode" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`exportcode`"/> </property> </subclass> <subclass entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" discriminator-value="DistrictUKAddress"> <meta attribute="eclassName">DistrictUKAddress</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/extension</meta> - <property name="district" type="java.lang.String" lazy="false" not-null="false"> + <property name="district" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`district`"/> </property> </subclass> @@ -100,23 +100,23 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="java.math.BigDecimal" lazy="false" not-null="false"> + <property name="value" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> - <property name="currency" type="java.lang.String" lazy="false" not-null="false"> + <property name="currency" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`currency`"/> </property> </class> <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"> <meta attribute="eclassName">USAddress</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/extension</meta> - <property name="state" lazy="false" not-null="false"> + <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`state`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.USState</param> </type> </property> - <property name="zip" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="zip" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`zip`"/> </property> </subclass> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_s_o/hibernate.hbm.xml index 5464d460f..08834fbf1 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/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 Mon Nov 13 15:28:58 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:56 CET 2006 --> <hibernate-mapping> <typedef name="extension.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/extension</param> @@ -17,14 +17,14 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> - <property name="street" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`street`"/> + <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`street`"/> </property> - <property name="city" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`city`"/> + <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`city`"/> </property> </class> <class entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`"> @@ -37,8 +37,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <many-to-one name="firstAddress" entity-name="FirstAddressHolder" cascade="all" lazy="false" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`firstaddressholder_firstaddress_id`"/> @@ -57,10 +57,10 @@ <key> <column name="`address_id`"/> </key> - <property name="postcode" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`postcode`"/> + <property name="postcode" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`postcode`"/> </property> - <property name="exportCode" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="exportCode" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`exportcode`"/> </property> </joined-subclass> @@ -70,7 +70,7 @@ <key> <column name="`ukaddress_id`"/> </key> - <property name="district" type="java.lang.String" lazy="false" not-null="false"> + <property name="district" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`district`"/> </property> </joined-subclass> @@ -102,10 +102,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="java.math.BigDecimal" lazy="false" not-null="false"> + <property name="value" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> - <property name="currency" type="java.lang.String" lazy="false" not-null="false"> + <property name="currency" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`currency`"/> </property> </class> @@ -115,13 +115,13 @@ <key> <column name="`address_id`"/> </key> - <property name="state" lazy="false" not-null="false"> + <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`state`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.USState</param> </type> </property> - <property name="zip" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="zip" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`zip`"/> </property> </joined-subclass> 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 9d26fb452..1d9758e21 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 Mon Nov 13 15:29:10 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:08 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -29,10 +29,10 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="longName" type="java.lang.String" lazy="false" not-null="false"> + <property name="longName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`longname`"/> </property> </class> @@ -47,8 +47,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="groupName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`groupname`"/> + <property name="groupName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`groupname`"/> </property> <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`"/> @@ -56,7 +56,7 @@ <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" not-null="false"> + <property name="simpleAddress" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`simpleaddress`"/> </property> </class> @@ -71,8 +71,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="groupName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`groupname`"/> + <property name="groupName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`groupname`"/> </property> <list name="addrs" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -122,13 +122,13 @@ </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" not-null="false"> + <property name="aaa" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`aaa`"/> </property> - <property name="bbb" type="java.lang.String" lazy="false" not-null="false"> + <property name="bbb" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`bbb`"/> </property> - <property name="ccc" type="java.lang.String" lazy="false" not-null="false"> + <property name="ccc" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`ccc`"/> </property> </class> @@ -143,14 +143,14 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="aaa" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`aaa`"/> + <property name="aaa" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`aaa`"/> </property> - <property name="bbb" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`bbb`"/> + <property name="bbb" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`bbb`"/> </property> - <property name="ccc" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`ccc`"/> + <property name="ccc" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`ccc`"/> </property> </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_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 505178f30..930c4aab0 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 Mon Nov 13 15:28:59 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:57 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="false" lazy="false" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -28,10 +28,10 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> - <property name="longName" type="java.lang.String" lazy="false" not-null="false"> + <property name="longName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`longname`"/> </property> </class> @@ -45,8 +45,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="groupName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`groupname`"/> + <property name="groupName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`groupname`"/> </property> <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`"/> @@ -54,7 +54,7 @@ <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" not-null="false"> + <property name="simpleAddress" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`simpleaddress`"/> </property> </class> @@ -68,8 +68,8 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="groupName" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`groupname`"/> + <property name="groupName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`groupname`"/> </property> <list name="addrs" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -118,13 +118,13 @@ </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" not-null="false"> + <property name="aaa" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`aaa`"/> </property> - <property name="bbb" type="java.lang.String" lazy="false" not-null="false"> + <property name="bbb" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`bbb`"/> </property> - <property name="ccc" type="java.lang.String" lazy="false" not-null="false"> + <property name="ccc" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`ccc`"/> </property> </class> @@ -138,14 +138,14 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="aaa" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`aaa`"/> + <property name="aaa" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`aaa`"/> </property> - <property name="bbb" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`bbb`"/> + <property name="bbb" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`bbb`"/> </property> - <property name="ccc" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`ccc`"/> + <property name="ccc" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`ccc`"/> </property> </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.ListAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_a_o/hibernate.hbm.xml index dee23275d..73211c338 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/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 Mon Nov 13 15:29:07 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:06 CET 2006 --> <hibernate-mapping> <typedef name="list.SixStatesList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> @@ -26,17 +26,17 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="country" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`country`"/> + <property name="country" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`country`"/> </property> - <property name="index" type="int" lazy="false" not-null="false"> + <property name="index" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`index`"/> </property> - <property name="allStates" type="list.StateList" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`allstates`"/> + <property name="allStates" type="list.StateList" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`allstates`"/> </property> - <property name="sixImportantStates" type="list.SixStatesList" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`siximportantstates`"/> + <property name="sixImportantStates" type="list.SixStatesList" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`siximportantstates`"/> </property> </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.ListAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_s_o/hibernate.hbm.xml index d413f10e4..904192b50 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/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 Mon Nov 13 15:28:55 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:54 CET 2006 --> <hibernate-mapping> <typedef name="list.SixStatesList" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/list</param> @@ -25,17 +25,17 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="country" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`country`"/> + <property name="country" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`country`"/> </property> - <property name="index" type="int" lazy="false" not-null="false"> + <property name="index" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`index`"/> </property> - <property name="allStates" type="list.StateList" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`allstates`"/> + <property name="allStates" type="list.StateList" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`allstates`"/> </property> - <property name="sixImportantStates" type="list.SixStatesList" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`siximportantstates`"/> + <property name="sixImportantStates" type="list.SixStatesList" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`siximportantstates`"/> </property> </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.MixedAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_a_o/hibernate.hbm.xml index c7273e01b..218b26d1f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/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 Mon Nov 13 15:29:08 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:06 CET 2006 --> <hibernate-mapping> <class entity-name="LetterBodyType" abstract="false" lazy="false" discriminator-value="LetterBodyType" table="`letterbodytype`"> <meta attribute="eclassName">LetterBodyType</meta> @@ -32,13 +32,13 @@ <many-to-one name="salutation" entity-name="SalutationType" cascade="all" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`salutationtype_salutation_id`"/> </many-to-one> - <property name="quantity" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="quantity" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantity`"/> </property> - <property name="productName" type="java.lang.String" lazy="false" not-null="false"> + <property name="productName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`productname`"/> </property> - <property name="shipDate" type="serializable" lazy="false" not-null="false"> + <property name="shipDate" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shipdate`"/> </property> <property name="fme_mixed_text" type="java.lang.String"/> @@ -71,7 +71,7 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <property name="fme_mixed_text" type="java.lang.String"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_s_o/hibernate.hbm.xml index 0fd58e391..6167718bc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/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 Mon Nov 13 15:28:56 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:55 CET 2006 --> <hibernate-mapping> <class entity-name="LetterBodyType" abstract="false" lazy="false" table="`letterbodytype`"> <meta attribute="eclassName">LetterBodyType</meta> @@ -31,13 +31,13 @@ <many-to-one name="salutation" entity-name="SalutationType" cascade="all" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`salutationtype_salutation_id`"/> </many-to-one> - <property name="quantity" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="quantity" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`quantity`"/> </property> - <property name="productName" type="java.lang.String" lazy="false" not-null="false"> + <property name="productName" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`productname`"/> </property> - <property name="shipDate" type="serializable" lazy="false" not-null="false"> + <property name="shipDate" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shipdate`"/> </property> <property name="fme_mixed_text" type="java.lang.String"/> @@ -69,7 +69,7 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <property name="fme_mixed_text" type="java.lang.String"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_a_o/hibernate.hbm.xml index 1b23a700c..538333e0c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/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 Mon Nov 13 15:29:12 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:09 CET 2006 --> <hibernate-mapping> <class entity-name="A" abstract="false" lazy="false" discriminator-value="A" table="`a`"> <meta attribute="eclassName">A</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="group" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -32,7 +32,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="b" type="java.lang.String" lazy="false" not-null="false"> + <property name="b" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`b`"/> </property> <many-to-one name="c" entity-name="CType" cascade="all" lazy="false" insert="true" update="true" not-null="false"> @@ -50,10 +50,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="cname" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`cname`"/> + <property name="cname" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`cname`"/> </property> - <property name="cvalue" type="double" lazy="false" not-null="false"> + <property name="cvalue" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`cvalue`"/> </property> </class> @@ -83,7 +83,7 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="true" lazy="true" cascade="all,delete-orphan"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_s_o/hibernate.hbm.xml index eada04226..cd2098031 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/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 Mon Nov 13 15:29:00 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:58 CET 2006 --> <hibernate-mapping> <class entity-name="A" abstract="false" lazy="false" table="`a`"> <meta attribute="eclassName">A</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="group" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -31,7 +31,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="b" type="java.lang.String" lazy="false" not-null="false"> + <property name="b" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`b`"/> </property> <many-to-one name="c" entity-name="CType" cascade="all" lazy="false" insert="true" update="true" not-null="false"> @@ -48,10 +48,10 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="cname" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`cname`"/> + <property name="cname" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`cname`"/> </property> - <property name="cvalue" type="double" lazy="false" not-null="false"> + <property name="cvalue" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`cvalue`"/> </property> </class> @@ -80,7 +80,7 @@ </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" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> <list name="true" lazy="true" cascade="all,delete-orphan"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_a_o/hibernate.hbm.xml index be192a9d1..2ab0f3520 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/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 Mon Nov 13 15:29:09 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:07 CET 2006 --> <hibernate-mapping> <class entity-name="XMLDeviant" abstract="false" lazy="false" discriminator-value="XMLDeviant" table="`xmldeviant`"> <meta attribute="eclassName">XMLDeviant</meta> @@ -14,19 +14,19 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="numPosts" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="numPosts" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`numposts`"/> </property> - <property name="signature" type="java.lang.String" lazy="false" not-null="false"> + <property name="signature" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`signature`"/> </property> - <property name="email" type="java.lang.String" lazy="false" not-null="false"> + <property name="email" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`email`"/> </property> - <property name="firstSubscribed" type="serializable" lazy="false" not-null="false"> + <property name="firstSubscribed" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`firstsubscribed`"/> </property> - <property name="mailReader" type="java.lang.String" lazy="false" not-null="false"> + <property name="mailReader" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`mailreader`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_s_o/hibernate.hbm.xml index d60d63be8..c955beb8e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/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 Mon Nov 13 15:28:57 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:56 CET 2006 --> <hibernate-mapping> <class entity-name="XMLDeviant" abstract="false" lazy="false" table="`xmldeviant`"> <meta attribute="eclassName">XMLDeviant</meta> @@ -13,19 +13,19 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="numPosts" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="numPosts" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`numposts`"/> </property> - <property name="signature" type="java.lang.String" lazy="false" not-null="false"> + <property name="signature" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`signature`"/> </property> - <property name="email" type="java.lang.String" lazy="false" not-null="false"> + <property name="email" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`email`"/> </property> - <property name="firstSubscribed" type="serializable" lazy="false" not-null="false"> + <property name="firstSubscribed" type="serializable" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`firstsubscribed`"/> </property> - <property name="mailReader" type="java.lang.String" lazy="false" not-null="false"> + <property name="mailReader" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`mailreader`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_a_o/hibernate.hbm.xml index 52ddc0ed9..c0ad6808c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/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 Mon Nov 13 15:29:05 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:04 CET 2006 --> <hibernate-mapping> <typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> @@ -18,7 +18,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="false"> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`code`"/> </property> <list name="boo" lazy="true" cascade="all,delete-orphan"> @@ -26,115 +26,89 @@ <column name="`simplelist_boo_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_boo_idx`"/> - <element type="boolean"> - <column not-null="false" unique="false" name="`boo`"/> - </element> + <element type="boolean"/> </list> <list name="byt" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_byt_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_byt_idx`"/> - <element type="java.lang.Byte"> - <column not-null="false" unique="false" name="`byt`"/> - </element> + <element type="java.lang.Byte"/> </list> <list name="doubl" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_doubl_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_doubl_idx`"/> - <element type="java.lang.Double"> - <column not-null="false" unique="false" name="`doubl`"/> - </element> + <element type="java.lang.Double"/> </list> <list name="floa" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_floa_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_floa_idx`"/> - <element type="java.lang.Float"> - <column not-null="false" unique="false" name="`floa`"/> - </element> + <element type="java.lang.Float"/> </list> <list name="inte" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_inte_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_inte_idx`"/> - <element type="java.lang.Integer"> - <column not-null="false" unique="false" name="`inte`"/> - </element> + <element type="java.lang.Integer"/> </list> <list name="long" table="longNum" lazy="true" cascade="all,delete-orphan"> <key/> <list-index column="`simplelist_long_idx`"/> - <element type="java.lang.Long"> - <column not-null="false" unique="false" name="`long`"/> - </element> + <element type="java.lang.Long"/> </list> <list name="shor" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_shor_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_shor_idx`"/> - <element type="short"> - <column not-null="false" unique="false" name="`shor`"/> - </element> + <element type="short"/> </list> <list name="dat" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_dat_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_dat_idx`"/> - <element type="java.util.Date"> - <column not-null="false" unique="false" name="`dat`"/> - </element> + <element type="java.util.Date"/> </list> <list name="limitedstring" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_limitedstring_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_limitedstring_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`limitedstring`"/> - </element> + <element type="java.lang.String"/> </list> <array name="intArray" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_intarray_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_intarray_idx`"/> - <element type="int"> - <column not-null="false" unique="false" name="`intarray`"/> - </element> + <element type="int"/> </array> <array name="doubleArray" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_doublearray_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_doublearray_idx`"/> - <element type="double"> - <column not-null="false" unique="false" name="`doublearray`"/> - </element> + <element type="double"/> </array> <array name="stringArray" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_stringarray_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_stringarray_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`stringarray`"/> - </element> + <element type="java.lang.String"/> </array> <array name="byteArray" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_bytearray_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_bytearray_idx`"/> - <element type="byte"> - <column not-null="false" unique="false" name="`bytearray`"/> - </element> + <element type="byte"/> </array> </class> <class entity-name="SimpleType" abstract="false" lazy="false" discriminator-value="SimpleType" table="`simpletype`"> @@ -148,41 +122,41 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="false"> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`code`"/> </property> - <property name="boo" type="boolean" lazy="false" not-null="false"> + <property name="boo" type="boolean" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`boo`"/> </property> - <property name="byt" type="byte" lazy="false" not-null="false"> + <property name="byt" type="byte" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`byt`"/> </property> - <property name="doubl" type="double" lazy="false" not-null="false"> + <property name="doubl" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`doubl`"/> </property> - <property name="float" type="float" lazy="false" not-null="false"> + <property name="float" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`float`"/> </property> - <property name="inte" type="int" lazy="false" not-null="false"> + <property name="inte" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`inte`"/> </property> - <property name="lon" type="long" lazy="false" not-null="false"> + <property name="lon" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`lon`"/> </property> - <property name="shor" type="short" lazy="false" not-null="false"> + <property name="shor" type="short" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shor`"/> </property> - <property name="enu" lazy="false" not-null="false"> + <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`enu`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> </type> </property> - <property name="dat" type="timestamp" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`dat`"/> + <property name="dat" type="timestamp" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`dat`"/> </property> - <property name="limitedstring" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`limitedstring`"/> + <property name="limitedstring" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`limitedstring`"/> </property> </class> <class entity-name="SimpleTypeObject" abstract="false" lazy="false" discriminator-value="SimpleTypeObject" table="`simpletypeobject`"> @@ -196,34 +170,34 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="false"> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`code`"/> </property> - <property name="boo" type="java.lang.Boolean" lazy="false" not-null="false"> + <property name="boo" type="java.lang.Boolean" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`boo`"/> </property> - <property name="byt" type="java.lang.Byte" lazy="false" not-null="false"> + <property name="byt" type="java.lang.Byte" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`byt`"/> </property> - <property name="doubl" type="java.lang.Double" lazy="false" not-null="false"> + <property name="doubl" type="java.lang.Double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`doubl`"/> </property> - <property name="float" type="java.lang.Float" lazy="false" not-null="false"> + <property name="float" type="java.lang.Float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`float`"/> </property> - <property name="inte" type="java.lang.Integer" lazy="false" not-null="false"> + <property name="inte" type="java.lang.Integer" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`inte`"/> </property> - <property name="lon" type="java.lang.Long" lazy="false" not-null="false"> + <property name="lon" type="java.lang.Long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`lon`"/> </property> - <property name="shor" type="java.lang.Short" lazy="false" not-null="false"> + <property name="shor" type="java.lang.Short" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shor`"/> </property> - <property name="enu" lazy="false" not-null="false" type="simpletypes.SimpleEnumObject"> + <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false" type="simpletypes.SimpleEnumObject"> <column not-null="false" unique="false" name="`enu`"/> </property> - <property name="dat" type="timestamp" lazy="false" not-null="false"> + <property name="dat" type="timestamp" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`dat`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_s_o/hibernate.hbm.xml index 483fe1b3a..c52f73906 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/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 Mon Nov 13 15:28:53 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:52 CET 2006 --> <hibernate-mapping> <typedef name="simpletypes.SimpleEnumObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/simpletypes</param> @@ -17,7 +17,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="false"> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`code`"/> </property> <list name="boo" lazy="true" cascade="all,delete-orphan"> @@ -25,115 +25,89 @@ <column name="`simplelist_boo_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_boo_idx`"/> - <element type="boolean"> - <column not-null="false" unique="false" name="`boo`"/> - </element> + <element type="boolean"/> </list> <list name="byt" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_byt_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_byt_idx`"/> - <element type="java.lang.Byte"> - <column not-null="false" unique="false" name="`byt`"/> - </element> + <element type="java.lang.Byte"/> </list> <list name="doubl" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_doubl_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_doubl_idx`"/> - <element type="java.lang.Double"> - <column not-null="false" unique="false" name="`doubl`"/> - </element> + <element type="java.lang.Double"/> </list> <list name="floa" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_floa_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_floa_idx`"/> - <element type="java.lang.Float"> - <column not-null="false" unique="false" name="`floa`"/> - </element> + <element type="java.lang.Float"/> </list> <list name="inte" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_inte_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_inte_idx`"/> - <element type="java.lang.Integer"> - <column not-null="false" unique="false" name="`inte`"/> - </element> + <element type="java.lang.Integer"/> </list> <list name="long" table="longNum" lazy="true" cascade="all,delete-orphan"> <key/> <list-index column="`simplelist_long_idx`"/> - <element type="java.lang.Long"> - <column not-null="false" unique="false" name="`long`"/> - </element> + <element type="java.lang.Long"/> </list> <list name="shor" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_shor_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_shor_idx`"/> - <element type="short"> - <column not-null="false" unique="false" name="`shor`"/> - </element> + <element type="short"/> </list> <list name="dat" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_dat_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_dat_idx`"/> - <element type="java.util.Date"> - <column not-null="false" unique="false" name="`dat`"/> - </element> + <element type="java.util.Date"/> </list> <list name="limitedstring" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_limitedstring_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_limitedstring_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`limitedstring`"/> - </element> + <element type="java.lang.String"/> </list> <array name="intArray" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_intarray_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_intarray_idx`"/> - <element type="int"> - <column not-null="false" unique="false" name="`intarray`"/> - </element> + <element type="int"/> </array> <array name="doubleArray" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_doublearray_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_doublearray_idx`"/> - <element type="double"> - <column not-null="false" unique="false" name="`doublearray`"/> - </element> + <element type="double"/> </array> <array name="stringArray" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_stringarray_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_stringarray_idx`"/> - <element type="java.lang.String"> - <column not-null="false" unique="false" name="`stringarray`"/> - </element> + <element type="java.lang.String"/> </array> <array name="byteArray" cascade="all,delete-orphan"> <key update="true"> <column name="`simplelist_bytearray_id`" not-null="true" unique="false"/> </key> <list-index column="`simplelist_bytearray_idx`"/> - <element type="byte"> - <column not-null="false" unique="false" name="`bytearray`"/> - </element> + <element type="byte"/> </array> </class> <class entity-name="SimpleType" abstract="false" lazy="false" table="`simpletype`"> @@ -146,41 +120,41 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="false"> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`code`"/> </property> - <property name="boo" type="boolean" lazy="false" not-null="false"> + <property name="boo" type="boolean" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`boo`"/> </property> - <property name="byt" type="byte" lazy="false" not-null="false"> + <property name="byt" type="byte" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`byt`"/> </property> - <property name="doubl" type="double" lazy="false" not-null="false"> + <property name="doubl" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`doubl`"/> </property> - <property name="float" type="float" lazy="false" not-null="false"> + <property name="float" type="float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`float`"/> </property> - <property name="inte" type="int" lazy="false" not-null="false"> + <property name="inte" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`inte`"/> </property> - <property name="lon" type="long" lazy="false" not-null="false"> + <property name="lon" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`lon`"/> </property> - <property name="shor" type="short" lazy="false" not-null="false"> + <property name="shor" type="short" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shor`"/> </property> - <property name="enu" lazy="false" not-null="false"> + <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`enu`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param> </type> </property> - <property name="dat" type="timestamp" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`dat`"/> + <property name="dat" type="timestamp" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`dat`"/> </property> - <property name="limitedstring" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`limitedstring`"/> + <property name="limitedstring" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`limitedstring`"/> </property> </class> <class entity-name="SimpleTypeObject" abstract="false" lazy="false" table="`simpletypeobject`"> @@ -193,34 +167,34 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="code" type="java.lang.String" lazy="false" not-null="false"> + <property name="code" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`code`"/> </property> - <property name="boo" type="java.lang.Boolean" lazy="false" not-null="false"> + <property name="boo" type="java.lang.Boolean" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`boo`"/> </property> - <property name="byt" type="java.lang.Byte" lazy="false" not-null="false"> + <property name="byt" type="java.lang.Byte" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`byt`"/> </property> - <property name="doubl" type="java.lang.Double" lazy="false" not-null="false"> + <property name="doubl" type="java.lang.Double" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`doubl`"/> </property> - <property name="float" type="java.lang.Float" lazy="false" not-null="false"> + <property name="float" type="java.lang.Float" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`float`"/> </property> - <property name="inte" type="java.lang.Integer" lazy="false" not-null="false"> + <property name="inte" type="java.lang.Integer" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`inte`"/> </property> - <property name="lon" type="java.lang.Long" lazy="false" not-null="false"> + <property name="lon" type="java.lang.Long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`lon`"/> </property> - <property name="shor" type="java.lang.Short" lazy="false" not-null="false"> + <property name="shor" type="java.lang.Short" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`shor`"/> </property> - <property name="enu" lazy="false" not-null="false" type="simpletypes.SimpleEnumObject"> + <property name="enu" lazy="false" not-null="false" insert="true" update="true" unique="false" type="simpletypes.SimpleEnumObject"> <column not-null="false" unique="false" name="`enu`"/> </property> - <property name="dat" type="timestamp" lazy="false" not-null="false"> + <property name="dat" type="timestamp" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`dat`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_a_o/hibernate.hbm.xml index 5f3be23b5..b76d0e11b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/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 Mon Nov 13 15:29:08 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:07 CET 2006 --> <hibernate-mapping> <class entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`"> <meta attribute="eclassName">PurchaseOrder</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Supplier" abstract="false" lazy="false" discriminator-value="Supplier" table="`supplier`"> @@ -29,8 +29,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="orders" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -53,10 +53,10 @@ <many-to-one name="standardOrders" entity-name="PurchaseOrder" cascade="all" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`purchaseorder_standardorders_id`"/> </many-to-one> - <property name="hardCopyOrderReference" type="java.lang.String" lazy="false" not-null="false"> + <property name="hardCopyOrderReference" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`hardcopyorderreference`"/> </property> - <property name="hardCopyOrderNumber" type="long" lazy="false" not-null="false"> + <property name="hardCopyOrderNumber" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`hardcopyordernumber`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_s_o/hibernate.hbm.xml index e5445d448..9dd9e8cd8 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/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 Mon Nov 13 15:28:57 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:55 CET 2006 --> <hibernate-mapping> <class entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`"> <meta attribute="eclassName">PurchaseOrder</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <class entity-name="Supplier" abstract="false" lazy="false" table="`supplier`"> @@ -27,8 +27,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="orders" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -51,10 +51,10 @@ <many-to-one name="standardOrders" entity-name="PurchaseOrder" cascade="all" lazy="false" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`purchaseorder_standardorders_id`"/> </many-to-one> - <property name="hardCopyOrderReference" type="java.lang.String" lazy="false" not-null="false"> + <property name="hardCopyOrderReference" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`hardcopyorderreference`"/> </property> - <property name="hardCopyOrderNumber" type="long" lazy="false" not-null="false"> + <property name="hardCopyOrderNumber" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`hardcopyordernumber`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_a_o/hibernate.hbm.xml index b98cc91a6..a97cda88e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/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 Mon Nov 13 15:29:14 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:11 CET 2006 --> <hibernate-mapping> <class entity-name="ComplexNumber" abstract="false" lazy="false" discriminator-value="ComplexNumber" table="`complexnumber`"> <meta attribute="eclassName">ComplexNumber</meta> @@ -14,11 +14,11 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="java.math.BigInteger" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`value`"/> + <property name="value" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`value`"/> </property> - <property name="unit" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`unit`"/> + <property name="unit" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`unit`"/> </property> </class> <subclass entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="EvenComplexNumberType"> @@ -36,8 +36,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="myComplexAbstractGroup" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -69,8 +69,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="mySimpleAbstractGroup" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -94,7 +94,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="mySimpleAbstract" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="mySimpleAbstract" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`mysimpleabstract`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_s_o/hibernate.hbm.xml index c35e0579c..57227352a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/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 Mon Nov 13 15:29:02 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:02 CET 2006 --> <hibernate-mapping> <class entity-name="ComplexNumber" abstract="false" lazy="false" table="`complexnumber`"> <meta attribute="eclassName">ComplexNumber</meta> @@ -13,11 +13,11 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="java.math.BigInteger" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`value`"/> + <property name="value" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`value`"/> </property> - <property name="unit" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`unit`"/> + <property name="unit" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`unit`"/> </property> </class> <joined-subclass entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" table="`evencomplexnumbertype`"> @@ -37,8 +37,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="myComplexAbstractGroup" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -69,8 +69,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="mySimpleAbstractGroup" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -94,7 +94,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="mySimpleAbstract" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="mySimpleAbstract" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`mysimpleabstract`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_a_o/hibernate.hbm.xml index 19158baac..a53da14f4 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/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 Mon Nov 13 15:29:13 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:10 CET 2006 --> <hibernate-mapping> <class entity-name="ComplexAAA" abstract="false" lazy="false" discriminator-value="ComplexAAA" table="`complexaaa`"> <meta attribute="eclassName">ComplexAAA</meta> @@ -14,7 +14,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="long" lazy="false" not-null="false"> + <property name="value" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> @@ -59,7 +59,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="myAbstract" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="myAbstract" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`myabstract`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_s_o/hibernate.hbm.xml index d627858d9..a179412be 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/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 Mon Nov 13 15:29:02 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:18:59 CET 2006 --> <hibernate-mapping> <class entity-name="ComplexAAA" abstract="false" lazy="false" table="`complexaaa`"> <meta attribute="eclassName">ComplexAAA</meta> @@ -13,7 +13,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="value" type="long" lazy="false" not-null="false"> + <property name="value" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`value`"/> </property> </class> @@ -63,7 +63,7 @@ </id> <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> <property name="fme_feature" type="java.lang.String"/> - <property name="myAbstract" type="java.math.BigInteger" lazy="false" not-null="false"> + <property name="myAbstract" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`myabstract`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_a_o/hibernate.hbm.xml index 7b1436e29..3859d724a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/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 Mon Nov 13 15:29:24 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:20 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="country" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -36,8 +36,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -58,8 +58,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="address" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -72,21 +72,21 @@ <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"> <meta attribute="eclassName">USAddress</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <property name="state" type="java.lang.String" lazy="false" not-null="false"> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`state`"/> </property> </subclass> <subclass entity-name="USCity" abstract="false" lazy="false" extends="City" discriminator-value="USCity"> <meta attribute="eclassName">USCity</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <property name="state" type="java.lang.String" lazy="false" not-null="false"> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`state`"/> </property> </subclass> <subclass entity-name="USOfficeAddress" abstract="false" lazy="false" extends="USAddress" discriminator-value="USOfficeAddress"> <meta attribute="eclassName">USOfficeAddress</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/abstractreference</meta> - <property name="location" type="java.lang.String" lazy="false" not-null="false"> + <property name="location" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`location`"/> </property> </subclass> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_s_o/hibernate.hbm.xml index 20a5c1ee1..5551b61d7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/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 Mon Nov 13 15:29:17 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:15 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="true" lazy="false" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="country" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -34,8 +34,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> @@ -55,8 +55,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="address" lazy="true" cascade="all,delete-orphan"> <key update="true"> @@ -72,8 +72,8 @@ <key> <column name="`address_id`"/> </key> - <property name="state" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`state`"/> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`state`"/> </property> </joined-subclass> <joined-subclass entity-name="USCity" abstract="false" lazy="false" extends="City" table="`uscity`"> @@ -82,8 +82,8 @@ <key> <column name="`city_id`"/> </key> - <property name="state" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`state`"/> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`state`"/> </property> </joined-subclass> <joined-subclass entity-name="USOfficeAddress" abstract="false" lazy="false" extends="USAddress" table="`usofficeaddress`"> @@ -92,8 +92,8 @@ <key> <column name="`usaddress_id`"/> </key> - <property name="location" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`location`"/> + <property name="location" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`location`"/> </property> </joined-subclass> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_a_o/hibernate.hbm.xml index 638ba367a..43a46d289 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_a_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:29:23 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:19 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bagduplicate</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_s_o/hibernate.hbm.xml index 66358a938..27e7c7660 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_s_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:29:17 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:14 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" table="`person`"> <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bagduplicate</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml index e58210fda..f7d5eb9bc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/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 Mon Nov 13 15:29:23 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:20 CET 2006 --> <hibernate-mapping> <typedef name="enumtest.ItemTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</param> @@ -11,7 +11,7 @@ <meta attribute="eclassName">Item</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</meta> <id name="itemType"> - <column not-null="false" unique="false" name="`itemtype`"/> + <column not-null="true" unique="false" name="`itemtype`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> </type> @@ -20,7 +20,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="nullableItemType" lazy="false" not-null="false"> + <property name="nullableItemType" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`nullableitemtype`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_s_o/hibernate.hbm.xml index 650fac192..c6509f1b5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/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 Mon Nov 13 15:29:17 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:15 CET 2006 --> <hibernate-mapping> <typedef name="enumtest.ItemTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</param> @@ -11,7 +11,7 @@ <meta attribute="eclassName">Item</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</meta> <id name="itemType"> - <column not-null="false" unique="false" name="`itemtype`"/> + <column not-null="true" unique="false" name="`itemtype`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> </type> @@ -19,7 +19,7 @@ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> </version> - <property name="nullableItemType" lazy="false" not-null="false"> + <property name="nullableItemType" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`nullableitemtype`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_a_o/hibernate.hbm.xml index b1c30cf1d..2b36a3173 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_a_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:29:22 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:19 CET 2006 --> <hibernate-mapping> <class entity-name="Thing" abstract="false" lazy="false" discriminator-value="Thing" table="`thing`"> <meta attribute="eclassName">Thing</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> @@ -37,7 +37,7 @@ <meta attribute="eclassName">SubThing</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_s_o/hibernate.hbm.xml index a3671a727..57a81bdb4 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_s_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:29:16 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:13 CET 2006 --> <hibernate-mapping> <class entity-name="Thing" abstract="false" lazy="false" table="`thing`"> <meta attribute="eclassName">Thing</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> @@ -45,7 +45,7 @@ <meta attribute="eclassName">SubThing</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/inheritance</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_a_o/hibernate.hbm.xml index b02736fa6..0d050643d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/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 Mon Nov 13 15:29:25 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:21 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -14,14 +14,14 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"> <meta attribute="eclassName">USAddress</meta> <meta attribute="epackage">http:///org/elver/store/test/issues/interfacetrue.ecore</meta> - <property name="state" type="java.lang.String" lazy="false" not-null="false"> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`state`"/> </property> </subclass> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_s_o/hibernate.hbm.xml index 4ae238686..9cbce7a0c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/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 Mon Nov 13 15:29:19 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:16 CET 2006 --> <hibernate-mapping> <class entity-name="Address" abstract="true" lazy="false" table="`address`"> <meta attribute="eclassName">Address</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> </class> <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> @@ -23,8 +23,8 @@ <key> <column name="`address_id`"/> </key> - <property name="state" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`state`"/> + <property name="state" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`state`"/> </property> </joined-subclass> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MTMSameAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MTMSameAction/mysql_a_o/hibernate.hbm.xml index 9d8fbc1e6..5228c0c0e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MTMSameAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MTMSameAction/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 Mon Nov 13 15:29:21 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:18 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> <meta attribute="eclassName">Item</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="mySide" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="item_item"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MTMSameAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MTMSameAction/mysql_s_o/hibernate.hbm.xml index 87de5c132..66d8b50e1 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MTMSameAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.MTMSameAction/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 Mon Nov 13 15:29:15 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:12 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" table="`item`"> <meta attribute="eclassName">Item</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <bag name="mySide" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="item_item"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_a_o/hibernate.hbm.xml index 1dd76e435..a798b185b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_a_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:29:22 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:19 CET 2006 --> <hibernate-mapping> <class entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`"> <meta attribute="eclassName">Head</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> <id name="hair" type="java.lang.String"> - <column not-null="false" unique="false" name="`hair`"/> + <column not-null="true" unique="false" name="`hair`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> @@ -18,7 +18,7 @@ <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_s_o/hibernate.hbm.xml index c75509e7e..35a92988e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_s_o/hibernate.hbm.xml @@ -1,13 +1,13 @@ <?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 Mon Nov 13 15:29:16 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:14 CET 2006 --> <hibernate-mapping> <class entity-name="Head" abstract="false" lazy="false" table="`head`"> <meta attribute="eclassName">Head</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> <id name="hair" type="java.lang.String"> - <column not-null="false" unique="false" name="`hair`"/> + <column not-null="true" unique="false" name="`hair`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> @@ -17,7 +17,7 @@ <meta attribute="eclassName">Person</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/resource</meta> <id name="name" type="java.lang.String"> - <column not-null="false" unique="false" name="`name`"/> + <column not-null="true" unique="false" name="`name`"/> </id> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> <meta attribute="syntheticVersion">true</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_a_o/hibernate.hbm.xml index 96293faf8..d4669c671 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/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 Mon Nov 13 15:29:25 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:21 CET 2006 --> <hibernate-mapping> <class entity-name="Me" abstract="false" lazy="false" discriminator-value="Me" table="`me`"> <meta attribute="eclassName">Me</meta> @@ -14,8 +14,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="you" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="me_you"> <key update="true"> @@ -38,8 +38,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="me" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="you_me"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_s_o/hibernate.hbm.xml index 6f2f5f80e..d90be978a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/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 Mon Nov 13 15:29:19 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:16 CET 2006 --> <hibernate-mapping> <class entity-name="Me" abstract="false" lazy="false" table="`me`"> <meta attribute="eclassName">Me</meta> @@ -13,8 +13,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="you" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="me_you"> <key update="true"> @@ -36,8 +36,8 @@ <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" type="java.lang.String" lazy="false" not-null="true"> - <column not-null="false" unique="false" name="`name`"/> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false"> + <column not-null="true" unique="false" name="`name`"/> </property> <list name="me" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="you_me"> <key update="true"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_a_o/hibernate.hbm.xml index 989c5de01..eef10978b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/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 Mon Nov 13 15:29:26 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:22 CET 2006 --> <hibernate-mapping> <class entity-name="AbstractSuper" abstract="false" lazy="false" discriminator-value="AbstractSuper" table="`abstractsuper`"> <meta attribute="eclassName">AbstractSuper</meta> @@ -14,7 +14,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_s_o/hibernate.hbm.xml index 1b13fddb1..e722c3c29 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/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 Mon Nov 13 15:29:20 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 20:19:17 CET 2006 --> <hibernate-mapping> <class entity-name="AbstractSuper" abstract="false" lazy="false" table="`abstractsuper`"> <meta attribute="eclassName">AbstractSuper</meta> @@ -13,7 +13,7 @@ <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" type="java.lang.String" lazy="false" not-null="false"> + <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false"> <column not-null="false" unique="false" name="`name`"/> </property> </class> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java index 009c0aebe..5c870a110 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java @@ -11,7 +11,7 @@ * Martin Taal * </copyright> * - * $Id: AllTests.java,v 1.20 2006/11/12 00:19:28 mtaal Exp $ + * $Id: AllTests.java,v 1.21 2006/11/13 19:55:30 mtaal Exp $ */ package org.eclipse.emf.teneo.hibernate.test.emf.sample; @@ -44,7 +44,7 @@ import org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction; * All sample tests * * @author <a href="mailto:mtaal@elver.org">Martin Taal</a> - * @version $Revision: 1.20 $ + * @version $Revision: 1.21 $ */ public class AllTests { @@ -52,6 +52,8 @@ public class AllTests { TestSuite suite = new MultiCfgTestSuite("Test for org.eclipse.emf.teneo.hibernate.test.emf.sample", HibernateTestbed.instance() .getConfigurations()); // suite.addTestSuite(YahooAction.class); + + suite.addTestSuite(LibraryNonResolvingAction.class); suite.addTestSuite(ExtendedPO2Test.class); suite.addTestSuite(LibrarySerializationAction.class); @@ -71,8 +73,6 @@ public class AllTests { suite.addTestSuite(CapaTest.class); suite.addTestSuite(DetachFromSessionAction.class); - - suite.addTestSuite(LibraryNonResolvingAction.class); suite.addTestSuite(AccountingTest.class); suite.addTestSuite(SunBooksAction.class); diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/schemaconstructs/AllTests.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/schemaconstructs/AllTests.java index 32e7ce1d7..0ea43cbba 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/schemaconstructs/AllTests.java +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/schemaconstructs/AllTests.java @@ -11,7 +11,7 @@ * Martin Taal * </copyright> * - * $Id: AllTests.java,v 1.4 2006/09/28 20:05:52 mtaal Exp $ + * $Id: AllTests.java,v 1.5 2006/11/13 19:55:30 mtaal Exp $ */ package org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs; @@ -38,22 +38,22 @@ import org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction; * All tests * * @author <a href="mailto:mtaal@elver.org">Martin Taal</a> - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public class AllTests { public static Test suite() { TestSuite suite = new MultiCfgTestSuite("Test for org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs", HibernateTestbed .instance().getConfigurations()); - suite.addTestSuite(EMapAction.class); + suite.addTestSuite(AttributesTest.class); + suite.addTestSuite(EMapAction.class); suite.addTestSuite(SimpleTypeAction.class); suite.addTestSuite(ListAction.class); suite.addTestSuite(EcoreAttrsAction.class); suite.addTestSuite(MixedAction.class); suite.addTestSuite(SimplefeaturemapAction.class); suite.addTestSuite(RestrictionAction.class); - suite.addTestSuite(AttributesTest.class); suite.addTestSuite(ExtensionAction.class); suite.addTestSuite(GroupAction.class); suite.addTestSuite(NestedGroupAction.class); |