public static final void setActiveStateForTransaction( final LanguageConnectionContext lcc) throws SQLException { if (lcc != null) { // nothing to be done on a remote connection if (lcc.isConnectionForRemote()) { return; } final GemFireTransaction tran = (GemFireTransaction)lcc .getTransactionExecute(); if (tran != null && ((TXManagerImpl.getCurrentSnapshotTXState() != null) || tran.state != ACTIVE)) { try { tran.setActiveStateForTransaction(); } catch (StandardException se) { throw Util.generateCsSQLException(se); } } } }
"in procedure ROLLBACK_SNAPSHOT_TXID() " + txId + " for connid " + tc.getConnectionID() + " TxManager " + TXManagerImpl.getCurrentTXId() + " snapshot tx : " + TXManagerImpl.getCurrentSnapshotTXState()); "in procedure ROLLBACK_SNAPSHOT_TXID() afer commit" + txId + " for connid " + tc.getConnectionID() + " TxManager " + TXManagerImpl.getCurrentTXId() + " snapshot tx : " + TXManagerImpl.getCurrentSnapshotTXState());
private final TXStateInterface getActiveTXState(final TXStateInterface myTX) { final IsolationLevel isolationLevel = this.isolationLevel; final TXStateInterface gfTx = TXManagerImpl.getCurrentSnapshotTXState(); if (isolationLevel != IsolationLevel.NONE) { if (myTX != null && myTX != TXStateProxy.TX_NOT_SET) {
+ tc.getConnectionID() + " rolloverTable=" + rolloverTable + " TxManager " + TXManagerImpl.getCurrentTXId() + " snapshot tx : " + TXManagerImpl.getCurrentSnapshotTXState());
TXStateInterface snapshotTXState = TXManagerImpl.getCurrentSnapshotTXState(); if (snapshotTXState != null) { if (GemFireXDUtils.TraceTran || GemFireXDUtils.TraceQuery
if (this.txManager != null) { final TXStateInterface tx = this.txState; final TXStateInterface gemfireTx = TXManagerImpl.getCurrentSnapshotTXState();