1、You aren't calling ResultSet.next() before you are trying to access data.
2、The older versions of the driver did not enforce this, but the new version of the JDBC compliance test suite checks for this, so the newer versions of the driver enforce it.