An entity created by one entity manager cannot be seen by another entity manager in EAP 6

Solution Unverified - Updated -

Issue

  • An entity is created by one entity manager in a JTA transaction
  • A different entity manager is used (in the same transaction) to find the new entity but is unable to do so prior to commit or flush

Environment

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

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