Level two cache may not be enabled when using @Cacheable without/instead of @Cache in JBoss EAP

Solution In Progress - Updated -

Issue

  • Randomly, it is observed that level two cache is not enabled when using @javax.persistence.Cacheable annotations instead of @org.hibernate.annotations.Cache
  • This has been reproduced only when deploying multiple persistence units (some with cache disabled, some with cache enabled)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 6
  • Hibernate
    • 5
    • 4
  • Infinispan
    • 8
    • 5

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.