Re: ResultSet.relative(0) throws "Cannot move to index of 0" - Mailing list pgsql-jdbc

From David Gagnon
Subject Re: ResultSet.relative(0) throws "Cannot move to index of 0"
Date
Msg-id 42640362.8080103@siunik.com
Whole thread Raw
In response to Re: ResultSet.relative(0) throws "Cannot move to index of 0"  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Thanks!

      I also try a rs.relative(-1) when I was positionned before the
first row.  I was not eable to get my result after that.  I'm note sure
about this one though.. And it's not easy to test it agains ... I you
don't know about this one .. it's either a mistake I made myself or
another bug.  If you want I cant test it when I have a chance...

Let me know!
Thanks again
/David


Kris Jurka wrote:

>On Mon, 18 Apr 2005, David Gagnon wrote:
>
>
>
>>  I just ran into what i think is a compliance problem.  I can't call
>>ResultSet.relative(0) without getting in exception.  As stated in the
>>javadoc it's should just do NOTHING.
>>
>>
>
>This is a bug and is only present in the 7.4 tree.  I've fixed it there.
>I'll gather up a couple more 7.4 changes and put out a new 7.4 release in
>a couple of days.  For now I can offer you
>http://www.ejurka.com/pgsql/jars/dgagnon/pg74-dg-jdbc3.jar as I don't
>happen to have other compilers available.
>
>Kris Jurka
>
>
>


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: ResultSet.relative(0) throws "Cannot move to index of 0"
Next
From: Oliver Jowett
Date:
Subject: Re: implementing asynchronous notifications