|
1.50.39 | ||||||||
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.
ParameterMetaData is extracted from a PreparedStatement using PreparedStatement.getParameterMetaData (). This provides a means to get metadata describing the input parameters to a 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.
PreparedStatement.getParameterMetaData()
Method Summary | |
int |
getParameterCount()
How many parameters are there. |
int |
getParameterType(int parameterIndex)
SQL Type id from java.sql.Types for input parameter. |
String |
getParameterTypeName(int parameterIndex)
Get the InterBase type name for an input parameter. |
int |
getPrecision(int parameterIndex)
Get the number of decimal digits. |
int |
getScale(int parameterIndex)
Number of digits to the right of decimal. |
boolean |
isNullable(int parameterIndex)
Can you put a null for this parameter. |
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
java.sql.Types
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
|
1.50.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |