EhCacheProvider « Cache « JPA Q&A

1. Why is EhCacheProvider deprecated?

I am configuring my hibernate project to use a 2nd-level cache provider, so that I can take advantage of query caching. I added a dependency to ehcache:


2. net.sf.hibernate.cache.EhCacheProvider.buildCache

Author Message moacir.cardoso Post subject: net.sf.hibernate.cache.EhCacheProvider.buildCache Posted: Mon Sep 12, 2005 1:31 pm Newbie Joined: Thu Feb 03, 2005 3:51 pm Posts: 7 Need help with Hibernate? Read this first: ... AskForHelp Hibernate version: version 2.1.7c (24.11.2004) Code between sessionFactory.openSession() and session.close(): Using Spring Full stack trace of any exception that occurs: Code: 14:08:59,250 INFO [DefaultListableBeanFactory] Creating ...