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.sample.ForumAction/mysql_a_o/hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/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.ForumAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml
index f50587c2d..0fd804711 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/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:30 CET 2006 -->
+<!-- Generated by Teneo on Mon Nov 13 15:28:51 CET 2006 -->
<hibernate-mapping>
+ <typedef name="forum.TopicCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
+ <param name="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/sample/forum</param>
+ <param name="edatatype">TopicCategoryObject</param>
+ </typedef>
<class entity-name="Forum" abstract="false" lazy="false" discriminator-value="Forum" table="`forum`">
<meta attribute="eclassName">Forum</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/sample/forum</meta>
@@ -14,7 +18,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="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="title" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`title`"/>
+ </property>
<list name="members" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`forum_members_id`" not-null="false" unique="false"/>
@@ -41,7 +47,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="nickname" type="java.lang.String" lazy="false" column="`nickname`" not-null="true"/>
+ <property name="nickname" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`nickname`"/>
+ </property>
<list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
<column name="`post_author_id`" not-null="false" unique="false"/>
@@ -68,7 +76,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="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="true"/>
+ <property name="comment" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`comment`"/>
+ </property>
<many-to-one name="author" entity-name="Member" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`post_author_id`"/>
</many-to-one>
@@ -87,8 +97,11 @@
<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="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="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.sample.forum.TopicCategory</param>
</type>

Back to the top