public final class ResultSetWrapper extends Object implements InvocationHandler
Modifier and Type | Method and Description |
---|---|
Object |
invoke(Object proxy,
Method m,
Object[] args) |
static ResultSet |
newInstance(Connection con,
Statement stmt,
ResultSet rs)
Creates a new
ResultSet proxy which closes the given Connection and
Statement if it is closed. |
public static final ResultSet newInstance(Connection con, Statement stmt, ResultSet rs)
ResultSet
proxy which closes the given Connection
and
Statement
if it is closed.con
- the associated Connection
stmt
- the associated Statement
rs
- the ResultSet
which backs the proxyResultSet
proxyCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.