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