change h2 to 1.2.140; add DVCC=TRUE to TestingDatabaseInfo
This commit is contained in:
parent
4550cdf688
commit
ee6bde2957
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 = "";
|
||||
|
||||
|
|
Loading…
Reference in New Issue