[jboss-jira] [JBoss JIRA] (WFLY-3992) show transaction status in error message "TransactionRequiredException: WFLYJPA0060: Transaction is required to perform this operation (either use a transaction or extended persistence context)"

Scott Marlow (JIRA) issues at jboss.org
Fri Oct 24 11:43:35 EDT 2014


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

Scott Marlow resolved WFLY-3992.
--------------------------------
    Fix Version/s:     (was: 9.0.0.Beta1)
       Resolution: Rejected


Discussion on WFLY-3801, points out that Transaction.getStatus may generate warnings and may involve remote invocations.  It sounds like too much overhead, even for a failure case.

> show transaction status in error message "TransactionRequiredException: WFLYJPA0060: Transaction is required to perform this operation (either use a transaction or extended persistence context)"
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-3992
>                 URL: https://issues.jboss.org/browse/WFLY-3992
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: JPA / Hibernate
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>
> It will be helpful in some cases to see the transaction status (currently, you have to enable com.arjuna trace logging to see it)



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list