[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
Thu Mar 26 22:52:30 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.CR1
                       (was: 9.0.0.Beta1)


> 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.CR1
>
>
> 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.11#6341)


More information about the jboss-jira mailing list