Populate Beans from ResultSet.
Missing close connection added.