Method to close a lot of closeable objects
A ResultSet is closed automatically when the Statement that created it is closed.
A Statement is closed automatically when the Connection that created it is closed.

If you want to close everything, just close the Connection.