JoinTransaction is only used for an ApplicationManaged Entity Manager.
[i][b]Section 5.7[/b]When a JTA application-managed entity manager is used, if the entity manager is created outside the
scope of the current JTA transaction, it is the responsibility of the application to associate the entity
manager with the transaction (if desired) by calling EntityManager.joinTransaction.[/i]
All Application Managed Entity Managers are Extended, and that is the only option.
Container Managed Entity Managers can either be transactional or extended.
Is it possible for you to create a small example of what you are doing which reproduces your stale data issue? Perhaps you can provide a pseudo-code overview of the steps including the transactional boundaries?
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]
http://forums.java.net/jive/thread.jspa?messageID=208955