Code example for ResultSet

Methods: close

0
 
    public void close() { 
        if (result != null) {
            try { 
                next = null;
                result.close();
                result = null;
            } catch (SQLException ex) {
                result = null;
                throw new RuntimeException(ex);
            } 
        } 
    } 
 
    public static void close(Iterator<?> iterator) {
        if (iterator instanceof JdbcIterator<?>) ((JdbcIterator<?>)iterator).close();
    } 
 
 
    protected void load() {