getParameterCount()

Syntax:

int getParameterCount()
                      throws SQLException

Description:

Retrieves the number of parameters in the PreparedStatement object for which this ParameterMetaData object contains information.

Returns:

the number of parameters

Throws:

SQLException - if a database access error occurs

Reference:

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