DB2 Version 9.7 for Linux, UNIX, and Windows

sqlj.runtime.ForUpdate interface

SQLJ implements the sqlj.runtime.ForUpdate interface in SQLJ programs that contain an iterator declaration clause with implements sqlj.runtime.ForUpdate.

An SQLJ program that does positioned UPDATE or DELETE operations (UPDATE…WHERE CURRENT OF or DELETE…WHERE CURRENT OF) must include an iterator declaration clause with implements sqlj.runtime.ForUpdate.

Methods

getCursorName
Format:
public abstract String getCursorName() throws SQLException

This method is used by code that is generated by the SQLJ translator. It is not intended for direct use by application programs.