8.3.34 setCursorName(String name)
- Organization of this subsection
(1) Function
This method specifies the SQL cursor name to be used by the execute method of the next Statement object.
(2) Format
public synchronized void setCursorName(String name) throws SQLException
(3) Arguments
- String name
-
Specifies an SQL cursor name.
(4) Return value
None.
(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.