From: Prasanth <dbadmin@nqadmin.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException
Date: Wed, 23 Mar 2005 14:13:55 -0600
Message-ID: <4241CE03.7020300@nqadmin.com> (raw)
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>
> Your stacktrace shows you are using the 8.0 driver.
Sorry about that had two jars in my class path.
The other one was postgresql-8.0.309.jdbc3.jar
> 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.
If I am using 8.0 jar then wasn't the fix there?
Any how I tried with the new jar you have provided and seems its working now.
Thank you very much for your help.
-Prasanth.
Kris Jurka wrote:
>
> 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: dbadmin@nqadmin.com, books@ejurka.com
Subject: Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException
In-Reply-To: <4241CE03.7020300@nqadmin.com>
References: <4241C1EC.8090906@nqadmin.com> <Pine.BSO.4.56.0503231449040.4032@leary.csoft.net> <4241CE03.7020300@nqadmin.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