[jboss-jira] [JBoss JIRA] (WFLY-3674) In non-transactional entity manager invocation, add extension to defer entity detach until persistence context is closed

Sande Gilda (JIRA) issues at jboss.org
Fri Oct 30 09:44:00 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-3674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123807#comment-13123807 ] 

Sande Gilda commented on WFLY-3674:
-----------------------------------

[~smarlow]: This fix is only in EAP 7/WildFly 10, correct? Or do you plan to backport it to JBoss EAP 6? If not, the Migration Guide can certainly mention that this work around applies to EAP 5 as well as EAP 6. 

[~deisner] and [~anrobert] would have to determine if it's feasible to add the JPA documention to our tasks for EAP 7. You did a really nice job on it. I'll talk to them about this and get back to you. 

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



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list