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

From: sarves <sharvesh(at)midascomm(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>, Roland Walter <rwa(at)mosaic-ag(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: using postgresql-8.0-311.jdbc2.jar
Date: 2005-06-30 04:46:21
Message-ID: 42C3791D.8060602@midascomm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Heikki Linnakangas 2005-06-30 18:15:54 Re: XA support
Previous Message Oliver Jowett 2005-06-29 22:25:13 Re: XA support