I\'m using Spring + JPA + Hibernate. I\'m trying to enable Hibernate\'s second level cache. In my Spring\'s applicationContext.xml I have:
applicationContext.xml
Try this:
true 4 true true net.sf.ehcache.hibernate.EhCacheRegionFactory
And if you are using Maven add this to your POM file:
net.sf.ehcache ehcache-core 2.3.0
Or download the latest jar from http://ehcache.org/