Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/H2Config.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/H2Config.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/H2Config.java b/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/H2Config.java
index cf1557556f..c428f4114b 100644
--- a/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/H2Config.java
+++ b/plugins/org.eclipse.emf.cdo.tests.db/src/org/eclipse/emf/cdo/tests/db/H2Config.java
@@ -79,7 +79,7 @@ public class H2Config extends DBConfig
IOUtil.delete(reusableFolder);
}
- String url = "jdbc:h2:" + reusableFolder.getAbsolutePath() + "/h2test;LOCK_TIMEOUT=10000;TRACE_LEVEL_FILE=0";
+ String url = "jdbc:h2:" + reusableFolder.getAbsolutePath() + "/h2test;MVCC=true;LOCK_TIMEOUT=10000;TRACE_LEVEL_FILE=0";
if (defaultDataSource == null)
{
@@ -90,7 +90,7 @@ public class H2Config extends DBConfig
H2Adapter.createSchema(defaultDataSource, repoName, !isRestarting());
JdbcDataSource dataSource = new JdbcDataSource();
- dataSource.setURL(url + ";SCHEMA=" + repoName);
+ dataSource.setURL(url + ";MVCC=true;SCHEMA=" + repoName);
if (!disableRepositoryRecreationOptimization)
{

Back to the top