Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-02-21 11:41:57 +0000
committerEike Stepper2011-02-21 11:41:57 +0000
commit7361e5311262c26f41a323a2825d20c40fe9b614 (patch)
treeef46344139ff56aa50395c37fc2331fbab192278 /plugins/org.eclipse.emf.cdo.server.mongodb
parent1f5e6793b74b8265fad95fa5bf7d0dda09fe100d (diff)
downloadcdo-7361e5311262c26f41a323a2825d20c40fe9b614.tar.gz
cdo-7361e5311262c26f41a323a2825d20c40fe9b614.tar.xz
cdo-7361e5311262c26f41a323a2825d20c40fe9b614.zip
[337152] [Mongo] Create a MongoDBStore
https://bugs.eclipse.org/bugs/show_bug.cgi?id=337152
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.mongodb')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java b/plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java
index 6211d32199..8236469e61 100644
--- a/plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java
+++ b/plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java
@@ -591,9 +591,15 @@ public class Commits extends Coll
{
long revised = result - 1;
- // TODO Cache REVISIONS_REVISED
+ // try
+ // {
// revision.put(REVISIONS_REVISED, revised);
// collection.save(doc);
+ // }
+ // catch (Exception ex)
+ // {
+ // OM.LOG.warn(ex);
+ // }
return revised;
}

Back to the top