public final class ResultSetWrapper
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args) |
static java.sql.ResultSet |
newInstance(java.sql.Connection con,
java.sql.Statement stmt,
java.sql.ResultSet rs)
Creates a new
ResultSet proxy which closes the given Connection and
Statement if it is closed. |
public static final java.sql.ResultSet newInstance(java.sql.Connection con,
java.sql.Statement stmt,
java.sql.ResultSet rs)
ResultSet proxy which closes the given Connection and
Statement if it is closed.con - the associated Connectionstmt - the associated Statementrs - the ResultSet which backs the proxyResultSet proxypublic java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.ThrowableCopyright © 2010 - 2023 Adobe. All Rights Reserved