Subject Re: ResultSet.next()
Author Torsten Welches
--- In IB-Java@egroups.com, "Terry Child" <tmchild@g...> wrote:
> 1. Does interclient's behavior conform to the JDBC spec with
regards to repeated
> calls to ResultSet.next()? I've looked at the Javadocs but it's
ambiguous as to
> what happens. Other JDBC drivers seem to return false again.

The JDBC specification does not say anything about repeated
ResultSet.next() past the last row. It's up to the implementation.
http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec/jdbc-spec.frame.html

Reading the Javadocs I, too, would expect to get "false" again rather
then a SQLException, but yes, it's not that clear. The drivers I've
worked with so far (DB2Connect and Oracle Class 3) do return "false".

Torsten

P.S. You might want to file a bug report and let R&D decide what do
do with it.