An entity created by one entity manager cannot be seen by another entity manager in EAP 6
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.