public 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, SQL_EXCEPTION, STATEMENT, trace, XA_DATA_SOURCE, XA_RESOURCE, XIDparameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
toString()
INTERNAL
|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTrace, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisWrapperFor, unwrappublic int getParameterCount()
throws SQLException
getParameterCount in interface ParameterMetaDataSQLExceptionpublic int getParameterMode(int param)
throws SQLException
getParameterMode in interface ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic int getParameterType(int param)
throws SQLException
getParameterType in interface ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic int getPrecision(int param)
throws SQLException
getPrecision in interface ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic int getScale(int param)
throws SQLException
getScale in interface ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic int isNullable(int param)
throws SQLException
isNullable in interface ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic boolean isSigned(int param)
throws SQLException
isSigned in interface ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic String getParameterClassName(int param) throws SQLException
getParameterClassName in interface ParameterMetaDataparam - the column index (1,2,...)SQLExceptionpublic String getParameterTypeName(int param) throws SQLException
getParameterTypeName in interface ParameterMetaDataparam - the column index (1,2,...)SQLExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.