code: @Override
    public void setURL(final int parameterIndex, final URL url) throws SQLException {
      if (url == null) {
        setNull(parameterIndex, ColumnType.STRING);
        return;
      }
      setParameter(parameterIndex, new StringParameter(url.toString(), noBackslashEscapes));
    }
docs: Sets the designated parameter to the given <code>java.net.URL</code> value. The driver converts
  this to an SQL
  <code>DATALINK</code> value when it sends it to the database.
  
  @param parameterIndex the first parameter is 1, the second is 2, ...
  @param url            the <code>java.net.URL</code> object to be set
  @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>