From: | Prasanth <dbadmin(at)nqadmin(dot)com> |
---|---|
To: | Kris Jurka <books(at)ejurka(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException |
Date: | 2005-03-23 20:13:55 |
Message-ID: | 4241CE03.7020300@nqadmin.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
> 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
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2005-03-23 20:21:46 | Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException |
Previous Message | Kris Jurka | 2005-03-23 20:00:58 | Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException |