Fix #221 handle getResultSet()

2.3.0
Brett Wooldridge 10 years ago
parent 8a61e581c2
commit 6017c8019b

@ -196,6 +196,16 @@ public abstract class StatementProxy implements Statement
return delegate.executeLargeUpdate(sql, columnNames);
}
/** {@inheritDoc} */
@Override
public ResultSet getResultSet() throws SQLException {
final ResultSet resultSet = delegate.getResultSet();
if (resultSet != null) {
return ProxyFactory.getProxyResultSet(connection, resultSet);
}
return null;
}
/** {@inheritDoc} */
@Override
@SuppressWarnings("unchecked")
@ -210,4 +220,4 @@ public abstract class StatementProxy implements Statement
throw new SQLException("Wrapped statement is not an instance of " + iface);
}
}
}

Loading…
Cancel
Save