Hi,
Setting the "hibernate.cache.default_cache_concurrency_strategy" property
doesn't have any effect.
This setting is inspected in AnnotationBinder.prepareDefaultCacheConcurrencyStrategy
method, but thatmethod is never called.
Here's a test to replicate the issue:
https://github.com/vladmihalcea/hibernate-master-class/blob/master/core/s...
The only workaround is to manually declare the caching strategy on each entity:
@Entity(name = "repository")
@org.hibernate.annotations.Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
Vlad Mihalcea