jodd-db/src/main/java/jodd/db/DbQueryBase.java
public void closeResultSet(final ResultSet rs) {
		if (rs == null) {
			return;
		}
		if (!resultSets.remove(rs)) {
			throw new DbSqlException(this, "ResultSet is not created by this query");
		}
		try {
			rs.close();
		} catch (SQLException sex) {
			throw new DbSqlException(this, "Close result set error", sex);
		} finally {
			totalOpenResultSetCount--;
		}
	}
public void closeResultSet(final ResultSet rs) {
		if (rs == null) {
			return;
		}
		if (!resultSets.remove(rs)) {
			throw new DbSqlException(this, "ResultSet is not created by this query");
		}
		try {
			rs.close();
		} catch (SQLException sex) {
			throw new DbSqlException(this, "Close result set error", sex);
		} finally {
			totalOpenResultSetCount--;
		}
	}
public void closeResultSet ( final ResultSet rs ) { if ( rs == null ) { return ; } if ( ! resultSets . remove ( rs ) ) { throw new DbSqlException ( this , "ResultSet is not created by this query" ) ; } try { rs . close ( ) ; } catch ( SQLException sex ) { throw new DbSqlException ( this , "Close result set error" , sex ) ; } finally { totalOpenResultSetCount -- ; } }
Closes single result set that was created by this query. It is not necessary to close result sets
explicitly, since {@link DbQueryBase#close()} method closes all created result sets.
Query remains active.
Closes single result set that was created by this query . It is not necessary to close result sets explicitly since {