List of utility methods to do SQL ResultSet Close
void | closeResultSetAndStatement(Statement statement, ResultSet resultSet) close Result Set And Statement if (statement != null) { statement.close(); if (resultSet != null) { resultSet.close(); |
void | closeResultSets(List Close a set of java.sql.ResultSet objects, ignoring any errors for (ResultSet result : results) { if (null != result) { try { result.close(); } catch (SQLException e) { |
void | closeResultSets(List Attempts to close a list of SQL result sets. if (resultSets != null) { for (ResultSet resultSet : resultSets) { closeResultSet(resultSet); |
void | closeRS(final ResultSet rs) close RS try { if (rs != null) { rs.close(); } catch (final SQLException ignore) { |