Skip to content

Commit a1cf5ec

Browse files
committed
Updated datasource url settings
1 parent d4dac5c commit a1cf5ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

grails-app/conf/application.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ hibernate:
115115
queries: false
116116
use_second_level_cache: true
117117
use_query_cache: false
118-
region.factory_class: 'org.hibernate.cache.ehcache.EhCacheRegionFactory'
118+
region.factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
119119

120120
endpoints:
121121
jmx:
@@ -127,4 +127,5 @@ dataSource:
127127
jmxExport: true
128128
driverClassName: org.h2.Driver
129129
username: sa
130-
password:
130+
password:
131+
url: jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE

0 commit comments

Comments
 (0)