rs = s_i_r.executeQuery("select * from t where 1=0");
// isBeforeFirst() and isAfterLast() should always return false
// when result set is empty
assertFalse(rs.isBeforeFirst());
assertFalse(rs.next());
assertFalse(rs.previous());
assertFalse(rs.isAfterLast());
assertFalse(rs.isFirst());
assertFalse(rs.isLast());
assertFalse(rs.relative(0));
assertFalse(rs.relative(1));