diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml | 12 |
1 files changed, 9 insertions, 3 deletions
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 2758f2c75..e58210fda 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,12 +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 Sun Nov 12 00:58:00 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 15:29:23 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> + <param name="edatatype">ItemTypeObject</param> + </typedef> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> <meta attribute="eclassName">Item</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/enumtest</meta> - <id name="itemType" column="`itemtype`"> + <id name="itemType"> + <column not-null="false" 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> @@ -15,7 +20,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="nullableItemType" lazy="false" not-null="false" column="`nullableitemtype`"> + <property name="nullableItemType" lazy="false" not-null="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> </type> |