Attached is a patch against the CVS repository that fixes the ResultSet absolute() problem.
Barry Lind <barry@xythos.com>
Attached is a patch against the CVS repository that fixes the ResultSet absolute() problem. There's also a little fix for the getRow() method. While fixing absolute(), I noticed that getRow() wasn't quite following the spec: it wasn't returning 0 when the ResultSet wasn't positioned on a row. I've started a ResultSet test case and included it as well. Liam Stewart
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java | modified | +17 −8 |
| src/interfaces/jdbc/org/postgresql/test/jdbc2/ResultSetTest.java | added | +66 −0 |
| src/interfaces/jdbc/org/postgresql/test/JDBC2Tests.java | modified | +1 −0 |