Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] fyi maven v. ant : ehcache as second level hibernate 3.3+ cache

Subject: Grouper Developers Forum

List archive

[grouper-dev] fyi maven v. ant : ehcache as second level hibernate 3.3+ cache


Chronological Thread 
  • From: Tom Zeller <>
  • To: Grouper Dev <>
  • Subject: [grouper-dev] fyi maven v. ant : ehcache as second level hibernate 3.3+ cache
  • Date: Mon, 26 Sep 2011 11:31:21 -0500

For some reason under maven but not ant (which is the weird part), in
grouper.hibernate.properties, I need to set

hibernate.cache.region.factory_class =
net.sf.ehcache.hibernate.EhCacheRegionFactory

instead of

hibernate.cache.provider_class = org.hibernate.cache.EhCacheProvider

I updated grouper.hibernate.example.properties and committed.

# see
http://ehcache.org/documentation/user-guide/hibernate#Configure-Ehcache-as-the-Second-Level-Cache-Provider
# Hibernate 3.0 - 3.2
# hibernate.cache.provider_class = org.hibernate.cache.EhCacheProvider
# Hibernate 3.3+
hibernate.cache.region.factory_class =
net.sf.ehcache.hibernate.EhCacheRegionFactory


  • [grouper-dev] fyi maven v. ant : ehcache as second level hibernate 3.3+ cache, Tom Zeller, 09/26/2011

Archive powered by MHonArc 2.6.16.

Top of Page