[jboss-jira] [JBoss JIRA] (WFLY-2031) container managed persistence context calls that return a StoredProcedureQuery, should return a wrapper if a jta transaction is not active

Jason Greene (JIRA) issues at jboss.org
Fri May 1 16:21:24 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated WFLY-2031:
-------------------------------
    Fix Version/s: 9.0.0.CR2
                       (was: 9.0.0.CR1)


> container managed persistence context calls that return a StoredProcedureQuery, should return a wrapper if a jta transaction is not active
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-2031
>                 URL: https://issues.jboss.org/browse/WFLY-2031
>             Project: WildFly
>          Issue Type: Bug
>          Components: JPA / Hibernate
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 9.0.0.CR2
>
>
> look at existing use of AbstractEntityManager.detachTypedQueryNonTxInvocation() and also catch queries that need this.  For example, createQuery(CriteriaUpdate criteriaUpdate) is in need of this.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list