According to the Javadocs for ResultSet,
A ResultSet object is automatically closed when the Statement object that generated it is closed, re-executed, or used to retrieve the next result from a sequence of multiple results.
Why, then, do I keep seeing examples like this?
Isn't closing the ResultSet superfluous, since the Statement is being closed right afterwards?