Re: Bug in ResultSet.moveToCurrentRow

From: Kris Jurka <books(at)ejurka(dot)com>
To: Darin Ohashi <DOhashi(at)maplesoft(dot)com>
Cc: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Bug in ResultSet.moveToCurrentRow
Date: 2003-06-29 07:25:15
Message-ID: Pine.LNX.4.33.0306290324170.15836-200000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, 17 Jun 2003, Darin Ohashi wrote:

>
> I believe there is a bug in ResultSet.moveToCurrentRow with pgsql 7.3.3 and
> pgsql-jdbc 7.3.3 build 110. If the current row of the result set is the
> beforeFirst() row, call moveToInsertRow() and then moveToCurrentRow(). The
> moveToCurrentRow throws an ArrayIndexOutOfBoundsException.
>

This patch against cvs fixes the problem. Thanks for the report and
complete example.

Kris Jurka

Attachment Content-Type Size
moveToCurrentRow.diff text/plain 1.3 KB

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kallol Nandi 2003-06-29 07:33:05 Re: Most Performant JDBC Driver?
Previous Message Kallol Nandi 2003-06-29 07:21:24 Re: PostgreSQL JDBC Driver