ResultSet.getCursorName

ResultSet.getCursorName

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract String getCursorName() throws SQLException
Returns
the ResultSet's SQL cursor name
Description
Get the name of the SQL cursor used by this ResultSet.

In SQL, a result table is retrieved through a cursor that is named. The current row of a result can be updated or deleted using a positioned update/delete statement that references the cursor name.

JDBC supports this SQL feature by providing the name of the SQL cursor used by a ResultSet. The current row of a ResultSet is also the current row of this SQL cursor.

Note: If positioned update is not supported a SQLException is thrown

Exceptions
SQLException if a database-access error occurs.