[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
Scott Marlow (JIRA)
issues at jboss.org
Mon Aug 24 08:26:26 EDT 2015
[ https://issues.jboss.org/browse/WFLY-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow closed WFLY-2031.
------------------------------
Resolution: Done
> 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
>
> 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