Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml
index d13ac2927..7c7472ae7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_hsqldb_h_o_hibernate.hbm.xml
@@ -61,14 +61,14 @@
</property>
<bag name="writers" fetch="subselect" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="schrijvers">
+ <key foreign-key="SCHRIJVERS_KEY" update="true">
<column name="`LIBRARY_WRITERS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Writer"/>
</bag>
<bag name="books" lazy="true" cascade="all,delete-orphan">
<cache usage="read-write"/>
- <key update="true" foreign-key="LIBRARY_BOOKS">
+ <key foreign-key="LIBRARY_BOOKS_KEY" update="true">
<column name="`LIBRARY_BOOKS_E_ID`" unique="false"/>
</key>
<one-to-many entity-name="Book"/>
@@ -254,14 +254,14 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="writers" table="`LIBRARYAUDITING_WRITERSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_WRITERS_KEY" update="true">
<column name="`LIBRARYAUDITING_WRITERS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_WRITERS_IDX`"/>
<element type="java.lang.String"/>
</list>
<list name="books" table="`LIBRARYAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="LIBRARYAUDITING_BOOKS_KEY" update="true">
<column name="`LIBRARYAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`LIBRARYAUDITING_BOOKS_IDX`"/>
@@ -324,7 +324,7 @@
<column not-null="false" unique="false" name="`NAME`"/>
</property>
<list name="books" table="`WRITERAUDITING_BOOKSAUDITING`" lazy="true" cascade="all">
- <key update="true">
+ <key foreign-key="WRITERAUDITING_BOOKS_KEY" update="true">
<column name="`WRITERAUDITING_BOOKS_TENEO_AUDIT_ID`" unique="false"/>
</key>
<list-index column="`WRITERAUDITING_BOOKS_IDX`"/>

Back to the top