This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Cache" Watch "Hibernate Cache" New topic
Author

Hibernate Cache

Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
Hi,
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
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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.

Mark


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
 
 
subject: Hibernate Cache
 
Similar Threads
Caching in Hibernate
Hibernate caching- Which caching to use for performance ?
wht is second level cache in hibernate ?
Beginner needs help with hb caching strategy,
jboss 4.2.3 + jpa + ehcache.xml + hibernate ---> trouble