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.test.emf.sample.SunBooksAction/mysql_a_o')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/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.SunBooksAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml
index aa18e18ab..b1f1c1149 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/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:03 CEST 2006 -->
+<!-- Generated by Teneo on Fri Sep 29 13:48:48 CEST 2006 -->
<hibernate-mapping>
<class entity-name="AuthorsType" abstract="false" lazy="false" discriminator-value="AuthorsType" table="`authorstype`">
<id type="long" name="e_id" column="e_id">
@@ -11,7 +11,7 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
<list name="authorName" lazy="true" cascade="all,delete-orphan">
<key update="true">
- <column name="`authorname_id`" not-null="true" unique="false"/>
+ <column name="`authorstype_authorname_id`" not-null="true" unique="false"/>
</key>
<list-index column="`authorstype_authorname_idx`"/>
<element type="java.lang.String"/>
@@ -25,7 +25,7 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
<list name="book" lazy="true" cascade="all,delete-orphan">
<key update="true">
- <column name="`book_id`" not-null="false" unique="false"/>
+ <column name="`bookstype_book_id`" not-null="false" unique="false"/>
</key>
<list-index column="`bookstype_book_idx`"/>
<one-to-many entity-name="BookType"/>
@@ -41,11 +41,11 @@
<property name="iSBN" type="long" lazy="false" column="`isbn`" not-null="false"/>
<property name="price" type="java.lang.String" lazy="false" column="`price`" not-null="true"/>
<many-to-one name="authors" entity-name="AuthorsType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
- <column not-null="true" unique="false" name="`authors_id`"/>
+ <column not-null="true" unique="false" name="`authorstype_authors_id`"/>
</many-to-one>
<property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="false"/>
<many-to-one name="promotion" entity-name="PromotionType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
- <column not-null="true" unique="false" name="`promotion_id`"/>
+ <column not-null="true" unique="false" name="`promotiontype_promotion_id`"/>
</many-to-one>
<property name="publicationDate" type="serializable" lazy="false" column="`publicationdate`" not-null="true"/>
<property name="bookCategory" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`bookcategory`" not-null="false" unique="false">
@@ -62,7 +62,7 @@
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
<many-to-one name="books" entity-name="BooksType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
- <column not-null="true" unique="false" name="`books_id`"/>
+ <column not-null="true" unique="false" name="`bookstype_books_id`"/>
</many-to-one>
</class>
<class entity-name="PromotionType" abstract="false" lazy="false" discriminator-value="PromotionType" table="`promotiontype`">

Back to the top