public final class JdbcParameterMetaData extends TraceObject implements ParameterMetaData
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, SQLXML, STATEMENT, trace, XA_DATA_SOURCE, XID| 限定符和类型 | 方法和说明 |
|---|---|
String |
getParameterClassName(int param)
Returns the Java class name of the parameter.
|
int |
getParameterCount()
Returns the number of parameters.
|
int |
getParameterMode(int param)
Returns the parameter mode.
|
int |
getParameterType(int param)
Returns the parameter type.
|
String |
getParameterTypeName(int param)
Returns the parameter type name.
|
int |
getPrecision(int param)
Returns the parameter precision.
|
int |
getScale(int param)
Returns the parameter scale.
|
int |
isNullable(int param)
Checks if this is nullable parameter.
|
boolean |
isSigned(int param)
Checks if this parameter is signed.
|
boolean |
isWrapperFor(Class<?> iface)
Checks if unwrap can return an object of this class.
|
String |
toString()
INTERNAL
|
<T> T |
unwrap(Class<T> iface)
Return an object of this class if possible.
|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupportedpublic int getParameterCount()
throws SQLException
getParameterCount 在接口中 ParameterMetaDataSQLExceptionpublic int getParameterMode(int param)
throws SQLException
getParameterMode 在接口中 ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic int getParameterType(int param)
throws SQLException
getParameterType 在接口中 ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic int getPrecision(int param)
throws SQLException
getPrecision 在接口中 ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic int getScale(int param)
throws SQLException
getScale 在接口中 ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic int isNullable(int param)
throws SQLException
isNullable 在接口中 ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic boolean isSigned(int param)
throws SQLException
isSigned 在接口中 ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic String getParameterClassName(int param) throws SQLException
getParameterClassName 在接口中 ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic String getParameterTypeName(int param) throws SQLException
getParameterTypeName 在接口中 ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 Wrapperiface - the classSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor 在接口中 Wrapperiface - the classSQLExceptionCopyright © 2022. All rights reserved.