@Override public boolean isLast() throws SQLException { return rs.isLast(); }
@Override public boolean isLast() throws SQLException { return delegate.isLast(); }
/** * @see java.sql.ResultSet#isLast() */ @Override public boolean isLast() throws InvalidResultSetAccessException { try { return this.resultSet.isLast(); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
@Override public boolean isLast() throws SQLException { try { return rs.isLast(); } catch (Throwable t) { throw checkException(t); } }
@Signature public boolean isLast() throws SQLException { return resultSet.isLast(); }
@Override public boolean isLast() { try { return getResultSet().isLast(); } catch (SQLException sqle) { throw convert( sqle, "exception calling isLast()" ); } }
@Override public boolean resultSet_isLast(ResultSetProxy rs) throws SQLException { if (this.pos < filterSize) { return nextFilter() .resultSet_isLast(this, rs); } return rs.getResultSetRaw() .isLast(); }
/** * @param rs Result set. * @return The value of the first column at the first row from result set. * @throws SQLException If failed. */ private Object getSingleValue(ResultSet rs) throws SQLException { assertEquals(1, rs.getMetaData().getColumnCount()); assertTrue(rs.next()); Object res = rs.getObject(1); assertTrue(rs.isLast()); return res; }
/** */ private Object getSingleValue(ResultSet rs) throws SQLException { assertEquals(1, rs.getMetaData().getColumnCount()); assertTrue(rs.next()); Object res = rs.getObject(1); assertTrue(rs.isLast()); return res; }
/** * @throws Exception If failed. */ @Test public void testNavigation() throws Exception { ResultSet rs = stmt.executeQuery("select * from TestObject where id > 0"); assert rs.isBeforeFirst(); assert !rs.isAfterLast(); assert !rs.isFirst(); assert !rs.isLast(); assert rs.getRow() == 0; assert rs.next(); assert !rs.isBeforeFirst(); assert !rs.isAfterLast(); assert rs.isFirst(); assert !rs.isLast(); assert rs.getRow() == 1; assert rs.next(); assert !rs.isBeforeFirst(); assert !rs.isAfterLast(); assert !rs.isFirst(); assert rs.isLast(); assert rs.getRow() == 2; assert !rs.next(); assert !rs.isBeforeFirst(); assert rs.isAfterLast(); assert !rs.isFirst(); assert !rs.isLast(); assert rs.getRow() == 0; }
assert !rs.isAfterLast(); assert !rs.isFirst(); assert !rs.isLast(); assert rs.getRow() == 0; assert !rs.isAfterLast(); assert rs.isFirst(); assert !rs.isLast(); assert rs.getRow() == 1; assert !rs.isAfterLast(); assert !rs.isFirst(); assert rs.isLast(); assert rs.getRow() == 2; assert rs.isAfterLast(); assert !rs.isFirst(); assert !rs.isLast(); assert rs.getRow() == 0;
@Override public boolean isLast() throws SQLException { return innerResultSet.isLast(); }
@Override public boolean isLast() throws SQLException { return rs.isLast(); }
@Override public boolean isLast() throws SQLException { return delegate.isLast(); }
@Override public boolean isLast() throws SQLException { return innerResultSet.isLast(); }
assertFalse(rs.isAfterLast()); assertFalse(rs.isFirst()); assertFalse(rs.isLast()); assertEquals(0, rs.getRow()); assertFalse(rs.isAfterLast()); assertTrue(rs.isFirst()); assertFalse(rs.isLast()); assertEquals(1, rs.getRow()); assertFalse(rs.isAfterLast()); assertFalse(rs.isFirst()); assertFalse(rs.isLast()); assertEquals(2, rs.getRow()); assertFalse(rs.isAfterLast()); assertFalse(rs.isFirst()); assertTrue(rs.isLast()); assertEquals(3, rs.getRow()); assertTrue(rs.isAfterLast()); assertFalse(rs.isFirst()); assertFalse(rs.isLast()); assertEquals(0, rs.getRow());
@Override public boolean isLast() throws SQLException { try { return rs.isLast(); } catch (Throwable t) { throw checkException(t); } }
LOGGER.fine("tile table " + tileTableName + " has been found"); if (set.isLast()) {
@Override public boolean resultSet_isLast(ResultSetProxy rs) throws SQLException { if (this.pos < filterSize) { return nextFilter() .resultSet_isLast(this, rs); } return rs.getResultSetRaw() .isLast(); }
@Override public boolean isLast() throws SQLException { boolean x = resultSet.isLast(); logger.logf(level, "%s.isLast() = %s", resultSetID, x); return x; }