Grails 2.0.0 Reference Guide shows how the default Hibernate cache configuration
hibernate { cache.use_second_level_cache=true cache.use_query_cache=true cache.provider_class='org.hibernate.cache.EhCacheProvider' }
But if you create a Grails 2.0.0 application, then you really get
hibernate { cache.use_second_level_cache = true cache.use_query_cache = true cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory' }
Can someone explain what the difference is between the two?
source share