Skip to content

jdbc: metadata: ParameterMetaData support #173

Open
@nicktorwald

Description

@nicktorwald

The JDBC compliance requires java.sql.ParameterMetaData to be fully implemented.

This issue is about describing Inputs of a PreparedStatement Object and optionally of a CallableStatement.

The method PreparedStatement.getParameterMetaData returns a ParameterMetaData object describing the parameter markers that appear in the PreparedStatement object. Methods in the ParameterMetaData interface provide information about the number of parameters and their characteristics.

Example:

PreparedStatement pstmt = conn.prepareStatement(
    "SELECT * FROM BOOKLIST WHERE ISBN = ?"
);
ParameterMetaData pmd = pstmt.getParameterMetaData();
int colType = pmd.getParameterType(1);

See the API specification for more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedNot ready to be implementedjdbc

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions