if (!_theTransaction.preventCommit())
if (!_theTransaction.preventCommit())
if (!_theTransaction.preventCommit())
if (!_theTransaction.preventCommit())
if (!_theTransaction.preventCommit())
if (!_theTransaction.preventCommit())
if (!_theTransaction.preventCommit())
public int doPrepare () { try { SubordinateAtomicAction subAct = (SubordinateAtomicAction) super._theTransaction; if (!endSuspendedRMs()) _theTransaction.preventCommit(); int res = subAct.doPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_READONLY: case TwoPhaseOutcome.PREPARE_NOTOK: TransactionImple.removeTransaction(this); break; } return res; } catch (ClassCastException ex) { jtaLogger.i18NLogger.error_transaction_class_cast_fail(super._theTransaction, ex); return TwoPhaseOutcome.INVALID_TRANSACTION; } }
public int doPrepare () { try { SubordinateAtomicAction subAct = (SubordinateAtomicAction) super._theTransaction; if (!endSuspendedRMs()) _theTransaction.preventCommit(); int res = subAct.doPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_READONLY: case TwoPhaseOutcome.PREPARE_NOTOK: TransactionImple.removeTransaction(this); break; } return res; } catch (ClassCastException ex) { jtaLogger.i18NLogger.error_transaction_class_cast_fail(super._theTransaction, ex); return TwoPhaseOutcome.INVALID_TRANSACTION; } }
public int doPrepare () { try { SubordinateAtomicAction subAct = (SubordinateAtomicAction) super._theTransaction; if (!endSuspendedRMs()) _theTransaction.preventCommit(); int res = subAct.doPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_READONLY: case TwoPhaseOutcome.PREPARE_NOTOK: TransactionImple.removeTransaction(this); break; } return res; } catch (ClassCastException ex) { ex.printStackTrace(); return TwoPhaseOutcome.INVALID_TRANSACTION; } }
public int doPrepare () { try { SubordinateAtomicAction subAct = (SubordinateAtomicAction) super._theTransaction; if (!endSuspendedRMs()) _theTransaction.preventCommit(); int res = subAct.doPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_READONLY: case TwoPhaseOutcome.PREPARE_NOTOK: TransactionImple.removeTransaction(this); break; } return res; } catch (ClassCastException ex) { jtaLogger.i18NLogger.error_transaction_class_cast_fail(super._theTransaction, ex); return TwoPhaseOutcome.INVALID_TRANSACTION; } }
public int doPrepare () { try { SubordinateAtomicAction subAct = (SubordinateAtomicAction) super._theTransaction; if (!endSuspendedRMs()) _theTransaction.preventCommit(); int res = subAct.doPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_READONLY: case TwoPhaseOutcome.PREPARE_NOTOK: TransactionImple.removeTransaction(this); break; } return res; } catch (ClassCastException ex) { jtaLogger.i18NLogger.error_transaction_class_cast_fail(super._theTransaction, ex); return TwoPhaseOutcome.INVALID_TRANSACTION; } }
public int doPrepare () { try { SubordinateAtomicAction subAct = (SubordinateAtomicAction) super._theTransaction; if (!endSuspendedRMs()) _theTransaction.preventCommit(); int res = subAct.doPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_READONLY: case TwoPhaseOutcome.PREPARE_NOTOK: TransactionImple.removeTransaction(this); break; } return res; } catch (ClassCastException ex) { ex.printStackTrace(); return TwoPhaseOutcome.INVALID_TRANSACTION; } }
public int doPrepare () { try { SubordinateAtomicAction subAct = (SubordinateAtomicAction) super._theTransaction; if (!endSuspendedRMs()) _theTransaction.preventCommit(); int res = subAct.doPrepare(); switch (res) { case TwoPhaseOutcome.PREPARE_READONLY: case TwoPhaseOutcome.PREPARE_NOTOK: TransactionImple.removeTransaction(this); break; } return res; } catch (ClassCastException ex) { ex.printStackTrace(); return TwoPhaseOutcome.INVALID_TRANSACTION; } }
_theTransaction.preventCommit();
_theTransaction.preventCommit();
_theTransaction.preventCommit();
_theTransaction.preventCommit();
_theTransaction.preventCommit();
_theTransaction.preventCommit();