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.annotations/HbMapKeysAction_hsqldb_e_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_hsqldb_e_o_hibernate.hbm.xml58
1 files changed, 29 insertions, 29 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_hsqldb_e_o_hibernate.hbm.xml
index f334c9544..ee85ee762 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/HbMapKeysAction_hsqldb_e_o_hibernate.hbm.xml
@@ -124,23 +124,23 @@
<property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TITLE`"/>
</property>
- <map name="writersByName" lazy="true" cascade="all,delete-orphan">
+ <list name="writersByName" lazy="true" cascade="all,delete-orphan">
<key update="true" foreign-key="BOOKAUDITING_WRITERSBYNAME">
<column name="`BOOKAUDITING_WRITERSBYNAME_TENEO_AUDIT_ID`" unique="false"/>
</key>
- <map-key type="java.lang.String"/>
- <one-to-many entity-name="Writer"/>
- </map>
- <map name="cityByWriter" lazy="true" cascade="all,delete-orphan">
+ <list-index column="`BOOKAUDITING_WRITERSBYNAME_IDX`"/>
+ <one-to-many entity-name="StringToWriterMapEntryAuditing"/>
+ </list>
+ <list name="cityByWriter" lazy="true" cascade="all,delete-orphan">
<key update="true" foreign-key="BOOKAUDITING_CITYBYWRITER">
<column name="`BOOKAUDITING_CITYBYWRITER_TENEO_AUDIT_ID`" unique="false"/>
</key>
- <map-key-many-to-many entity-name="Writer"/>
- <one-to-many entity-name="City"/>
- </map>
+ <list-index column="`BOOKAUDITING_CITYBYWRITER_IDX`"/>
+ <one-to-many entity-name="WriterToCityMapEntryAuditing"/>
+ </list>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CityAuditing" abstract="false" lazy="false" table="`CITYAUDITING`">
- <meta attribute="eclassName" inherit="false">CityAuditing</meta>
+ <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StringToWriterMapEntryAuditing" abstract="false" lazy="false" table="`STRINGTOWRITERMAPENTRYAUDITING`">
+ <meta attribute="eclassName" inherit="false">StringToWriterMapEntryAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeysAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
@@ -158,7 +158,7 @@
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_END`"/>
</property>
- <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CITYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
+ <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STRINGTOWRITERMAPENTRYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
@@ -178,15 +178,15 @@
<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`"/>
</property>
- <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`NAME`"/>
+ <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`KEY`"/>
</property>
- <property name="cityWriter" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`CITYWRITER`"/>
+ <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`VALUE`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StringToWriterMapEntryAuditing" abstract="false" lazy="false" table="`STRINGTOWRITERMAPENTRYAUDITING`">
- <meta attribute="eclassName" inherit="false">StringToWriterMapEntryAuditing</meta>
+ <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WriterToCityMapEntryAuditing" abstract="false" lazy="false" table="`WRITERTOCITYMAPENTRYAUDITING`">
+ <meta attribute="eclassName" inherit="false">WriterToCityMapEntryAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeysAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
@@ -204,7 +204,7 @@
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_END`"/>
</property>
- <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STRINGTOWRITERMAPENTRYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
+ <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="WRITERTOCITYMAPENTRYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
@@ -231,8 +231,8 @@
<column not-null="false" unique="false" name="`VALUE`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WriterAuditing" abstract="false" lazy="false" table="`WRITERAUDITING`">
- <meta attribute="eclassName" inherit="false">WriterAuditing</meta>
+ <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CityAuditing" abstract="false" lazy="false" table="`CITYAUDITING`">
+ <meta attribute="eclassName" inherit="false">CityAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeysAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
@@ -250,7 +250,7 @@
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_END`"/>
</property>
- <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="WRITERAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
+ <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CITYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
@@ -273,9 +273,12 @@
<property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`NAME`"/>
</property>
+ <property name="cityWriter" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`CITYWRITER`"/>
+ </property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WriterToCityMapEntryAuditing" abstract="false" lazy="false" table="`WRITERTOCITYMAPENTRYAUDITING`">
- <meta attribute="eclassName" inherit="false">WriterToCityMapEntryAuditing</meta>
+ <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="WriterAuditing" abstract="false" lazy="false" table="`WRITERAUDITING`">
+ <meta attribute="eclassName" inherit="false">WriterAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeysAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
@@ -293,7 +296,7 @@
<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_END`"/>
</property>
- <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="WRITERTOCITYMAPENTRYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
+ <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="WRITERAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
</many-to-one>
<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
@@ -313,11 +316,8 @@
<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`"/>
</property>
- <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`KEY`"/>
- </property>
- <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`VALUE`"/>
+ <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`NAME`"/>
</property>
</class>
</hibernate-mapping> \ No newline at end of file

Back to the top