public final LocalTransaction getLocalTransaction ( ) throws ResourceException { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( this , tc , "getLocalTransaction" ) ; localTran = localTran == null ? new WSRdbSpiLocalTransactionImpl ( this , sqlConn ) : localTran ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . exit ( this , tc , "getLocalTransaction" , localTran ) ; return localTran ; }
Returns an javax . resource . spi . LocalTransaction instance . The LocalTransaction interface is used by the container to manage local transactions for a RM instance .