JDBC Driver - Parameter Meta Data

On this page

PreparedStatement.getParameterMetaData() returns java.sql.ParameterMetaData for the server’s prepared SQL signature. Parameter indexes start at 1 and follow the order of the ? markers. The prepared statement example reads the parameter count.

Method Driver 3.1 behavior
getParameterCount() Number of parameters in the signature.
getParameterType(index), getParameterTypeName(index) JDBC type code and the Polypheny type name from the signature.
getPrecision(index), getScale(index) Precision and scale from the signature.
isNullable(index) Always parameterNullableUnknown.
isSigned(index) Returns false as a driver default.
getParameterMode(index) Always parameterModeIn.
getParameterClassName(index) Returns null.
isWrapperFor(type), unwrap(type) Check or obtain the compatible metadata implementation.
© Polypheny GmbH. All Rights Reserved.