Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_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.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml
index 86ee577f9..f01fef366 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_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:18:45 CEST 2006 -->
+<!-- Generated by Teneo on Fri Sep 29 13:48:30 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
@@ -15,8 +15,8 @@
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
</type>
</property>
- <many-to-one name="author" entity-name="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="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" abstract="false" lazy="false" table="`library`">
@@ -27,14 +27,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="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="Book"/>
@@ -48,7 +48,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="Book"/>

Back to the top