"HHH020100: The Ehcache second-level cache provider for Hibernate is deprecated..." in JBoss EAP

Solution Verified - Updated -

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 Hibernate hibernate.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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content