Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2006-09-29 12:29:28 +0000
committermtaal2006-09-29 12:29:28 +0000
commit20543ebfd460cb89c2ff6c2faf9024a10b78407e (patch)
tree8266d44e811814eb83feb90a4bffdeea59d8061f /tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml
parentcb13d82b28158596026c64344ad0bc782623be73 (diff)
downloadorg.eclipse.emf.teneo-20543ebfd460cb89c2ff6c2faf9024a10b78407e.tar.gz
org.eclipse.emf.teneo-20543ebfd460cb89c2ff6c2faf9024a10b78407e.tar.xz
org.eclipse.emf.teneo-20543ebfd460cb89c2ff6c2faf9024a10b78407e.zip
Changed testcases to use new annotation formatbuild_200609290842
Solved several issues in annotation parser [157746]
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml
index 4e6ae7c90..d0ddeef7e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/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 Teneo on Thu Sep 28 21:19:10 CEST 2006 -->
+<!-- Generated by Teneo on Fri Sep 29 13:48:54 CEST 2006 -->
<hibernate-mapping>
<class entity-name="library.Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
@@ -16,8 +16,8 @@
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
</type>
</property>
- <many-to-one name="author" entity-name="library.Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`author_id`"/>
+ <many-to-one name="author" entity-name="library.Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
</many-to-one>
</class>
<class entity-name="library.Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
@@ -29,14 +29,14 @@
<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"/>
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
</key>
<list-index column="`library_writers_idx`"/>
<one-to-many entity-name="library.Writer"/>
</list>
<list name="books" lazy="true" cascade="all,delete-orphan">
<key update="true">
- <column name="`books_id`" not-null="false" unique="false"/>
+ <column name="`library_books_id`" not-null="false" unique="false"/>
</key>
<list-index column="`library_books_idx`"/>
<one-to-many entity-name="library.Book"/>
@@ -51,7 +51,7 @@
<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"/>
+ <column name="`book_author_id`" not-null="false" unique="false"/>
</key>
<list-index column="`writer_books_idx`"/>
<one-to-many entity-name="library.Book"/>

Back to the top