• Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate caching levels  RSS feed

 
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
Posts: 5613
742
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!