API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.sql. ParameterMetaData View Source
Author(s)
Since
1.4
Version
Serial
Hierarchy
 Wrapper
      ParameterMetaData
Subinterfaces
Description
public interface ParameterMetaData
  An object that can be used to get information about the types and properties for each parameter marker in a PreparedStatement object.
See also:   
Methods
Hide/Show inherited methods
public String getParameterClassName (int param) throws SQLException
  Retrieves the fully-qualified name of the Java class whose instances should be passed to the method PreparedStatement.setObject.
public int getParameterCount () throws SQLException
  Retrieves the number of parameters in the PreparedStatement object for which this ParameterMetaData object contains information.
public int getParameterMode (int param) throws SQLException
  Retrieves the designated parameter's mode.
public int getParameterType (int param) throws SQLException
  Retrieves the designated parameter's SQL type.
public String getParameterTypeName (int param) throws SQLException
  Retrieves the designated parameter's database-specific type name.
public int getPrecision (int param) throws SQLException
  Retrieves the designated parameter's specified column size.
public int getScale (int param) throws SQLException
  Retrieves the designated parameter's number of digits to right of the decimal point.
public int isNullable (int param) throws SQLException
  Retrieves whether null values are allowed in the designated parameter.
public boolean isSigned (int param) throws SQLException
  Retrieves whether values for the designated parameter can be signed numbers.
Fields
Hide/Show inherited fields
publicfinalstatic int parameterModeIn = "1"
The constant indicating that the parameter's mode is IN.
publicfinalstatic int parameterModeInOut = "2"
The constant indicating that the parameter's mode is INOUT.
publicfinalstatic int parameterModeOut = "4"
The constant indicating that the parameter's mode is OUT.
publicfinalstatic int parameterModeUnknown = "0"
The constant indicating that the mode of the parameter is unknown.
publicfinalstatic int parameterNoNulls = "0"
The constant indicating that a parameter will not allow NULL values.
publicfinalstatic int parameterNullable = "1"
The constant indicating that a parameter will allow NULL values.
publicfinalstatic int parameterNullableUnknown = "2"
The constant indicating that the nullability of a parameter is unknown.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar