From: Kris Jurka <books@ejurka.com>
To: Prasanth <dbadmin@nqadmin.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException
Date: Wed, 23 Mar 2005 15:00:58 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0503231449040.4032@leary.csoft.net> (raw)
In-Reply-To: <4241C1EC.8090906@nqadmin.com>
References: <4241C1EC.8090906@nqadmin.com>
On Wed, 23 Mar 2005, Prasanth wrote:
> Below is a small sample code that I tried out and the results are a little
> surprising to me. Is this expected behavior?
No, that's a bug. moveToCurrentRow was not correctly handling the
case where the current row is off the end of the ResultSet. I've fixed it
in 8.0 and 8.1dev.
> I am using jdk1.5.0 with pg74.215.jdbc3.jar and PostgreSQL 7.4.7
Your stacktrace shows you are using the 8.0 driver.
I've put up new versions of the 8.0 jar files here:
http://www.ejurka.com/pgsql/jars/prasanth
Kris Jurka
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: books@ejurka.com, dbadmin@nqadmin.com
Subject: Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException
In-Reply-To: <Pine.BSO.4.56.0503231449040.4032@leary.csoft.net>
References: <4241C1EC.8090906@nqadmin.com> <Pine.BSO.4.56.0503231449040.4032@leary.csoft.net>
* 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