From: sarves <sharvesh@midascomm.com>
To: Oliver Jowett <oliver@opencloud.com>
To: Roland Walter <rwa@mosaic-ag.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: using postgresql-8.0-311.jdbc2.jar
Date: Thu, 30 Jun 2005 10:16:21 +0530
Message-ID: <42C3791D.8060602@midascomm.com> (raw)
In-Reply-To: <42C2B632.9020909@opencloud.com>
References: <42C25016.1090808@midascomm.com>
<42C2B1BE.9080802@mosaic-ag.com>
<42C2B632.9020909@opencloud.com>
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
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: sharvesh@midascomm.com, oliver@opencloud.com, rwa@mosaic-ag.com
Subject: Re: using postgresql-8.0-311.jdbc2.jar
In-Reply-To: <42C3791D.8060602@midascomm.com>
References: <42C25016.1090808@midascomm.com> <42C2B1BE.9080802@mosaic-ag.com> <42C2B632.9020909@opencloud.com> <42C3791D.8060602@midascomm.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox