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

[24 May 2003 18:39] Sérgio Sousa
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.getString(1); will return the value of the first row of the ResultSet
[4 Jun 2003 16: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/