Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-11-24 08:36:11 -0500
committerMartin Taal2012-11-24 08:36:11 -0500
commitb90d0af5da43dfd67bd50393c4064a1313459c83 (patch)
tree0d94cfb6dd2b5aa580dacb75509af7ff8835a350 /plugins/org.eclipse.emf.cdo.server.hibernate/mappings
parent1c86acebf8d4a65cc0da2cff41f6467dd22b7a7f (diff)
downloadcdo-b90d0af5da43dfd67bd50393c4064a1313459c83.tar.gz
cdo-b90d0af5da43dfd67bd50393c4064a1313459c83.tar.xz
cdo-b90d0af5da43dfd67bd50393c4064a1313459c83.zip
Combine hibernate and CDO versioning, use optimistic locking in hibernate
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate/mappings')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/mappings/resource.hbm.xml4
1 files changed, 2 insertions, 2 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 87748e0c18..d92d57c1ed 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
@@ -24,9 +24,9 @@
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
- <property name="e_version" column="`e_version`" type="java.lang.Integer" access="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOSyntheticVersionPropertyHandler">
+ <version name="e_version" column="`e_version`" type="java.lang.Integer" >
<meta attribute="version">true</meta>
- </property>
+ </version>
<property name="resourceID" type="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDUserType">
<column name="`resource_id`"/>
</property>

Back to the top