code: public synchronized int setString(long pos, String str, int offset,
                                        int len) throws SQLException {
  
          if (!isInLimits(Long.MAX_VALUE, pos - 1, len)) {
              throw Util.outOfRangeArgument();
          }
  
          try {
              return clob.setString(session, pos - 1, str, offset, len);
          } catch (HsqlException e) {
              throw Util.sqlException(e);
          }
      }
docs: Writes <code>len</code> characters of <code>str</code>, starting at
  character <code>offset</code>, to the <code>CLOB</code> value that
  this <code>Clob</code> represents.
  
  @param pos the position at which to start writing to this
  <code>CLOB</code> object
  @param str the string to be written to the <code>CLOB</code> value
  that this <code>Clob</code> object represents
  @param offset the offset into <code>str</code> to start reading the
  characters to be written
  @param len the number of characters to be written
  @return the number of characters written
  @throws SQLException if there is an error accessing the
  <code>CLOB</code> value