Pau在hibernate.cfg.xml中写了hibernate.cache.region.factory_class:
唯一的例外是不言而喻的。您必须设置
hibernate.cache.region.factory_class
属性。例如,使用ehcache将添加以下行:<propertyname=”hibernate.cache.region.factory_class”>net.sf.ehcache.hibernate.EhCacheRegionFactory

Pau在hibernate.cfg.xml中写了hibernate.cache.region.factory_class:
唯一的例外是不言而喻的。您必须设置
hibernate.cache.region.factory_class
属性。例如,使用ehcache将添加以下行:<propertyname=”hibernate.cache.region.factory_class”>net.sf.ehcache.hibernate.EhCacheRegionFactory