Keywords: java.sql.ParameterMetaData interface

# java.sql.ParameterMetaData interface: supported JDBC 3.0 methods

ParameterMetaData is new in JDBC 3.0. It describes the number, type, and properties of parameters to prepared statements. The method PreparedStatement.getParameterMetaData returns a ParameterMetaData object that describes the parameter markers that appear in the PreparedStatement object. See java.sql.PreparedStatement interface: supported JDBC 3.0 methods for more information.

Interface ParameterMetaData methods are listed below.

Table 1. JDBC 3.0 ParameterMetaData Methods
Returns | Signature | Implementation Notes
--- | --- | ---
int | getParameterCount() |
int | isNullable(int param) |
boolean | isSigned(int param) |
int | getPrecision(int param) |
int | getScale(int param) |
int | getParameterType(int param) |
String | getParamterTypeName (int param) |
String | getParamterClassName (int param) |
int | getParameterMode (int param) |

Parent topic: JDBC 3.0 features
Related reference
java.sql.Connection interface: supported JDBC 3.0 methods
java.sql.DatabaseMetaData interface: supported JDBC 3.0 methods
java.sql.PreparedStatement interface: supported JDBC 3.0 methods
java.sql.Savepoint interface
java.sql.Statement interface: supported JDBC 3.0 methods