using rs.next() instead of rs.first() to get the first record to support forward only cursors