Menu

#9 behaviour of ResultSet.absolute()

v5.0.0
open-fixed
Database (1)
5
2004-10-28
2002-06-22
No

The behaviour of the ResultSet.absolute method of the
PostgreSQL database JDBC driver seems to have changed.

In previous versions, it could be called with indexes
from 0 to n, the actual driver complains if called with
index 0:
java.sql.SQLException: Cannot move to index of 0

What is the correct behaviour according to the JDBC
standard?

Discussion

  • Joachim Gabler

    Joachim Gabler - 2002-06-22
    • assigned_to: nobody --> jgabler
    • status: open --> open-accepted
     
  • Joachim Gabler

    Joachim Gabler - 2002-06-22

    Logged In: YES
    user_id=422119

    Works correctly, if index from 1 to n is used.
    Don't have a JDBC documentation to hand - check it later,
    for now it works.

     
  • Joachim Gabler

    Joachim Gabler - 2004-10-28
    • status: open-accepted --> open-fixed
     
  • Joachim Gabler

    Joachim Gabler - 2004-10-28

    Logged In: YES
    user_id=422119

    index 1...n ok, fixed for V_4_1_9_BRANCH and maintrunk

     

Log in to post a comment.

MongoDB Logo MongoDB