Nonstop Database, HiRDB Version 9 UAP Development Guide
Sets the authorization identifier.
public void setUser (String user)
None.
Sets the authorization identifier.
You can specify the authorization identifier using an argument of the DataSource.getConnection method, ConnectionPoolDataSource.getPooledConnection method, or XADataSource.getXAConnection method (which are referred to generically as the DB connection methods).
If this method is used to set an authorization identifier, and if a DB connection method that has an authorization identifier and a password set as arguments is also called, the authorization identifier setting specified by the DB connection method takes precedence.
For details about specifying an authorization identifier, see Table 17-2 Arguments of the getConnection method.
None.
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.