using rs.next() instead of rs.first() to get the first record to work
around an issue in the sql server jdbc driver