getParameterMode(int param)
Syntax:
int getParameterMode(int param) throws SQLException
Description:
Retrieves the designated parameter's mode.
The current version of Raima Database Manager supports only input parameters, so this method will return ParameterMetaData.parameterModeIn
.
Parameters:
param
the first parameter is 1, the second is 2, ...
Returns:
mode of the parameter; one of ParameterMetaData.parameterModeIn
, ParameterMetaData.parameterModeOut
, or ParameterMetaData.parameterModeInOut
.
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.getParameterMode(int)