ParameterMetaDataInformation about the parameters of a prepared statement.
String getParameterClassName(int param) throws SQLExceptionReturns the Java class name of the parameter. "java.lang.String" is returned if the type is not known.Parameters:
param - the column index (1,2,...)
Returns:
the Java class name
int getParameterCount() throws SQLExceptionReturns the number of parameters.Returns:
the number
int getParameterMode(int param) throws SQLExceptionReturns the parameter mode. Always returns parameterModeIn.Parameters:
param - the column index (1,2,...)
Returns:
parameterModeIn
int getParameterType(int param) throws SQLExceptionReturns the parameter type. java.sql.Types.VARCHAR is returned if the data type is not known.Parameters:
param - the column index (1,2,...)
Returns:
the data type
String getParameterTypeName(int param) throws SQLExceptionReturns the parameter type name. "VARCHAR" is returned if the type is not known.Parameters:
param - the column index (1,2,...)
Returns:
the type name
int getPrecision(int param) throws SQLExceptionReturns the parameter precision. 0 is returned if the precision is not known.Parameters:
param - the column index (1,2,...)
Returns:
the precision
int getScale(int param) throws SQLExceptionReturns the parameter scale. 0 is returned if the scale is not known.Parameters:
param - the column index (1,2,...)
Returns:
the scale
int isNullable(int param) throws SQLExceptionChecks if this is nullable parameter. Returns ResultSetMetaData.columnNullableUnknown..Parameters:
param - the column index (1,2,...)
Returns:
ResultSetMetaData.columnNullableUnknown
boolean isSigned(int param) throws SQLExceptionChecks if this parameter is signed. It always returns true.Parameters:
param - the column index (1,2,...)
Returns:
true
|