Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

17.11.21 setBlockUpdate

(a) Function

Sets whether or not multiple parameter sets are to be processed at one time during database updating using the ? parameter (INSERT, UPDATE, and DELETE).

Whether or not the parameter sets are actually processed at one time depends on the method for using the facilities using arrays. For details about how to use the facilities using arrays, see 4.8 Facilities using arrays.

(b) Format
 
public void setBlockUpdate(boolean Mode)
 
(c) Argument

boolean Mode
Specifies whether or not multiple parameter sets are to be processed at one time. When this information is omitted, false is assumed.
true
Processes multiple parameter sets at one time.
false
Processes one parameter set at a time.
(d) Return value

None.

(e) Exception that occurs

None.

(f) Notes

For details about how to process multiple lines of ? parameters in batch mode, see Table 17-3 Information to be specified for Properties info and 17.3.2 Batch updating.

This function can also be specified by the HiRDB_for_Java_BLOCK_UPDATE system property. If the setBlockUpdate method has been set, the HiRDB_for_Java_BLOCK_UPDATE system property setting is ignored.