public class CachedRowSetResultSetProxyLogic extends ProxyLogicSupport implements ResultSetProxyLogic
CachedRowSet to provide a repeatable-read ResultSet proxy.
A CachedRowSet is a disconnected, scrollable RowSet that implements a
subset of ResultSet. Its features are used to provide a repeatable-read result set proxy.
The default Oracle JDK implementation, com.sun.rowset.CachedRowSetImpl, does not support the
isClosed method. This class therefore tracks the closed state and returns it when isClosed() is called.
CachedRowSetResultSetProxyLogicFactory| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isClosed |
protected boolean |
supportIsClosedMethod |
COMMON_METHOD_NAMES| Constructor and Description |
|---|
CachedRowSetResultSetProxyLogic(ResultSet resultSet,
ResultSet cachedRowSet,
ConnectionInfo connectionInfo,
ProxyConfig proxyConfig) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected Object |
performProxyLogic(Object proxy,
Method method,
Object[] args,
MethodExecutionContext methodContext) |
handleCommonMethod, isCommonMethod, proceedExecution, proceedMethodExecutionprotected boolean supportIsClosedMethod
protected boolean isClosed
public CachedRowSetResultSetProxyLogic(ResultSet resultSet, ResultSet cachedRowSet, ConnectionInfo connectionInfo, ProxyConfig proxyConfig)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface ResultSetProxyLogicThrowableprotected Object performProxyLogic(Object proxy, Method method, Object[] args, MethodExecutionContext methodContext) throws Throwable
performProxyLogic in class ProxyLogicSupportThrowableCopyright © 2026. All rights reserved.