setNull(String parameterName, int sqlType)
Syntax:
void setNull(String parameterName, int sqlType) throws SQLException
Description:
Sets the designated parameter to SQL NULL.
Note: You must specify the parameter's SQL type.
Parameters:
parameterName
the name of the parameter
sqlType
the SQL type code defined in java.sql.Types
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.setNull(String, int)