Bug #496 Method previous in ResultSet
Submitted: 24 May 2003 20:39 Modified: 4 Jun 2003 18:22
Reporter: Sérgio Sousa
Status: Closed
Category:Connector/J Severity:S2 (Serious)
Version:3-0-8 OS:Microsoft Windows (Win 2k)
Assigned to: Mark Matthews Target Version:

[24 May 2003 20:39] Sérgio Sousa
Description:
The previous method doesn't return to beforeFirst when we call it and doesn't return an
exception.

How to repeat:
rs = st.executeQuery(...);

// Supose that the query return n results
rs.next();

rs.previous();

rs.getString(1); will return the value of the first row of the ResultSet
[4 Jun 2003 18:22] Mark Matthews
Thanks for your bug report. This has now been fixed, and will show up in 3.0.9. If you
need a fix sooner, you can check out the nightly snapshot build (after 00:00 GMT on June
5th) at http://mmmysql.sourceforge.net/snapshots/stable/