Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2006-11-13 14:52:20 +0000
committermtaal2006-11-13 14:52:20 +0000
commitac07cab0fc78e3c3592fd67061492bafd1a2b738 (patch)
treecb449fed3a9e91299ad6cb19d1cd91742b88213f /tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o
parent06dec04923c8301d89a422bcc0c9af11e77654de (diff)
downloadorg.eclipse.emf.teneo-ac07cab0fc78e3c3592fd67061492bafd1a2b738.tar.gz
org.eclipse.emf.teneo-ac07cab0fc78e3c3592fd67061492bafd1a2b738.tar.xz
org.eclipse.emf.teneo-ac07cab0fc78e3c3592fd67061492bafd1a2b738.zip
[162339]
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml25
1 files changed, 19 insertions, 6 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml
index 8c949d03f..9ef7be492 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml
@@ -1,8 +1,12 @@
<?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 01:10:25 CET 2006 -->
+<!-- Generated by Teneo on Mon Nov 13 15:28:45 CET 2006 -->
<hibernate-mapping>
+ <typedef name="library.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
+ <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param>
+ <param name="edatatype">BookCategoryObject</param>
+ </typedef>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<meta attribute="eclassName">Book</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta>
@@ -14,9 +18,14 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <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" not-null="false" column="`category`">
+ <property name="title" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`title`"/>
+ </property>
+ <property name="pages" type="int" lazy="false" not-null="false">
+ <column not-null="false" unique="false" name="`pages`"/>
+ </property>
+ <property name="category" lazy="false" not-null="false">
+ <column not-null="false" unique="false" name="`category`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
</type>
@@ -36,7 +45,9 @@
<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" column="`name`" not-null="true"/>
+ <property name="name" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`name`"/>
+ </property>
<list name="writers" lazy="false" cascade="all,delete-orphan">
<key update="true">
<column name="`library_writers_id`" not-null="false" unique="false"/>
@@ -63,7 +74,9 @@
<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" column="`name`" not-null="true"/>
+ <property name="name" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`name`"/>
+ </property>
<list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
<column name="`book_author_id`" not-null="false" unique="false"/>

Back to the top