IC87309: RESULTSET.GETROW() MAY NOT RETURN 0 IN SOME CASES WHERE IT SHOULD.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • If you have code similar to the following running a query
    against an empty table (so the result set would be empty):
    
    stmt =
    con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CO
    NCUR_UPDATABLE);
    
    ResultSet r = stmt.executeQuery("Select id from test1");
    
    while (r.next())
    
    {
    
    String str1 = r.getString(1);
    
    }
    
    int num = r.getRow();
    
    
    The value put in "num" is 1 while it should be 0.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All JDBC users will be affected                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to fix pack for 3.70.JC7 when it is available.        *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC87309

  • Reported component name

    IBM JDBC

  • Reported component ID

    5724I3501

  • Reported release

    370

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-17

  • Closed date

    2014-02-26

  • Last modified date

    2014-02-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R370 PSN

       UP

  • R370 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Informix Tools
Informix JDBC

Software version:

370

Reference #:

IC87309

Modified date:

2014-02-26

Translate my page

Machine Translation

Content navigation