Sqlj.runtime.executioncontext Class - IBM DB2 Manual

Table of Contents

Advertisement

Parameters:
length
The number of characters that are read from the Reader object.
Related reference
"sqlj.runtime.AsciiStream class" on page 304
"sqlj.runtime.BinaryStream class" on page 305
"sqlj.runtime.StreamWrapper class" on page 314
"sqlj.runtime.UnicodeStream class" on page 316

sqlj.runtime.ExecutionContext class

The sqlj.runtime.ExecutionContext class is defined for execution contexts. An
execution context is used to control the execution of SQL statements.
Variables
ADD_BATCH_COUNT
Format:
public static final int ADD_BATCH_COUNT
A constant that can be returned by the getUpdateCount method. It indicates
that the previous statement was not executed but was added to the existing
statement batch.
AUTO_BATCH
Format:
public static final int AUTO_BATCH
A constant that can be passed to the setBatchLimit method. It indicates that
implicit batch execution should be performed, and that SQLJ should determine
the batch size.
EXEC_BATCH_COUNT
Format:
public static final int EXEC_BATCH_COUNT
A constant that can be returned from the getUpdateCount method. It indicates
that a statement batch was just executed.
EXCEPTION_COUNT
Format:
public static final int EXCEPTION_COUNT
A constant that can be returned from the getUpdateCount method. It indicates
that an exception was thrown before the previous execution completed, or that
no operation has been performed on the execution context object.
NEW_BATCH_COUNT
Format:
public static final int NEW_BATCH_COUNT
A constant that can be returned from the getUpdateCount method. It indicates
that the previous statement was not executed, but was added to a new
statement batch.
QUERY_COUNT
Format:
Chapter 7. JDBC and SQLJ reference information
307

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents