setBlob(String parameterName, Blob x)

Syntax:

void setBlob(String parameterName,
             Blob x)
             throws SQLException

Description:

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

Parameters:

parameterName

the name of the parameter

x

a Blob object that maps an SQL BLOB value

Throws:

SQLException - if a database access error occurs, parameterName is not a valid parameter name, or the prepared statement has been closed

Reference:

For more information, reference JDBC documentation for: CallableStatement.setBlob(String, Blob)