public class JdbcCallableStatementHandle extends BaseProxyHandlerClass
Statement wrapper.
This class is a proxy handler for a CallableStatement. It does not
implement the CallableStatement interface or extend a class directly,
but you methods implemented here will override those of the
underlying delegate. Simply implement a method with the same
signature, and the local method will be called rather than the delegate.
| Constructor and Description |
|---|
JdbcCallableStatementHandle(java.sql.CallableStatement delegate,
JdbcPooledConnection pooledConnection) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.Object |
getProxiedDelegate()
Must be implemented by the sub-class of this class.
|
boolean |
isWrapperFor(java.lang.Class<?> iface) |
<T> T |
unwrap(java.lang.Class<T> iface) |
invokepublic JdbcCallableStatementHandle(java.sql.CallableStatement delegate,
JdbcPooledConnection pooledConnection)
public java.lang.Object getProxiedDelegate()
throws java.lang.Exception
BaseProxyHandlerClassgetProxiedDelegate in class BaseProxyHandlerClassjava.lang.Exception - can throw any exception if desiredpublic boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
java.sql.SQLExceptionpublic <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2006-2019 Bitronix Software. All Rights Reserved.