Enable Infinispan as level 2 cache provider for Hibernate JPA in JBoss EAP

Solution Verified - Updated -


  • How can caching for Hibernate using Infinispan as the level 2 caching provider be enabled?
  • How can entities be marked cacheable or not cacheable?
  • What are the possible values of <shared-cache-mode>?
  • What are the implications of configuring DISABLE_SELECTIVE as the shared-cache-mode?
  • Is there any documentation as a source of information on Infinispan configuration and monitoring?


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6
    • 7
  • Hibernate (version will vary with EAP release)
    • 4
    • 5
  • Infinispan (version will vary with EAP release)
    • 5
    • 8
    • 9

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