Hitachi

Hitachi Advanced Database Application Development Guide


8.6.84 getUserName()

Organization of this subsection

(1) Function

This method acquires the authorization identifier used to connect to the HADB server.

(2) Format

public synchronized String getUserName() throws SQLException

(3) Arguments

None.

(4) Return value

The method returns a String object.

(5) Exceptions

If this Connection object is closed before this method is executed, the JDBC driver throws an SQLException.