]
Scott Marlow commented on WFLY-3674:
------------------------------------
The fix is currently in WF9/WF10 and will be in EAP 7. It has not yet been back ported to
EAP 6. Thanks for the compliment on the JPA container/subsystem/deployer doc! :-)
In non-transactional entity manager invocation, add extension to
defer entity detach until persistence context is closed
------------------------------------------------------------------------------------------------------------------------
Key: WFLY-3674
URL:
https://issues.jboss.org/browse/WFLY-3674
Project: WildFly
Issue Type: Feature Request
Components: JPA / Hibernate
Reporter: Scott Marlow
Assignee: Scott Marlow
Fix For: 9.0.0.Alpha1
For compatibility with earlier JBoss application server versions (5.0/6.0), add an
extension that allows the persistence context to last until the referencing persistence
context is closed.
For example, in a session method that has no active JTA transaction, entities returned,
will not cleared from the persistence context, until the session method completes. This
extension is only introduced to allow compatibility with older application server
versions.