diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml | 30 |
1 files changed, 15 insertions, 15 deletions
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 |