Help the world stop coronavirus! Stay home!

Prev Next

Hibernate / Hibernate Caching

What are the different CacheMode in second level cache of hibernate?

There are 4 different CacheMode.

  • CacheMode.NORMAL : This mode allows to read and write data in second level cache.
  • CacheMode.GET : In this mode, data will be read but will not be written in second level cache.
  • CacheMode.PUT : Data will be written but not will be read from second level cache.
  • CacheMode.REFRESH : Data will be written and will not be read from second level cache. The difference between Put and Refresh is that CacheMode.REFRESH will bypass

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...


Comments & Discussions