This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EhCache and the fly likes Caching is not seen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Caching » EhCache
Bookmark "Caching is not seen" Watch "Caching is not seen" New topic
Author

Caching is not seen

Swapna latha
Ranch Hand

Joined: Dec 18, 2011
Posts: 70
Hi, i have used spring+hibernate and configured ehcache. But every time its hitting DB. Secondary cache is not working. Please tell me where i am wrong.

ehcache.xml


Customer.hbm.xml



HibernateSessionFactory.java


thanks

swapna kori
 
Consider Paul's rocket mass heater.
 
subject: Caching is not seen
 
Similar Threads
hibernat creating the tables without cascade
Verifying Connection pooling
Not able to find the added record in table.
HibernateTemplate object is null
running before I can crawl ( or how to add Spring to an existing Hibernate standalone app)