Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-11-08 07:27:37 -0500
committerMartin Taal2012-11-08 07:27:37 -0500
commit78326471dcb1b490c85271d45efe86c3e76c8191 (patch)
treef27e3076fc4a909bcfd361eacf45925218b278ad /plugins/org.eclipse.emf.cdo.server.hibernate/mappings
parent0a7004d5082934bcbb55df64c877ae5ce68b35b8 (diff)
downloadcdo-78326471dcb1b490c85271d45efe86c3e76c8191.tar.gz
cdo-78326471dcb1b490c85271d45efe86c3e76c8191.tar.xz
cdo-78326471dcb1b490c85271d45efe86c3e76c8191.zip
[244141] - [Hibernate] Store to support auditing mode
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate/mappings')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/mappings/resource.hbm.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/resource.hbm.xml b/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/resource.hbm.xml
index d765f050f2..87748e0c18 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/resource.hbm.xml
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/resource.hbm.xml
@@ -84,6 +84,12 @@
<tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
<property name="contents" type="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOBlobUserType"/>
</subclass>
+ <subclass entity-name="CDOFileResource" abstract="false" lazy="false" extends="CDOResourceNode" discriminator-value="CDOFileResource">
+ <meta attribute="eclassName">CDOFileResource</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/CDO/Eresource/4.0.0</meta>
+ <tuplizer entity-mode="pojo" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
+ <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
+ </subclass>
<class name="org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreLob" table="`cdo_lob`" lazy="false">
<id name="id"/>

Back to the top