Want to write articles/new answer to be published in javapedia.net? Send in your article with your name to javatutorials2016@gmail.com!

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

Invest now!!! Get Free equity stock!

Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.

The Robinhood app makes it easy to trade stocks, crypto and more.

More Related questions...

Show more question and Answers...


Comments & Discussions