diff options
Removed throw of exception from eruntime getinstanceclass, null is now returned, also if no concrete class is found, interface is returned
Added testcases
Various changes for better support of multiple inheritance
unique property of eattribute is not used anymore
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml | 10 |
1 files changed, 5 insertions, 5 deletions
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 20d187c68..942dc4f22 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 Elver Store tools on Thu Aug 03 06:04:27 CEST 2006 --> +<!-- Generated by Elver Store tools on Mon Aug 14 00:28:29 CEST 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <id type="long" name="e_id" column="e_id"> @@ -9,8 +9,8 @@ </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> - <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true" unique="false"/> - <property name="pages" type="int" lazy="false" column="`pages`" not-null="false" unique="false"/> + <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/> + <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/> <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false"> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> @@ -26,7 +26,7 @@ </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> - <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true" unique="false"/> + <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/> <list name="writers" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`writers_id`" not-null="false" unique="false"/> @@ -48,7 +48,7 @@ </id> <discriminator column="`dtype`" type="string"/> <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/> - <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true" unique="false"/> + <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/> <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh"> <key update="true"> <column name="`author_id`" not-null="false" unique="false"/> |