Scalable Database Server, HiRDB Version 8 UAP Development Guide

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

16.11.10 getPassword

(a) Function

Acquires a password.

(b) Format
 
public String getPassword()
 
(c) Argument

None.

(d) Return value

String
This is a password. If none is set, null is returned.
(e) Functional detail

Returns the password specified by the setPassword method.

If the setPassword method is used to set a password, and if a DB connection method (DataSource.getConnection method, ConnectionPoolDataSource.getPooledConnection method, or XADataSource.getXAConnection method) that has an authorization identifier and a password set as arguments is also called, the password setting specified by the DB connection method is returned.

(f) Exception that occurs

None.