Hi,
Wanted to know if hibernate 5.3.6.Final is compatible with 3.8.1 for hibernate second level cache programmatically?
I am following the same configuration as mentioned in doc but getting "org.hibernate.cache.jcache.internal.JCacheDomainDataRegionImpl cannot be cast to org.hibernate.cache.spi.QueryResultsRegion"
properties:
spring.jpa.properties.hibernate.cache.use_second_level_cache=true
spring.jpa.properties.hibernate.cache.region.factory_class=org.hibernate.cache.jcache.JCacheRegionFactory
spring.jpa.properties.javax.persistence.sharedCache.mode=ENABLE_SELECTIVE
spring.jpa.properties.hibernate.javax.cache.provider=org.ehcache.jsr107.EhcacheCachingProvider
spring.jpa.properties.hibernate.cache.use_query_cache=true