code: private String readClobAsString(Clob logClob) throws SQLException {
      if (logClob == null) {
        return StringUtils.EMPTY;
      }
      long length = logClob.length();
      return logClob.getSubString(1, (int) length);
    }
docs: /*
  For Clob data, we need to use the substring function to extract the string