# java.sql.ParameterMetaData

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 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-only features
Related reference
java.sql.Connection
java.sql.DatabaseMetaData
java.sql.PreparedStatement
java.sql.Savepoint
java.sql.Statement