Consultor Eletrônico



Kbase 20750: Scrolling Result Sets and JDK 1.1.x
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/04/2002
Status: Unverified

SYMPTOM(s):

Errors compiling JAVA code that uses scrolling result sets.

Using JDK 1.1.x

No variable TYPE_SCROLL_INSENSITIVE defined in
interface java.sql.ResultSet.
No variable CONCUR_UPDATABLE defined in interface
java.sql.ResultSet.
Method last() not found in interface
java.sql.ResultSet.
Method getRow() not found in interface
java.sql.ResultSet.
Method first() not found in interface
java.sql.ResultSet.
Method last() not found in interface
java.sql.ResultSet.
Method beforeFirst() not found in interface
java.sql.ResultSet.
Method afterLast() not found in interface
java.sql.ResultSet.
Method previous() not found in interface
java.sql.ResultSet.

CAUSE:

Scrolling result sets are available only in the JDBC 2 implementation that is included with JDK 1.2 or higher.

FIX:

Download the JDK 1.2 to be able to compile the code. Set the CLASSPATH to find the newer classes and recompile the code.