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, XID
parameterModeIn, 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, unsupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isWrapperFor, unwrap
public int getParameterCount() throws SQLException
getParameterCount
in interface ParameterMetaData
SQLException
public int getParameterMode(int param) throws SQLException
getParameterMode
in interface ParameterMetaData
param
- the column index (1,2,...)SQLException
public int getParameterType(int param) throws SQLException
getParameterType
in interface ParameterMetaData
param
- the column index (1,2,...)SQLException
public int getPrecision(int param) throws SQLException
getPrecision
in interface ParameterMetaData
param
- the column index (1,2,...)SQLException
public int getScale(int param) throws SQLException
getScale
in interface ParameterMetaData
param
- the column index (1,2,...)SQLException
public int isNullable(int param) throws SQLException
isNullable
in interface ParameterMetaData
param
- the column index (1,2,...)SQLException
public boolean isSigned(int param) throws SQLException
isSigned
in interface ParameterMetaData
param
- the column index (1,2,...)SQLException
public String getParameterClassName(int param) throws SQLException
getParameterClassName
in interface ParameterMetaData
param
- the column index (1,2,...)SQLException
public String getParameterTypeName(int param) throws SQLException
getParameterTypeName
in interface ParameterMetaData
param
- the column index (1,2,...)SQLException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.