public class SingleResultResultSetCloser extends AbstractStreamingResultSetCloser
LOGGER| Constructor and Description |
|---|
SingleResultResultSetCloser() |
SingleResultResultSetCloser(boolean autoCloseConnection) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(DbConnection connection,
ResultSet resultSet)
Closes the given
resultset. |
protected void |
closeStatement(Statement statement) |
protected Statement |
getStatement(ResultSet resultSet) |
public SingleResultResultSetCloser()
public SingleResultResultSetCloser(boolean autoCloseConnection)
public void close(DbConnection connection, ResultSet resultSet)
StreamingResultSetCloserresultset. It also must invoke DbConnection.endStreaming() and
DbConnection.release() even if the operation failsclose in interface StreamingResultSetCloserclose in class AbstractStreamingResultSetCloserconnection - the connection to the DBresultSet - the ResultSetprotected void closeStatement(Statement statement)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.