summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-09-14 12:47:38 (EDT)
committerEike Stepper2007-09-14 12:47:38 (EDT)
commitcdd3083cb42681b10124f68b83f4444f883a7226 (patch)
tree119a7de6d7ee7b1ea43b8965bb6a06fb3b8b3813
parentd96d5ec4e92fcd30a3e89b8b4219a1f72396799a (diff)
downloadcdo-cdd3083cb42681b10124f68b83f4444f883a7226.zip
cdo-cdd3083cb42681b10124f68b83f4444f883a7226.tar.gz
cdo-cdd3083cb42681b10124f68b83f4444f883a7226.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/DBStore.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java
index 0e0beb3..8bf7372 100644
--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java
@@ -199,19 +199,19 @@ public class DBStore extends Store implements IDBStore
builder.append("UPDATE ");
builder.append(CDODBSchema.REPOSITORY);
builder.append(" SET ");
- builder.append(CDODBSchema.REPOSITORY_STARTS);
+ builder.append(CDODBSchema.REPOSITORY_STARTS.getName());
builder.append("=");
- builder.append(CDODBSchema.REPOSITORY_STARTS);
+ builder.append(CDODBSchema.REPOSITORY_STARTS.getName());
builder.append("+1, ");
- builder.append(CDODBSchema.REPOSITORY_STARTED);
+ builder.append(CDODBSchema.REPOSITORY_STARTED.getName());
builder.append("=");
builder.append(System.currentTimeMillis());
builder.append(", ");
- builder.append(CDODBSchema.REPOSITORY_STOPPED);
+ builder.append(CDODBSchema.REPOSITORY_STOPPED.getName());
builder.append("=0, ");
- builder.append(CDODBSchema.REPOSITORY_NEXT_CDOID);
+ builder.append(CDODBSchema.REPOSITORY_NEXT_CDOID.getName());
builder.append("=0, ");
- builder.append(CDODBSchema.REPOSITORY_NEXT_METAID);
+ builder.append(CDODBSchema.REPOSITORY_NEXT_METAID.getName());
builder.append("=0");
String sql = builder.toString();
@@ -233,15 +233,15 @@ public class DBStore extends Store implements IDBStore
builder.append("UPDATE ");
builder.append(CDODBSchema.REPOSITORY);
builder.append(" SET ");
- builder.append(CDODBSchema.REPOSITORY_STOPPED);
+ builder.append(CDODBSchema.REPOSITORY_STOPPED.getName());
builder.append("=");
builder.append(System.currentTimeMillis());
builder.append(", ");
- builder.append(CDODBSchema.REPOSITORY_NEXT_CDOID);
+ builder.append(CDODBSchema.REPOSITORY_NEXT_CDOID.getName());
builder.append("=");
builder.append(repository.getNextOIDValue());
builder.append(", ");
- builder.append(CDODBSchema.REPOSITORY_NEXT_METAID);
+ builder.append(CDODBSchema.REPOSITORY_NEXT_METAID.getName());
builder.append("=");
builder.append(repository.getNextMetaIDValue());