summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-09-12 13:02:48 (EDT)
committerEike Stepper2007-09-12 13:02:48 (EDT)
commit8d6ac51de4afd6b4b72f03b2dd7dc4b504e59967 (patch)
tree0c4a017e0b8b1b4079b1711bc576063306e66466
parentc39bb1f359f2bbe529d3f875d47995ec16ec7e4c (diff)
downloadcdo-8d6ac51de4afd6b4b72f03b2dd7dc4b504e59967.zip
cdo-8d6ac51de4afd6b4b72f03b2dd7dc4b504e59967.tar.gz
cdo-8d6ac51de4afd6b4b72f03b2dd7dc4b504e59967.tar.bz2
[202833] Horizontal Mapping Strategy
https://bugs.eclipse.org/bugs/show_bug.cgi?id=202833
-rw-r--r--plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/ReferenceMapping.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/ReferenceMapping.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/ReferenceMapping.java
index d720ec1..b9b5e7c 100644
--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/ReferenceMapping.java
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/ReferenceMapping.java
@@ -62,9 +62,10 @@ public class ReferenceMapping extends FeatureMapping implements IReferenceMappin
public void writeReference(IDBStoreAccessor storeAccessor, CDORevisionImpl revision)
{
- int idx = 0;
long source = revision.getID().getValue();
int version = revision.getVersion();
+
+ int idx = 0;
for (Object element : revision.getList(getFeature()))
{
long target = ((CDOID)element).getValue();