Hitachi

Hitachi Advanced Database Application Development Guide


8.5.59 getType()

Organization of this subsection

(1) Function

This method returns the ResultSet object's type.

(2) Format

public synchronized int getType() throws SQLException

(3) Arguments

None.

(4) Return value

This method returns one of the following values:

ResultSet.TYPE_FORWARD_ONLY

The only direction the cursor can move is forward.

ResultSet.TYPE_SCROLL_INSENSITIVE

The cursor can be scrolled, but changes to the underlying values are not reflected in the result set.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases: