Hitachi

Hitachi Advanced Database Application Development Guide


8.1.1 List of the methods in the Driver interface

Organization of this subsection

(1) Main functions of the Driver interface

The Driver interface provides the following main functions:

(2) Methods in the Driver interface that are supported by HADB

The following table lists and describes the methods in the Driver interface that are supported by HADB.

Table 8‒1: Methods in the Driver interface

No.

Method in the Driver interface

Function

1

acceptsURL(String url)

Checks whether a connection can be established with the HADB server by means of the connection information specified by the URL for connection.

2

connect(String url, Properties info)

Connects to the HADB server according to the connection information.

3

getMajorVersion()

Acquires the JDBC driver's major version.

4

getMinorVersion()

Acquires the JDBC driver's minor version.

5

getPropertyInfo(String url, Properties info)

Acquires information about the JDBC driver's valid properties.

6

jdbcCompliant()

Reports whether the JDBC driver is JDBC CompliantTM.

Important

HADB does not support methods that are not listed in this table. If an unsupported method is executed, an SQLException is thrown.

(3) Required package name and class name

The package and class names required in order to use the Driver interface are as follows: