Show
Ignore:
Timestamp:
10-03-11 12:29:12 (3 years ago)
Author:
work@…
Message:

- commiting a hibernate performance tweak, all still seems to work?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/DataSource.groovy

    r1430 r1616  
    2424        cache.use_query_cache = true 
    2525        cache.provider_class = 'net.sf.ehcache.hibernate.EhCacheProvider' 
     26 
     27        // hibernate performance tweak, see: 
     28        // http://schneide.wordpress.com/2011/03/08/the-grails-performance-switch-flush-modecommit/ 
     29        flush.mode='commit' 
    2630}