8.6.155 supportsResultSetType(int type)
- Organization of this subsection
(1) Function
This method acquires a value indicating whether a specified result set type is supported.
(2) Format
public synchronized boolean supportsResultSetType(int type) throws SQLException
(3) Arguments
- int type
-
Specifies a result set type.
(4) Return value
- boolean type:
-
The method returns one of the following values:
true: Supported
false: Not supported
If ResultSet.TYPE_FORWARD_ONLY or ResultSet.TYPE_SCROLL_INSENSITIVE is specified for type, the method returns true; otherwise, the method returns false.
(5) Exceptions
If this Connection object is closed before this method is executed, the JDBC driver throws an SQLException.