Re: absolute(int rownumber) method not implemented as per Sun guidlines

Peter Mount <peter@retep.org.uk>

From: Peter Mount <peter@retep.org.uk>
To: rahul@envivio.com, pgsql-bugs@postgresql.org, pgsql-bugs@postgresql.org
Date: 2001-03-12T16:07:08Z
Lists: pgsql-bugs
At 13:22 08/03/01 -0500, pgsql-bugs@postgresql.org wrote:
>Rahul Tyagi (rahul@envivio.com) reports a bug with a severity of 2
>The lower the number the more severe it is.
>
>Short Description
>absolute(int rownumber) method not implemented as per Sun guidlines
>
>Long Description
>absolute(int rownumber) method of ResultSet interface (in postgresql.jar) 
>is not defined as per the Sun JDK1.3 definition.
>
>As per postgresql.jar rownumber are zero indexed means if i will call 
>rs.absolute(0) then it will move cursor to row 1.

Nope, it throws an SQLException with the text "Cannot move to index of 0".

>As per Sun JDK specs ,if i will call rs.absolute(1) then it should move 
>cursor to row 1.

It currently moves to row 1 (internal row 0).

What version of the driver are you using?

Peter