"Requesting TRANSACTIONAL cache concurrency strategy but the cache is not configured as transactional" in Hibernate 5

Solution Verified - Updated -

Issue

  • Migrating a legacy (non-JPA) Hibernate application from EAP 6 / Hibernate 4 to EAP 7 / Hibernate 5
  • Logs include entries like the following

    Requesting TRANSACTIONAL cache concurrency strategy but the cache is not configured as transactional.
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7
  • Hibernate 5
    • Legacy (non-JPA) Hibernate application

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In