code: @Override
      protected String i_getLongString(ResultSet rs, int pos) throws SQLException {
          String s = rs.getString(pos);
          if (s != null) {
              // It's a String-based datatype, so just return it.
              return s;
          } else {
              // It may be a CLOB. If so, return the contents as a String.
              try {
                  Clob c = rs.getClob(pos);
                  return c.getSubString(1, (int) c.length());
              } catch (Throwable th) {
                  th.printStackTrace();
                  return null;
              }
          }
      }
docs: Get a long string, which could be a TEXT or CLOB type. (CLOBs require
  special handling -- this method normalizes the reading of them)