Javatpoint Logo

Hibernate second level implimentation

By: goursh*** On: Sun May 21 21:34:08 IST 2017     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
I was trying to implement hibernate second level implementation program. I did exactly same as given on your website but still i m getting an error :
"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 have added all required jars: like ehchache, infispan and slf4j along with hibernate core jars.
i am fighting with this error for long time i have tried both with annotation and with mapping.
please help me out with this problem
Up0Down