329330331332333334335336337338339
/* * This will also call any after_completions on * registered synchronizations. */ actionStatus = theTransaction.doPhase2Abort(); } else { if ((actionStatus == ActionStatus.RUNNING) || (actionStatus == ActionStatus.ABORT_ONLY))
344345346347348349350351352353354
* Have to do this because of the way PI works * with thread-context association. */ if (!valid()) theTransaction.doPhase2Abort(); // must rollback else theTransaction.rollback(); actionStatus = ActionStatus.ABORTED; }