How can I selectively managed specific entities in different Persistence Contexts?

Solution Verified - Updated -

Issue

  • How is it possible to tell EntityB that it is managed by pcB and EntityA will be managed by pcA?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x
  • Java Persistence API (JPA)

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.