mapping jdbc's ResultSet to Java Collections framework