/** * Local Transaction */ public TransactionContext begin(String threadId) throws XATransactionException { TransactionContext tc = checkLocalTransactionState(threadId, false); beginDirect(tc); tc.setTransactionType(TransactionContext.Scope.LOCAL); return tc; }
/** * Local Transaction */ public TransactionContext begin(String threadId) throws XATransactionException { TransactionContext tc = checkLocalTransactionState(threadId, false); beginDirect(tc); tc.setTransactionType(TransactionContext.Scope.LOCAL); return tc; }
/** * Local Transaction */ public TransactionContext begin(String threadId) throws XATransactionException { TransactionContext tc = checkLocalTransactionState(threadId, false); beginDirect(tc); tc.setTransactionType(TransactionContext.Scope.LOCAL); return tc; }
/** * Request level transaction */ public void begin(TransactionContext context) throws XATransactionException{ if (context.getTransactionType() != TransactionContext.Scope.NONE) { throw new XATransactionException(QueryPlugin.Event.TEIID30517, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30517)); } beginDirect(context); context.setTransactionType(TransactionContext.Scope.REQUEST); this.transactions.addTransactionContext(context); //it may have been removed if this is a block level operation }
/** * Request level transaction */ public void begin(TransactionContext context) throws XATransactionException{ if (context.getTransactionType() != TransactionContext.Scope.NONE) { throw new XATransactionException(QueryPlugin.Event.TEIID30517, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30517)); } beginDirect(context); context.setTransactionType(TransactionContext.Scope.REQUEST); this.transactions.addTransactionContext(context); //it may have been removed if this is a block level operation }
/** * Request level transaction */ public void begin(TransactionContext context) throws XATransactionException{ if (context.getTransactionType() != TransactionContext.Scope.NONE) { throw new XATransactionException(QueryPlugin.Event.TEIID30517, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30517)); } beginDirect(context); context.setTransactionType(TransactionContext.Scope.REQUEST); this.transactions.addTransactionContext(context); //it may have been removed if this is a block level operation }