public JtxTransaction getTransaction() {
		ArrayList<JtxTransaction> txlist = txStack.get();
		if (txlist == null) {
			return null;
		}
		if (txlist.isEmpty()) {
			return null;
		}
		return txlist.get(txlist.size() - 1);	// get last
	}
public JtxTransaction getTransaction() {
		ArrayList<JtxTransaction> txlist = txStack.get();
		if (txlist == null) {
			return null;
		}
		if (txlist.isEmpty()) {
			return null;
		}
		return txlist.get(txlist.size() - 1);	
	}
public JtxTransaction getTransaction ( ) { ArrayList < JtxTransaction > txlist = txStack . get ( ) ; if ( txlist == null ) { return null ; } if ( txlist . isEmpty ( ) ) { return null ; } return txlist . get ( txlist . size ( ) - 1 ) ; // get last }
Returns last transaction associated with current thread or
<code>null</code> when thread has no associated transactions created
by this transaction manager.
Returns last transaction associated with current thread or <code > null< / code > when thread has no associated transactions created by this transaction manager .