What happens to a ResultSet when statement closed

Поиск
Список
Период
Сортировка
От Warren Little
Тема What happens to a ResultSet when statement closed
Дата
Msg-id 1073945503.8050.36.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: What happens to a ResultSet when statement closed
Re: What happens to a ResultSet when statement closed
Список 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 по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: I'm losing the data from a ResultSet
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: What happens to a ResultSet when statement closed