Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2008-04-24 07:47:08 -0400
committerMartin Taal2008-04-24 07:47:08 -0400
commit6b4a347ec29e546bf7ea6722d48df5d3529acddc (patch)
tree7e1fb4d5afabe31f633e3d53a57e90a42d888e8d /plugins/org.eclipse.emf.cdo.server.hibernate/mappings
parent1661dcf1226ce8aaa2012c51542c3af8b358f0ac (diff)
downloadcdo-6b4a347ec29e546bf7ea6722d48df5d3529acddc.tar.gz
cdo-6b4a347ec29e546bf7ea6722d48df5d3529acddc.tar.xz
cdo-6b4a347ec29e546bf7ea6722d48df5d3529acddc.zip
[228403]
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate/mappings')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml4
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/mappings/resource.hbm.xml4
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml b/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml
index 3a8f2eac59..4144776433 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml
@@ -63,7 +63,9 @@
<property name="featureID" column="feature" type="int" not-null="true" />
<property name="type" type="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOTypeUserType"
not-null="false" />
- <many-to-one name="referenceType" class="CDOClassImpl" column="reftype" not-null="false" cascade="persist, merge, save-update, evict, replicate, lock, refresh"/>
+ <many-to-one name="referenceType" class="CDOClassImpl" column="reftype" not-null="false"
+ cascade="persist, merge, save-update, evict, replicate, lock, refresh"
+ access="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOFeatureReferenceTypePropertyHandler"/>
<property name="many" type="boolean" not-null="true" />
<property name="containment" type="boolean" not-null="false" />
</joined-subclass>
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 2f67dcf344..f369963959 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
@@ -6,12 +6,12 @@
<meta attribute="epackage">http://www.eclipse.org/emf/CDO/resource/1.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"/>
- <id type="long" name="e_id" column="e_id">
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOSyntheticIdPropertyHandler">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
- <version name="e_version" column="e_version">
+ <version name="e_version" column="e_version" access="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOSyntheticVersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="path" type="string" not-null="true" length="255" />

Back to the top