Hitachi

Hitachi Advanced Database Application Development Guide


10.5.10 getHostName()

Organization of this subsection

(1) Function

This method acquires the host name of the HADB server that was specified by the setHostName method.

(2) Format

public synchronized String getHostName() throws SQLException

(3) Arguments

None.

(4) Return value

This method returns the host name of the HADB server that was specified by the setHostName method. If the setHostName method has not been executed, the method returns null.

(5) Exceptions

None.