Hitachi

Hitachi Advanced Database Application Development Guide


8.3.36 setFetchDirection(int direction)

Organization of this subsection

(1) Function

This method specifies the fetch direction for a result set that is created from this Statement 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: