rs.previous()? rs.last() do they work??
843854Dec 9 2003 — edited Dec 29 2003Hi there,
i am using JSP and write my own java code inside it. So i make the connection with the statements the resultsets etc that work just fine with no compilation errors BUT:
As we know to get the next row for the recordset and manipulate its data the way you want you just use:
rs.next(); // where rs means a ResultSet object
JDBC also supports the rs.previous(), rs.first(), rs.last() and so on if you check the new API with the JDK1.4.2
I am using that JDK 1.4.2 and the DB is Oracle 8.0.5 (not with the "i"). So when i try to execute a ( rs.previous() ) statement i get an error from Tomcat 4.1.12. Classes, charsets and so on and on are copied to the appropriate directories and work just fine with data until i try to use the rs.previous like statements. Anybody what could be wrong? Just to try searching at least.