IBM DB2 Manual page 316

Table of Contents

Advertisement

FETCH_REVERSE
FETCH_UNKNOWN
INSENSITIVE
SENSITIVE
Methods
clearWarnings
close
300
Application Programming Guide and Reference for Java
It indicates that the iterator fetches rows in a result table in the forward
direction, from first to last.
Format:
public static final int FETCH_REVERSE
A constant that can be used by the following methods:
v Set by sqlj.runtime.Scrollable.setFetchDirection and
sqlj.runtime.ExecutionContext.setFetchDirection
v Returned by sqlj.runtime.ExecutionContext.getFetchDirection
It indicates that the iterator fetches rows in a result table in the backward
direction, from last to first.
This value is not returned by IBM Informix Dynamic Server.
Format:
public static final int FETCH_UNKNOWN
A constant that can be used by the following methods:
v Set by sqlj.runtime.Scrollable.setFetchDirection and
sqlj.runtime.ExecutionContext.setFetchDirection
v Returned by sqlj.runtime.ExecutionContext.getFetchDirection
It indicates that the iterator fetches rows in a result table in an unknown order.
This value is not returned by IBM Informix Dynamic Server.
Format:
public static final int INSENSITIVE
A constant that can be returned by the getSensitivity method. It indicates that
the iterator is defined as INSENSITIVE.
Format:
public static final int SENSITIVE
A constant that can be returned by the getSensitivity method. It indicates that
the iterator is defined as SENSITIVE.
This value is not returned by IBM Informix Dynamic Server.
Format:
public abstract void clearWarnings() throws SQLException
After clearWarnings is called, getWarnings returns null until a new warning is
reported for the iterator.
Format:
public abstract void close() throws SQLException
Closes the iterator and releases underlying database resources.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents