REQ-3284: 推送
This commit is contained in:
parent
0cedc86fdd
commit
b962c8ceb7
@ -31,19 +31,19 @@ import java.util.Map;
|
||||
@RequiredArgsConstructor
|
||||
class ProxyResultSet implements ResultSet {
|
||||
|
||||
private final ProxyStatement statement;
|
||||
private final ProxyStatement proxy;
|
||||
private final ResultSet delegate;
|
||||
|
||||
@Override public boolean next() throws SQLException {
|
||||
boolean moved = delegate.next();
|
||||
if (moved)
|
||||
statement.rowAdvanced();
|
||||
proxy.rowAdvanced();
|
||||
return moved;
|
||||
}
|
||||
|
||||
@Override public void close() throws SQLException {
|
||||
delegate.close();
|
||||
statement.resultSetClosed();
|
||||
proxy.resultSetClosed();
|
||||
}
|
||||
|
||||
@Override public boolean wasNull() throws SQLException {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user