public class JdbcParameterMetaData extends TraceObject implements java.sql.ParameterMetaData
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, STATEMENT, trace, XA_DATA_SOURCE, XID| Modifier and Type | Method and Description |
|---|---|
java.lang.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.
|
java.lang.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(java.lang.Class<?> iface)
Checks if unwrap can return an object of this class.
|
java.lang.String |
toString()
INTERNAL
|
<T> T |
unwrap(java.lang.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 java.sql.SQLException
getParameterCount in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getParameterMode(int param)
throws java.sql.SQLException
getParameterMode in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)java.sql.SQLExceptionpublic int getParameterType(int param)
throws java.sql.SQLException
getParameterType in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)java.sql.SQLExceptionpublic int getPrecision(int param)
throws java.sql.SQLException
getPrecision in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)java.sql.SQLExceptionpublic int getScale(int param)
throws java.sql.SQLException
getScale in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)java.sql.SQLExceptionpublic int isNullable(int param)
throws java.sql.SQLException
isNullable in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)java.sql.SQLExceptionpublic boolean isSigned(int param)
throws java.sql.SQLException
isSigned in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)java.sql.SQLExceptionpublic java.lang.String getParameterClassName(int param)
throws java.sql.SQLException
getParameterClassName in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)java.sql.SQLExceptionpublic java.lang.String getParameterTypeName(int param)
throws java.sql.SQLException
getParameterTypeName in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)java.sql.SQLExceptionpublic <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
unwrap in interface java.sql.Wrapperiface - the classjava.sql.SQLExceptionpublic boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
isWrapperFor in interface java.sql.Wrapperiface - the classjava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object