All Packages Class Hierarchy This Package Previous Next Index
Class interbase.interclient.ParameterMetaData
java.lang.Object
|
+----interbase.interclient.ParameterMetaData
- public final class ParameterMetaData
- extends Object
InterClient Extension
ParameterMetaData is an InterClient extension
for describing the parameters to a prepared statement.
Unlike other RDBMS vendors, InterBase can describe parameter
meta data for prepared statements.
- See Also:
- PreparedStatement, getParameterMetaData
-
getParameterCount()
- How many parameters are there?
-
getParameterType(int)
- SQL Type id from java.sql.Types for input parameter.
-
getParameterTypeName(int)
- Get the InterBase type name for an input parameter.
-
getPrecision(int)
- Get the number of decimal digits.
-
getScale(int)
- Number of digits to the right of decimal.
-
isNullable(int)
- Can you put a null for this parameter?
getParameterCount
public int getParameterCount() throws SQLException
- How many parameters are there?
getParameterType
public int getParameterType(int parameterIndex) throws SQLException
- SQL Type id from java.sql.Types for input parameter.
- See Also:
- Types
getParameterTypeName
public String getParameterTypeName(int parameterIndex) throws SQLException
- Get the InterBase type name for an input parameter.
getPrecision
public int getPrecision(int parameterIndex) throws SQLException
- Get the number of decimal digits.
getScale
public int getScale(int parameterIndex) throws SQLException
- Number of digits to the right of decimal.
isNullable
public boolean isNullable(int parameterIndex) throws SQLException
- Can you put a null for this parameter?
All Packages Class Hierarchy This Package Previous Next Index