]
Tom Jenkinson reassigned WFLY-9618:
-----------------------------------
Assignee: Tom Jenkinson
Record and report stack trace of setRollbackOnly() calls
--------------------------------------------------------
Key: WFLY-9618
URL:
https://issues.jboss.org/browse/WFLY-9618
Project: WildFly
Issue Type: Enhancement
Components: EJB, Transactions
Reporter: David Lloyd
Assignee: Tom Jenkinson
Priority: Major
We should track the stack trace of the first, or of each, caller of setRollbackOnly(),
and if the transaction ultimately throws RollbackException or similar, we can add the
stack trace as a cause. If multiple calls are done, then the latest should be the cause
and the earlier should show up as suppressed exceptions.