public boolean last() throws SQLException { checkScrollable(); final int rows_size = rows.size(); if (rows_size <= 0) return false; current_row = rows_size - 1; initRowBuffer(); onInsertRow = false; return true; }
public boolean first() throws SQLException { checkScrollable(); if (rows.size() <= 0) return false; current_row = 0; initRowBuffer(); onInsertRow = false; return true; }
public synchronized void moveToCurrentRow() throws SQLException { checkUpdateable(); if (current_row < 0 || current_row >= rows.size()) { this_row = null; rowBuffer = null; } else { initRowBuffer(); } onInsertRow = false; doingUpdates = false; }
public boolean previous() throws SQLException { checkScrollable(); if (onInsertRow) throw new PSQLException(GT.tr("Can''t use relative move methods while on the insert row."), PSQLState.INVALID_CURSOR_STATE); if (current_row -1 < 0) { current_row = -1; this_row = null; rowBuffer = null; return false; } else { current_row--; } initRowBuffer(); return true; }
initRowBuffer(); return true;
initRowBuffer(); onInsertRow = false;
public boolean last() throws SQLException { checkScrollable(); final int rows_size = rows.size(); if (rows_size <= 0) return false; current_row = rows_size - 1; initRowBuffer(); onInsertRow = false; return true; }
public boolean first() throws SQLException { checkScrollable(); if (rows.size() <= 0) return false; current_row = 0; initRowBuffer(); onInsertRow = false; return true; }
public boolean first() throws SQLException { checkScrollable(); if (rows.size() <= 0) return false; current_row = 0; initRowBuffer(); onInsertRow = false; return true; }
public boolean last() throws SQLException { checkScrollable(); final int rows_size = rows.size(); if (rows_size <= 0) return false; current_row = rows_size - 1; initRowBuffer(); onInsertRow = false; return true; }
public synchronized void moveToCurrentRow() throws SQLException { checkUpdateable(); if (current_row < 0 || current_row >= rows.size()) { this_row = null; rowBuffer = null; } else { initRowBuffer(); } onInsertRow = false; doingUpdates = false; }
public synchronized void moveToCurrentRow() throws SQLException { checkUpdateable(); if (current_row < 0 || current_row >= rows.size()) { this_row = null; rowBuffer = null; } else { initRowBuffer(); } onInsertRow = false; doingUpdates = false; }
public boolean previous() throws SQLException { checkScrollable(); if (onInsertRow) throw new PSQLException(GT.tr("Can''t use relative move methods while on the insert row."), PSQLState.INVALID_CURSOR_STATE); if (current_row -1 < 0) { current_row = -1; this_row = null; rowBuffer = null; return false; } else { current_row--; } initRowBuffer(); return true; }
public boolean previous() throws SQLException { checkScrollable(); if (onInsertRow) throw new PSQLException(GT.tr("Can''t use relative move methods while on the insert row."), PSQLState.INVALID_CURSOR_STATE); if (current_row -1 < 0) { current_row = -1; this_row = null; rowBuffer = null; return false; } else { current_row--; } initRowBuffer(); return true; }
initRowBuffer(); return true;
initRowBuffer(); return true;
initRowBuffer(); onInsertRow = false;
initRowBuffer(); onInsertRow = false;