8.3.15 getFetchDirection()
- Organization of this subsection
(1) Function
This method acquires the default fetch direction for a result set that is created from this Statement object.
(2) Format
public synchronized int getFetchDirection() throws SQLException
(3) Arguments
None.
(4) Return value
The method always returns ResultSet.FETCH_FORWARD.
(5) Exceptions
The JDBC driver throws an SQLException in the following cases:
-
The Statement object is closed.
-
The Connection object that created the Statement object is closed.