my dog learned polymorphism
The moose likes Object Relational Mapping and the fly likes Hibernate Cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Cache" Watch "Hibernate Cache" New topic

Hibernate Cache

Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
Anybody have an idea how the Hibernate implements the second-level Cache internally.Let say the implementation class provider is EHCache/JBossChache.I know how to use that cache in my application ,but want to know some internal steps.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17271

Moving this to the ORM form.

Second level cache is managed through the SessionFactory in Hibernate, but underneath it is the ehcache or jboss cache that does 98% of the work.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
Mark,yes exactly, I would like to know that 98% of work done by ehcache or jboss cache
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Hibernate Cache
jQuery in Action, 3rd edition