Scalable Database Server, HiRDB Version 8 UAP Development Guide

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

16.10.1 Setting the array facility

Organization of this subsection
(1) Overview
(2) Setting method

(1) Overview

If you set the HiRDB_for_Java_BLOCK_UPDATE system property during program execution, you can specify whether or not to process multiple parameter sets at one time during database updating using the ? parameter (INSERT, UPDATE, or DELETE).

(2) Setting method

During program execution, use the -D option of the java command to set the HiRDB_for_Java_BLOCK_UPDATE system property.

(a) Function

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

(b) Format
 
java -D<name>=<value> class-name
 
(c) Description

name
HiRDB_for_Java_BLOCK_UPDATE

value
TRUE: Processes multiple parameter sets at one time.
FALSE: Processes one parameter set at a time.
Other: Processes one parameter set at a time.
(d) 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.

(e) Notes
(f) Example

The following shows an example of setting the HiRDB_for_Java_BLOCK_UPDATE system property:

 
java -DHiRDB_for_Java_BLOCK_UPDATE=TRUE TestUP