Hitachi

Hitachi Advanced Database Application Development Guide


8.6.83 getURL()

Organization of this subsection

(1) Function

This method acquires the URL that specifies information about the HADB server at the connection destination.

(2) Format

public synchronized String getURL() throws SQLException

(3) Arguments

None.

(4) Return value

The method returns a String object.

If there is no URL that specifies information about the connection destination, the method returns null.

(5) Exceptions

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