Use Cursors with Result Sets

jConnect implements many JDBC 2.0 cursor and update methods.

These methods make it easier to use cursors and to update rows in a table based on values in a result set.

In JDBC 2.0, ResultSets are characterized by their type and their concurrency. The type and concurrency values are part of the java.sql.ResultSet interface and are described in its Javadoc.

When requested, jConnect opens server-side scrollable cursors when the server is Adaptive Server 15.0 or later.

java.sql.ResultSet Options Available in jConnect

Concurrency

Type

TYPE_FORWARD_ ONLY

TYPE_SCROLL_ INSENSITIVE

TYPE_SCROLL_ SENSITIVE

CONCUR_READ_ONLY

Supported

Supported

Not available

CONCUR_UPDATABLE

Supported

Not available

Not available

Related concepts
JDBC 2.0 Methods for Positioned Updates and Deletes
Related tasks
Creating and Using a Cursor
Related reference
Cursor with PreparedStatement Object
TYPE_SCROLL_INSENSITIVE Result Sets in jConnect
JDBC 1.x Methods for Positioned Updates and Deletes