From: Oliver Jowett <oliver@opencloud.com>
To: Roland Walter <rwa@mosaic-ag.com>
Cc: sarves <sharvesh@midascomm.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: using postgresql-8.0-311.jdbc2.jar
Date: Thu, 30 Jun 2005 02:54:42 +1200
Message-ID: <42C2B632.9020909@opencloud.com> (raw)
In-Reply-To: <42C2B1BE.9080802@mosaic-ag.com>
References: <42C25016.1090808@midascomm.com>
<42C2B1BE.9080802@mosaic-ag.com>
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: oliver@opencloud.com, rwa@mosaic-ag.com, sharvesh@midascomm.com
Subject: Re: using postgresql-8.0-311.jdbc2.jar
In-Reply-To: <42C2B632.9020909@opencloud.com>
References: <42C25016.1090808@midascomm.com> <42C2B1BE.9080802@mosaic-ag.com> <42C2B632.9020909@opencloud.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