Nmber of rows in a ResultSet

Поиск
Список
Период
Сортировка
От Xavier Bugaud
Тема Nmber of rows in a ResultSet
Дата
Msg-id 94BCF3512BFBD711B79D004005420B1F03F6D7@PMSERVER
обсуждение исходный текст
Ответы Re: Nmber of rows in a ResultSet
Список pgsql-jdbc
Hi all,

JDBC does not allow to directly retrieve the number of rows in a
ResultSet.
However, in old Postgres JDBC drivers (pgjdbc2.jar), the number of rows
contained in a ResultSet could be obtained by calling getFetchSize().

In the last JDBC drivers, is there a means to get the number of rows
directly (without using 'SELECT COUNT(*)' or 'rs.last();rs.getrow();') ?

Thank you in advance.

Regards
--
Xavier Bugaud
www.gloptv.com


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Antonio Gallardo"
Дата:
Сообщение: [BUG] - Invalid UNICODE character sequence found (0xc000)
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: PreparedStatement parameters and mutable objects