Scalable Database Server, HiRDB Version 8 UAP Development Guide

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

14.2.2 Connection properties

Three Initialization properties are used for connection. These three properties are optional.

Organization of this subsection
(1) DBPROP_INIT_DATASOURCE
(2) DBPROP_AUTH_USERID
(3) DBPROP_AUTH_PASSWORD

(1) DBPROP_INIT_DATASOURCE

This is the client's environment variable group name. If this property is omitted, the system assumes HiRDB.INI. For details about the client's environment variable group, see 6.7 Registering an environment variable group.

(2) DBPROP_AUTH_USERID

This is the authorization identifier used for connection.

If this property is omitted, the authorization identifier is acquired from PDUSER of the applicable client environment variables group. If there is no DBPROP_INIT_DATASOURCE specification, the authorization identifier is acquired from HiRDB.INI.

(3) DBPROP_AUTH_PASSWORD

This is the password to be used for connection. If this property is omitted, but DBPROP_INIT_DATASOURCE is specified, the system obtains the password from PDUSER in the corresponding client environment variable group. If DBPROP_INIT_DATASOURCE is also omitted, the system obtains the password from HiRDB.INI.