isNullable(int param)

Syntax:

int isNullable(int param)
               throws SQLException

Description:

Retrieves whether null values are allowed in the designated parameter.

Parameters:

param

the first parameter is 1, the second is 2, ...

Returns:

the nullability status of the given parameter; one of ParameterMetaData.parameterNoNulls, ParameterMetaData.parameterNullable, or ParameterMetaData.parameterNullableUnknown

Throws:

SQLException - if a database access error occurs, if param is less than 1 or greater than the number of parameters, or if the object has been closed.

Reference:

For more information, reference JDBC documentation for: ParameterMetaData.isNullable(int)