hibernate-memcached icon indicating copy to clipboard operation
hibernate-memcached copied to clipboard

MIssing hibernate.cache.region.factory_class parameter

Open rblazquez opened this issue 10 years ago • 0 comments

Hello,

Im trying to use memcached with grails 2.4.3. I have L2 cache and query cache enabled,

When i run my app i get an error

Caused by: org.hibernate.cache.NoCacheRegionFactoryAvailableException??: Second-level cache is used in the application, but property hibernate.cache.region.factory_class is not given; please either disable second level cache or set correct region factory using the hibernate.cache.region.factory_class setting and make sure the second level cache provider (hibernate-infinispan, e.g.) is available on the classpath.

I clearly states that i need to set up the hibernate.cache.region.factory_class parameter. But i've seen nothing about this in the documentation and i also don't know which class is available to play this role.

Could you give me some hint to solve this?

BTW im using com.googlecode:hibernate-memcached:1.4-SNAPSHOT and hibernate4:4.3.5.5

Thanks.

rblazquez avatar Feb 13 '15 10:02 rblazquez