docs: 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;
      }