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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content