code: protected static String uowIdToString(Object uowId)
      {
          String tidStr = null;
          if (uowId != null)
          {
              if (uowId instanceof LocalTransactionCoordinator)
              {
                  tidStr = "tid=" + Integer.toHexString(uowId.hashCode()) + "(LTC)";
              }
              else
              {
                  int idx;
                  tidStr = uowId.toString();
                  if ((idx = tidStr.lastIndexOf("#")) != -1)
                      tidStr = tidStr.substring(idx + 1);
              }
          }
          return tidStr;
      }
docs: LI3795-56