summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaspar De Groot2011-04-04 05:08:27 (EDT)
committerCaspar De Groot2011-04-04 05:08:27 (EDT)
commite62687375c70b2282d1150de2bda85339d327f88 (patch)
tree5d75c3e2f4a73b380f2cb5cf2acfa2b95e15ff92
parent21506966c051b2c1b1cebd0258d0ef4e719ebe3c (diff)
downloadcdo-e62687375c70b2282d1150de2bda85339d327f88.zip
cdo-e62687375c70b2282d1150de2bda85339d327f88.tar.gz
cdo-e62687375c70b2282d1150de2bda85339d327f88.tar.bz2
[Bug 338894] [DB][Mysql] Exception when CDO is idle for a while
https://bugs.eclipse.org/bugs/show_bug.cgi?id=338894
-rw-r--r--plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java b/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java
index b222e53..14f912a 100644
--- a/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java
+++ b/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java
@@ -665,13 +665,13 @@ public class CDOWorkspaceImpl implements InternalCDOWorkspace
props.put(PROP_BRANCH_PATH, branchPath);
props.put(PROP_TIME_STAMP, String.valueOf(timeStamp));
props.put(PROP_FIXED, String.valueOf(fixed));
- localRepository.getStore().setPropertyValues(props);
+ localRepository.getStore().setPersistentProperties(props);
}
protected void loadProperties()
{
Set<String> names = new HashSet<String>(Arrays.asList(PROP_BRANCH_PATH, PROP_TIME_STAMP, PROP_FIXED));
- Map<String, String> props = localRepository.getStore().getPropertyValues(names);
+ Map<String, String> props = localRepository.getStore().getPersistentProperties(names);
branchPath = props.get(PROP_BRANCH_PATH);
timeStamp = Long.parseLong(props.get(PROP_TIME_STAMP));
fixed = Boolean.parseBoolean(props.get(PROP_FIXED));