|
1.51.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--interbase.interclient.ParameterMetaData
Describes input column information for the parameters of a prepared statement.
ParameterMetaData is an InterClient extension to JDBC for describing the parameters to a prepared statement dynamically.
ParameterMetaData is extracted from a PreparedStatement
using
PreparedStatement.getParameterMetaData().
This provides a means to get metadata describing
the input parameters to a dynamically prepared
statement (SQL DESCRIBE INPUT
functionality).
This class was proposed for inclusion in JDBC 2.0, but was rejected due to lack of underlying support of some RDBMS vendors.
Method Summary | |
int |
getArrayBaseType(int parameterIndex)
Gets an array parameter's base SQL type. |
int[][] |
getArrayDimensions(int parameterIndex)
Gets an array parameters dimension and bounds. |
int |
getParameterCount()
Gets the number of input parameters of a dynamically prepared statement. |
int |
getParameterType(int parameterIndex)
Gets the parameter SQL type for an input column of a prepared statement. |
String |
getParameterTypeName(int parameterIndex)
Gets the InterBase type name for an input column. |
int |
getPrecision(int parameterIndex)
Gets the number of decimal digits for an input column. |
int |
getScale(int parameterIndex)
Gets the number of digits to the right of the decimal for an input column. |
boolean |
isNullable(int parameterIndex)
Can you put a null for this input column. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public int getParameterCount() throws SQLException
public int getParameterType(int parameterIndex) throws SQLException
public String getParameterTypeName(int parameterIndex) throws SQLException
public int getPrecision(int parameterIndex) throws SQLException
public int getScale(int parameterIndex) throws SQLException
public boolean isNullable(int parameterIndex) throws SQLException
public int getArrayBaseType(int parameterIndex) throws SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...java.sql.Types
public int[][] getArrayDimensions(int parameterIndex) throws SQLException
parameterIndex
- the first parameter is 1, the second is 2, ...
|
1.51.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |