"HHH020100: The Ehcache second-level cache provider for Hibernate is deprecated..." in JBoss EAP
Issue
-
Encountering a warning during deployment of a persistence unit
... HHH020100: The Ehcache second-level cache provider for Hibernate is deprecated. See https://hibernate.atlassian.net/browse/HHH-12441 for details.
-
A region factory based on
org.hibernate.cache.ehcache.internal.EhcacheRegionFactory
is specified via the Hibernatehibernate.cache.region.factory_class
property.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7
- Hibernate 5.3 and later
- Ehcache
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.