Help the world stop coronavirus! Stay home!

Prev Next

Hibernate / Hibernate Caching

Explain shared cache mode in second level cache of Hibernate.

To configure shared cache mode, hibernate provides javax.persistence.sharedCache.mode and it allows four values.

  • ENABLE_SELECTIVE: Entities will not be cached until entity will be annotated by cacheable.
  • DISABLE_SELECTIVE : Those entities are cached which are explicitly not annotated with cacheable.
  • ALL : Every entities will be cached.
  • NONE: No entity will be cached.

❤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...

SQL

Comments & Discussions