Re: No. of rows on result set

Поиск
Список
Период
Сортировка
От Dianne Yumul
Тема Re: No. of rows on result set
Дата
Msg-id f146d61ff955f74f02aea434c5d33a1c@wellsgaming.com
обсуждение исходный текст
Ответ на Re: No. of rows on result set  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
On Jul 14, 2005, at 5:10 PM, Oliver Jowett wrote:
> If you need to use last(), then TYPE_SCROLL_INSENSITIVE is the way to
> go.
>
> Note that this means the driver will retrieve the entire resultset in
> one go rather than possibly using cursors (if you've set fetchsize and
> have autocommit off) -- you might have problems with big resultsets. If
> so I'd go with COUNT.

Ok, looking at the apps, the query either returns one row or a large
resultset. But using TYPE_SCROLL_INSENSITIVE should not be a problem
because fetchsize is not set and autocommit is not off.

Thank you so much for the great help.

Dianne


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Timezone conversion woes
Следующее
От: Christian Cryder
Дата:
Сообщение: Re: Timezone conversion woes