-
Feature Request
-
Resolution: Done
-
Major
-
JBossAS-4.0.3 SP1
-
None
We should implement a state machine based on the LocalTransaction events
if a resource adapter supplies them, such that if a user forgets to commit/rollback
they get a warning and automatic rollback like BMT.
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatIsTheCorrectPatternForUserTransactions
See javax.resource.spi.ConnectionEventListener::localTransaction[started|committed|rolledback]
and javax.resource.spi.LocalTransaction::[begin|commit|rollback]
This should not interfere with LocalXAResource's use of the LocalTransaction to simulate XA
and perform the last resource gambit.