Skip to content

Commit 5c97f2f

Browse files
committed
H2 version 1.4.200 removed the MVCC configuration, so remove from hardcoded default configuration.
1 parent cbaf660 commit 5c97f2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

grails-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/jdbc/connections/DataSourceSettings.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DataSourceSettings extends ConnectionSourceSettings {
2121
/**
2222
* The data source URL, defaults to an H2 in-memory database
2323
*/
24-
String url = "jdbc:h2:mem:grailsDB;MVCC=TRUE;LOCK_TIMEOUT=10000"
24+
String url = "jdbc:h2:mem:grailsDB;LOCK_TIMEOUT=10000"
2525

2626
/**
2727
* The driver class name

grails-datastore-gorm/src/test/groovy/grails/gorm/annotation/transactions/TransactionalTransformSpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ new BookService()
785785
}
786786

787787
TestTransactionManager getPlatformTransactionManager() {
788-
def dataSource = new DriverManagerDataSource("jdbc:h2:mem:${TransactionalTransformSpec.name};MVCC=TRUE;LOCK_TIMEOUT=10000", "sa", "")
788+
def dataSource = new DriverManagerDataSource("jdbc:h2:mem:${TransactionalTransformSpec.name};LOCK_TIMEOUT=10000", "sa", "")
789789

790790
// this may not be necessary...
791791
dataSource.driverClassName = "org.h2.Driver"

0 commit comments

Comments
 (0)