Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2009-07-06 03:32:50 -0400
committerMartin Taal2009-07-06 03:32:50 -0400
commit076ca4cfc3f93d2bd44880bb0b278295f520bcb3 (patch)
tree1f4a16235ac5d0fad01079b24690dcaddd925c27 /plugins/org.eclipse.emf.cdo.server.hibernate/mappings
parent18636909bc2e64e32e8585db5a44b24fae9b4d3b (diff)
downloadcdo-076ca4cfc3f93d2bd44880bb0b278295f520bcb3.tar.gz
cdo-076ca4cfc3f93d2bd44880bb0b278295f520bcb3.tar.xz
cdo-076ca4cfc3f93d2bd44880bb0b278295f520bcb3.zip
resource.contents is now eagerly loaded
solved incorrect version handling (version number was increased once to many) changed session.save --> session.saveOrUpdate for new objects
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 c51c1c2e28..688d372af0 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
@@ -33,7 +33,7 @@
lazy="false" discriminator-value="cdoresourcefolder">
<meta attribute="eclassName">CDOResourceFolder</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/CDO/Eresource/2.0.0</meta>
- <list name="nodes" lazy="true" cascade="merge, persist, save-update, refresh, lock, evict, replicate">
+ <list name="nodes" lazy="false" cascade="merge, persist, save-update, refresh, lock, evict, replicate">
<key column="folderid" />
<list-index />
<one-to-many entity-name="CDOResourceNode" />
@@ -43,7 +43,7 @@
discriminator-value="cdoresource">
<meta attribute="eclassName">CDOResource</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/CDO/Eresource/2.0.0</meta>
- <list name="contents" lazy="true" cascade="all,delete-orphan">
+ <list name="contents" lazy="false" cascade="all,delete-orphan">
<key />
<list-index />
<many-to-any

Back to the top