Scalable Database Server, HiRDB Version 8 UAP Development Guide

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

16.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).

(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) Functional detail

This function sets whether or not multiple parameter sets are to be processed at one time during database updating using the ? parameter.

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.

(f) Exception that occurs

None.

(g) Notes

For details about how to process multiple lines of ? parameters in batch mode, see Table 16-3 Information to be specified for Properties info and 16.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.