Added support for Java 7 ResultSet interface.