Hitachi

Hitachi Advanced Database Application Development Guide


8.6.23 getDatabaseProductVersion()

Organization of this subsection

(1) Function

This method acquires the version of the connected database (HADB server).

(2) Format

public synchronized String getDatabaseProductVersion() throws SQLException

(3) Arguments

None.

(4) Return value

The method returns a String object.

The method returns the HADB server's version in the format "vv-rr" (example: "01-00").

(5) Exceptions

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