public class JdbcResultSetHandle extends BaseProxyHandlerClass
ResultSet wrapper.
This class is a proxy handler for a ResultSet. It does not
implement the ResultSet 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 |
|---|
JdbcResultSetHandle(java.sql.ResultSet delegate,
BaseProxyHandlerClass statementHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.Object |
getProxiedDelegate()
Must be implemented by the sub-class of this class.
|
java.sql.Statement |
getStatement() |
boolean |
isWrapperFor(java.lang.Class<?> iface) |
<T> T |
unwrap(java.lang.Class<T> iface) |
invokepublic JdbcResultSetHandle(java.sql.ResultSet delegate,
BaseProxyHandlerClass statementHandle)
public 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 java.lang.Object getProxiedDelegate()
throws java.lang.Exception
BaseProxyHandlerClassgetProxiedDelegate in class BaseProxyHandlerClassjava.lang.Exception - can throw any exception if desiredpublic void close()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Statement getStatement()
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2006-2021 Bitronix Software. All Rights Reserved.