Hibernate / Hibernate Caching
Explain the different cache concurrency strategy of second level cache in hibernate.
In hibernate, cache concurrency strategy can be set globally using the property hibernate.cache. default_cache_concurrency_strategy. The allowed values are,
- read-only : supported by ConcurrentHashMap, EHCache, Infinispan.
- read-write : supported by ConcurrentHashMap, EHCache.
- nonstrict-read-write : supported by ConcurrentHashMap, EHCache.
- Transactional : supported by EHCache, Infinispan.
More Related questions...