Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/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.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml
index 721b8cb00..44ca9d58a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/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 00:56:25 CET 2006 -->
+<!-- Generated by Teneo on Mon Nov 13 15:27:14 CET 2006 -->
<hibernate-mapping>
+ <typedef name="lazy.BookCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
+ <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/lazy</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/annotations/lazy</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.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.lazy.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">
<key update="true">
<column name="`book_author_id`" not-null="false" unique="false"/>

Back to the top