Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException
Дата
Msg-id Pine.BSO.4.56.0503231449040.4032@leary.csoft.net
обсуждение исходный текст
Ответ на moveToCurrentRow causes ArrayIndexOutOfBoundsException  (Prasanth <dbadmin@nqadmin.com>)
Ответы Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException  (Prasanth <dbadmin@nqadmin.com>)
Список pgsql-jdbc

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


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Prasanth
Дата:
Сообщение: moveToCurrentRow causes ArrayIndexOutOfBoundsException
Следующее
От: Prasanth
Дата:
Сообщение: Re: moveToCurrentRow causes ArrayIndexOutOfBoundsException