Ignore:
Timestamp:
Mar 10, 2011, 12:29:12 PM (6 years ago)
Author:
work@…
Message:
  • commiting a hibernate performance tweak, all still seems to work?
File:
1 edited

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}
Note: See TracChangeset for help on using the changeset viewer.