Hitachi

Hitachi Advanced Database Application Development Guide


8.5.70 setFetchDirection(int direction)

Organization of this subsection

(1) Function

This method specifies the fetch direction for the ResultSet object.

(2) Format

public synchronized void setFetchDirection(int direction) throws SQLException

(3) Arguments

int direction

Specifies the fetch direction.

Only ResultSet.FETCH_FORWARD can be specified.

(4) Return value

None.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases: