]
Sande Gilda commented on WFLY-3674:
-----------------------------------
Created this doc tracking issue:
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.