Hitachi

Hitachi Advanced Database Application Development Guide


8.3.14 getConnection()

Organization of this subsection

(1) Function

This method returns the Connection object that created the Statement object.

(2) Format

public synchronized Connection getConnection() throws SQLException

(3) Arguments

None.

(4) Return value

The method returns a Connection object.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases: