Created
September 15, 2015 17:16
-
-
Save kevinhooke/753ad18d01b23c97b351 to your computer and use it in GitHub Desktop.
Hibernate 3.3 second level cache config with ehcache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="hibernate.cache.provider_class" value="net.sf.ehcache.hibernate.EhCacheProvider" /> | |
<property name="hibernate.cache.use_query_cache" value="true" /> | |
<property name="hibernate.cache.use_second_level_cache" value="true" /> | |
<!-- not used in this version 3.3 --> | |
<!-- <property name="hibernate.cache.provider_class" value="org.hibernate.cache.hibernate.EhCacheProvider" /> --> | |
<!-- <property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment