diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml | 12 |
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_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml index d73fb6715..5f25e6fac 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/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:40 CEST 2006 --> +<!-- Generated by Teneo on Fri Sep 29 13:48:25 CEST 2006 --> <hibernate-mapping> <class entity-name="AuthorsType" abstract="false" lazy="false" table="`authorstype`"> <id type="long" name="e_id" column="e_id"> @@ -10,7 +10,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"/> @@ -23,7 +23,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"/> @@ -38,11 +38,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"> @@ -58,7 +58,7 @@ </id> <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" table="`promotiontype`"> |