Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Cache

 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark,yes exactly, I would like to know that 98% of work done by ehcache or jboss cache
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic