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 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.