public class CachedRowSetResultSetProxyLogic extends ProxyLogicSupport implements ResultSetProxyLogic
CachedRowSet to provide repeatable read ResultSet proxy.
CachedRowSet is disconnected scrollable RowSet which is a
subset of ResultSet. Using those feature to provide repeatable read resultset proxy.
The default oracle jdk implementation com.sun.rowset.CachedRowSetImpl does not support isClosed
method. Thus, keep close status and return 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 © 2023. All rights reserved.