diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml | 10 |
1 files changed, 7 insertions, 3 deletions
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 e675ca1bd..40cdafa27 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,14 +1,18 @@ <?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:56:31 CET 2006 --> +<!-- Generated by Teneo on Mon Nov 13 15:27:22 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="`firstname`"/> - <key-property name="lastName" type="java.lang.String" column="`lastname`"/> + <key-property name="firstName" type="java.lang.String"> + <column not-null="false" unique="false" name="`firstname`"/> + </key-property> + <key-property name="lastName" type="java.lang.String"> + <column not-null="false" 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"> |