public abstract void setArray (int parameterIndex, Array x) throws SQLException

Sets the designated parameter to the given java.sql.Array object. The driver converts this to an SQL ARRAY value when it sends it to the database.

Parameters:
parameterIndex    the first parameter is 1, the second is 2, ...
x    an Array object that maps an SQL ARRAY value

Exceptions:
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 PreparedStatement
SQLFeatureNotSupportedException    if the JDBC driver does not support this method

Since:  1.2