SQL/MX Programming Manual for Java
SQLJ Runtime Package
HP NonStop SQL/MX Programming Manual for Java—523726-003
B-15
ExecutionContext Method Details
setMaxFieldSize(int)
Sets the maximum Java field size, in bytes, to be 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). For portability, use values
greater than 256.
Parameters
•
max (an integer representing the maximum Java field size, with 0 (zero)
representing unlimited)
setMaxRows(int)
Sets the maximum number of rows to be returned by a query using the specified
ExecutionContext object. When the limit is exceeded, excess rows are dropped. By
default, the number of rows is zero.
Parameters
•
max (an integer representing the number of rows, with 0 (zero) representing
unlimited)
public synchronized void setMaxFieldSize(int max)
public synchronized void setMaxRows(int max)