What happens to a ResultSet when statement closed - Mailing list pgsql-jdbc

From Warren Little
Subject What happens to a ResultSet when statement closed
Date
Msg-id 1073945503.8050.36.camel@localhost.localdomain
Whole thread Raw
Responses Re: What happens to a ResultSet when statement closed
Re: What happens to a ResultSet when statement closed
List pgsql-jdbc
Consider the following code
....
ResultSet r = statement.executeQuery();
statement.close();
connection.close();

What happens to the ResultSet r?
What happens if I only close the statement, but continue to use
the connection?

--
Warren Little
Senior Vice President
Secondary Marketing
Security Lending Wholesale, LC
www.securitylending.com
Tel: 866-369-7763
Fax: 866-849-8082

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: I'm losing the data from a ResultSet
Next
From: Kris Jurka
Date:
Subject: Re: What happens to a ResultSet when statement closed