Deploying a persistence unit / entities that need to be shared by multiple applications in EAP

Solution Verified - Updated -

Issue

  • A copy of a single persistence unit / set of entities is deployed as part of several independent application archives
    • The level 2 cache is not shared across the applications
  • Can level 2 cache (l2c) be shared by entities deployed in independent application archives?

Environment

  • Red Hat Jboss Enterprise Application Platform (EAP) 6
  • Hibernate 4

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.