SQL/MX Programming Manual for Java

SQLJ Runtime Package
HP NonStop SQL/MX Programming Manual for Java523726-003
B-13
ExecutionContext Constructor Details
ExecutionContext Constructor Details
ExecutionContext()
Creates an ExecutionContext object, which you can associate with specific SQL
operations. For more information, see Declaring and Instantiating an Execution
Context Object on page 3-20.
ExecutionContext Method Details
cancel()
Causes one thread to cancel an SQL operation being executed by another thread
within the specified execution context instance.
Throws
SQLException (if unable to cancel an SQL operation)
getMaxFieldSize()
Returns the maximum Java field size, in bytes, returned for any column or output
argument (OUT and INOUT parameters) of SQL operations using the specified
ExecutionContext object. When the size limit is exceeded, excess data is
discarded.
By default, the maximum Java field size is zero (unlimited).
Returns
The size limit of the current, maximum Java field size, with 0 (zero) representing
unlimited
public ExecutionContext()
public void cancel()
throws SQLException
public synchronized int getMaxFieldSize()