The com.ibm.db2.jcc.DB2ParameterMetaData interface extends the java.sql.ParameterMetaData interface.
The following methods are defined only for the IBM® Data Server Driver for JDBC and SQLJ.
public int getMaxStringUnitBits (int param)
throws java.sql.SQLException
This method applies only to connections to DB2® for Linux, UNIX, and Windows Version 10.5 or later data servers.
public String[] getParameterMarkerNames()
throws java.sql.SQLException
Returns a list of the parameter marker names that are used in an SQL statement.
This method returns null if the enableNamedParameterMarkers property is set DB2BaseDataSource.NOT_SET or DB2BaseDataSource.NO, or if there are no named parameter markers in the SQL statement.
public String getProcedureParameterName(int param)
throws java.sql.SQLException
Returns the name in the CREATE PROCEDURE statement of a parameter in an SQL CALL statement. If the parameter has no name in the CREATE PROCEDURE statement, the ordinal position of the parameter in the CREATE PROCEDURE statement is returned.
This method applies to connections to DB2 for Linux, UNIX, and Windows 9.7 or later data servers only.