private String readInternalClob(Env env, int length)
private StringBuilderValue readInternalClob(Env env, long length)
  private String readInternalClob(Env env,                                  int length)  {    try {      StringBuilder contents = new StringBuilder();      Clob clob = (Clob) _lob;      Reader reader = clob.getCharacterStream();      int remaining = length < 0 ? Integer.MAX_VALUE : length;      int nchars;      char buffer[] = new char[10];      while( (remaining > 0) &&             ((nchars = reader.read(buffer)) != -1) ) {        if (nchars > remaining)          nchars = remaining;        contents.append(buffer, 0, nchars);        remaining -= nchars;      }      reader.close();      return contents.toString();    } catch (Exception ex) {      log.log(Level.FINE, ex.toString(), ex);      return null;    }  }