Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate caching levels

 
anish jain
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please explain me the difference between first-level and second level caching in hibernate with examples..
which one to use and why?
 
Devaka Cooray
Marshal
Pie
Posts: 4894
409
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you searched for that?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The documentation covers this (including examples). Rather than repeat what is there, I recommend you try reading though this first. Feel free to ask questions about anything that doesn't make sense.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic