From ee6bde2957ead5e64488089851f838388e6b1e55 Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Tue, 12 Oct 2010 13:20:06 -0700 Subject: [PATCH] change h2 to 1.2.140; add DVCC=TRUE to TestingDatabaseInfo --- build.gradle | 4 ++-- .../src/test/java/org/hibernate/TestingDatabaseInfo.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index aac18edd91..7ed637a818 100644 --- a/build.gradle +++ b/build.gradle @@ -45,7 +45,7 @@ libraries = [ dom4j: 'dom4j:dom4j:1.6.1@jar', // h2 - h2: 'com.h2database:h2:1.2.134', + h2: 'com.h2database:h2:1.2.140', // Javassist javassist: 'javassist:javassist:3.12.0.GA', @@ -253,4 +253,4 @@ dependsOnChildren() task wrapper(type: Wrapper) { gradleVersion = '0.9-rc-1' jarPath = 'wrapper' -} \ No newline at end of file +} diff --git a/hibernate-core/src/test/java/org/hibernate/TestingDatabaseInfo.java b/hibernate-core/src/test/java/org/hibernate/TestingDatabaseInfo.java index 2eec526aad..226fa746a0 100644 --- a/hibernate-core/src/test/java/org/hibernate/TestingDatabaseInfo.java +++ b/hibernate-core/src/test/java/org/hibernate/TestingDatabaseInfo.java @@ -33,7 +33,7 @@ import org.hibernate.dialect.H2Dialect; */ public class TestingDatabaseInfo { public static volatile String DRIVER = "org.h2.Driver"; - public static volatile String URL = "jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1"; + public static volatile String URL = "jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE"; public static volatile String USER = "sa"; public static volatile String PASS = "";