• 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
Posts: 5218
512
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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!