Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2008-11-01 18:12:35 -0400
committerMartin Taal2008-11-01 18:12:35 -0400
commitc7995acfe4e92fbbec426c8eadcc537d52b34626 (patch)
tree9fda8529ea89f0b84b38af02d411f452b4e3b926 /plugins/org.eclipse.emf.cdo.server.hibernate/mappings
parent5bd42bae1db1571624a841ceb0b39dad54b56c29 (diff)
downloadcdo-c7995acfe4e92fbbec426c8eadcc537d52b34626.tar.gz
cdo-c7995acfe4e92fbbec426c8eadcc537d52b34626.tar.xz
cdo-c7995acfe4e92fbbec426c8eadcc537d52b34626.zip
Solved resourcetest and other issues
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate/mappings')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/mappings/resource.hbm.xml5
1 files changed, 2 insertions, 3 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 77f946f262..4825332287 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
@@ -28,13 +28,12 @@
<column name="name" unique-key="resourcepath"/>
</property>
<many-to-one name="folder" entity-name="CDOResourceFolder"
- column="folderid" />
+ column="folderid" update="false" insert="false" />
<subclass entity-name="CDOResourceFolder" abstract="false"
lazy="false" discriminator-value="cdoresourcefolder">
<meta attribute="eclassName">CDOResourceFolder</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/CDO/resource/2.0.0</meta>
- <list name="nodes" lazy="true" cascade="all"
- inverse="true">
+ <list name="nodes" lazy="true" cascade="merge, persist, save-update, refresh, lock, evict, replicate">
<key column="folderid" />
<list-index />
<one-to-many entity-name="CDOResourceNode" />

Back to the top