Methods Summary |
---|
public java.lang.String | getParameterClassName(int paramIndex)Gets the fully-qualified name of the Java class which should be passed as
a parameter to the method {@code PreparedStatement.setObject}.
|
public int | getParameterCount()Gets the number of parameters in the {@code PreparedStatement} for which
this {@code ParameterMetaData} contains information.
|
public int | getParameterMode(int paramIndex)Gets the mode of the specified parameter. Can be one of:
- ParameterMetaData.parameterModeIn
- ParameterMetaData.parameterModeOut
- ParameterMetaData.parameterModeInOut
- ParameterMetaData.parameterModeUnknown
|
public int | getParameterType(int paramIndex)Gets the SQL type of a specified parameter.
|
public java.lang.String | getParameterTypeName(int paramIndex)Gets the database-specific type name of a specified parameter.
|
public int | getPrecision(int paramIndex)Gets the number of decimal digits for a specified parameter.
|
public int | getScale(int paramIndex)Gets the number of digits after the decimal point for a specified
parameter.
|
public int | isNullable(int paramIndex)Gets whether {@code null} values are allowed for the specified parameter.
The returned value is one of:
- ParameterMetaData.parameterNoNulls
- ParameterMetaData.parameterNullable
- ParameterMetaData.parameterNullableUnknown
|
public boolean | isSigned(int paramIndex)Gets whether values for the specified parameter can be signed numbers.
|