Re: using postgresql-8.0-311.jdbc2.jar

Поиск
Список
Период
Сортировка
От sarves
Тема Re: using postgresql-8.0-311.jdbc2.jar
Дата
Msg-id 42C3791D.8060602@midascomm.com
обсуждение исходный текст
Ответ на Re: using postgresql-8.0-311.jdbc2.jar  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Dear Oliver & Roland,

          You guys are rite. I got rid fo the dependency on getFetchSize() and my program works fine now. Thanks for the timely help.

sarvesh

Oliver Jowett wrote:
Roland Walter wrote:
 
As far as I know, getFetchSize() will return 0 in all cases.
It is not possible to use this for getting the count of
selected rows. Remove the if (num>0) below.   
Yes, this'll be the cause: older driver versions incorrectly returned
the resultset size from getFetchSize(), but newer drivers follow the
spec and return whatever you set via setFetchSize(), default 0.

-O
 

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: XA support
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: XA support