Details
-
Bug
-
Resolution: Done
-
Blocker
-
14.0.0.Final
-
None
Description
In org.jboss.as.jpa.hibernate5.HibernatePersistenceProviderAdaptor.addProviderDependencies(PersistenceUnitMetadata pu), enable second level cache if persistence unit has hibernate.cache.use_query_cache or hibernate.cache.use_second_level_cache is true, then the second level cache should be enabled unless shared cache mode is set to NONE.
Workaround:
<shared-cache-mode>ALL</shared-cache-mode>
Or
<shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode>