File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
grails-resources/src/grails/grails-app/conf Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ dataSource {
88hibernate {
99 cache. use_second_level_cache = true
1010 cache. use_query_cache = false
11- // cache.region.factory_class = 'net.sf.ehcache. hibernate.EhCacheRegionFactory ' // Hibernate 3
12- cache. region. factory_class = ' org.hibernate.cache.ehcache.EhCacheRegionFactory ' // Hibernate 4
11+ // cache.region.factory_class = 'org. hibernate.cache.SingletonEhCacheRegionFactory ' // Hibernate 3
12+ cache. region. factory_class = ' org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory ' // Hibernate 4
1313 singleSession = true // configure OSIV singleSession mode
1414 flush. mode = ' manual' // OSIV session flush mode outside of transactional context
1515}
You can’t perform that action at this time.
0 commit comments