Configure JPA/Hibernate second level cache replication mode in EAP 6

Solution Unverified - Updated -


  • Is it possible to have a replicated 2nd level cache in a cluster for JPA entities and how to configure it?
  • I have a persistence.xml as followed to have the entities cached, but I want this cache replicated
<persistence xmlns="" xmlns:xsi="" xsi:schemaLocation="" version="1.0">
    <persistence-unit name="EJB3JPAunit">
            <property name="" value="update" ></property>
            <property name="hibernate.cache.use_second_level_cache" value="true"></property>


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

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