code: public void setClob(final int parameterIndex, final Clob clob) throws SQLException {
      if (clob == null) {
        setNull(parameterIndex, ColumnType.BLOB);
        return;
      }
  
      setParameter(parameterIndex,
          new ReaderParameter(clob.getCharacterStream(), clob.length(), noBackslashEscapes));
      hasLongData = true;
    }
docs: Sets the designated parameter to the given <code>java.sql.Clob</code> object. The driver
  converts this to an SQL
  <code>CLOB</code> value when it sends it to the database.
  
  @param parameterIndex the first parameter is 1, the second is 2, ...
  @param clob           a <code>Clob</code> object that maps an SQL <code>CLOB</code> value
  @throws SQLException                    if parameterIndex does not correspond to a parameter
  marker in the SQL statement; if a database access error
  occurs or this method is called on a closed
  <code>PreparedStatement</code>