"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, 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