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

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: rahul(at)envivio(dot)com, pgsql-bugs(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: absolute(int rownumber) method not implemented as per Sun guidlines
Date: 2001-03-12 16:07:08
Message-ID: 5.0.2.1.0.20010312160529.0215f950@mail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

At 13:22 08/03/01 -0500, pgsql-bugs(at)postgresql(dot)org wrote:
>Rahul Tyagi (rahul(at)envivio(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2001-03-12 22:10:45 Re: referential integrity problem upon deletion and reinsertion
Previous Message Peter Mount 2001-03-12 16:03:59 Re: createStatement(int,int) of interface Statement not implemented