Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-11-02 16:01:21 +0000
committerMartin Taal2012-11-02 16:01:21 +0000
commit0a7b4e0e016556133a06c7bc13069044f5c0d2a4 (patch)
tree3b2028d830edfa45ea66d351133d39a31c49e7dd /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml
parentfc9330d9ae331abe2351b056d5ab6881b3c4ccdb (diff)
downloadorg.eclipse.emf.teneo-0a7b4e0e016556133a06c7bc13069044f5c0d2a4.tar.gz
org.eclipse.emf.teneo-0a7b4e0e016556133a06c7bc13069044f5c0d2a4.tar.xz
org.eclipse.emf.teneo-0a7b4e0e016556133a06c7bc13069044f5c0d2a4.zip
added auditing support for emap
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml25
1 files changed, 11 insertions, 14 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml
index 69d0ece85..91db4af56 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_hsqldb_h_o_hibernate.hbm.xml
@@ -248,16 +248,13 @@
<column not-null="false" unique="false" name="`COMMENT`"/>
</property>
</class>
- <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DocumentRootAuditing" abstract="false" lazy="false" discriminator-value="DocumentRootAuditing" table="`DOCUMENTROOTAUDITING`">
+ <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="mindmapAuditing.DocumentRootAuditing" abstract="false" lazy="false">
<meta attribute="eclassName" inherit="false">DocumentRootAuditing</meta>
<meta attribute="epackage" inherit="false">http://www.example.org/mindmapAuditing</meta>
<id name="teneo_audit_id" type="long" unsaved-value="0">
<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
<generator class="native"/>
</id>
- <discriminator type="string">
- <column name="`DTYPE`" index="DOCUMENTROOTAUDITINGDTYPE" length="255" not-null="true"/>
- </discriminator>
<version name="teneo_version" type="long">
<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
</version>
@@ -270,7 +267,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="DOCUMENTROOTAUDITING_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="MINDMAPAUDITING_DOCUMENTROOTAUDITING_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">
@@ -290,16 +287,13 @@
<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>
- <list name="mixed" table="`DOCUMENTROOTAUDITING_MIXED`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`DOCUMENTROOTAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/>
- </key>
- <list-index column="`DOCUMENTROOTAUDITING_MIXED_IDX`"/>
- <one-to-many entity-name="DocumentRootAuditing_mixed"/>
- </list>
+ <many-to-one name="mixed" entity-name="mindmapAuditing.DocumentRootAuditing_mixed" cascade="all" not-null="false"/>
+ <property name="map" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`MAP`"/>
+ </property>
</class>
- <class entity-name="DocumentRootAuditing_mixed" lazy="false" table="`DOCUMENTROOTAUDITING_MIXED`">
- <meta attribute="featureMap" inherit="false">DocumentRootAuditing</meta>
+ <class entity-name="mindmapAuditing.DocumentRootAuditing_mixed" lazy="false" table="`MINDMAPAUDITING_DOCUMENTROOTAUDITING_MIXED`">
+ <meta attribute="featureMap" inherit="false">mindmapAuditing.DocumentRootAuditing</meta>
<id type="long">
<generator class="native"/>
</id>
@@ -307,6 +301,9 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
+ <property name="map" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
+ <column not-null="false" unique="false" name="`MIXED_MAP`"/>
+ </property>
<property name="fme_mixed_text" type="java.lang.String"/>
<property name="fme_mixed_cdata" type="java.lang.String"/>
<property name="fme_mixed_comment" type="java.lang.String"/>

Back to the top