protected class CallableStatement.CallableStatementParamInfoJDBC3 extends CallableStatement.CallableStatementParamInfo implements java.sql.ParameterMetaData
catalogInUse, isFunctionCall, isReadOnlySafeChecked, isReadOnlySafeProcedure, nativeSql, numParameters, parameterList, parameterMap
Constructor and Description |
---|
CallableStatement.CallableStatementParamInfoJDBC3(CallableStatement.CallableStatementParamInfo paramInfo) |
CallableStatement.CallableStatementParamInfoJDBC3(java.sql.ResultSet paramTypesRs) |
Modifier and Type | Method and Description |
---|---|
boolean |
isWrapperFor(java.lang.Class<?> iface)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper
for an object that does.
|
java.lang.Object |
unwrap(java.lang.Class<?> iface)
Returns an object that implements the given interface to allow access to non-standard methods,
or standard methods not exposed by the proxy.
|
checkBounds, clone, getParameter, getParameter, getParameterClassName, getParameterCount, getParameterMode, getParameterType, getParameterTypeName, getPrecision, getScale, isNullable, isSigned, iterator, numberOfParameters
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
CallableStatement.CallableStatementParamInfoJDBC3(java.sql.ResultSet paramTypesRs) throws java.sql.SQLException
java.sql.SQLException
public CallableStatement.CallableStatementParamInfoJDBC3(CallableStatement.CallableStatementParamInfo paramInfo)
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
on the wrapped
object. If this does not implement the interface and is not a wrapper, return false.
This method should be implemented as a low-cost operation compared to unwrap
so that
callers can use this method to avoid expensive unwrap
calls that may fail. If this method
returns true then calling unwrap
with the same argument should succeed.isWrapperFor
in interface java.sql.Wrapper
interfaces
- a Class defining an interface.java.sql.SQLException
- if an error occurs while determining whether this is a wrapper
for an object with the given interface.public java.lang.Object unwrap(java.lang.Class<?> iface) throws java.sql.SQLException
unwrap
recursively on the wrapped object. If the receiver is not a
wrapper and does not implement the interface, then an SQLException
is thrown.iface
- A Class defining an interface that the result must implement.java.sql.SQLException
- If no object found that implements the interface