Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

17.4.1 Driver interface

Organization of this subsection
(1) Overview
(2) Methods
(3) Package and class names

(1) Overview

The Driver interface provides the following principal functions:

(2) Methods

Table 17-7 lists the methods of the Driver interface. The interface does not support methods that are not listed in the table. If an unsupported method is specified, the interface throws an SQLException.

Table 17-7 Driver interface methods

Method Remarks
acceptsURL(String url) --
connect(String url,Properties info) For details about the specification values for the String url and Properties info arguments of this method, see 17.2.2(1) URL syntax and 17.2.2(2) User properties.
This method uses the value returned by the getLoginTimeout method of the DriverManager class as the maximum wait time for communication during connection with the HiRDB server. If the getLoginTimeout method returns 0, the value specified for the PDCONNECTWAITTIME client environment definition becomes the maximum wait time. The wait time can be specified in the setLoginTimeout method of the DriverManager class.
If the getLoginTimeout method of the DriverManager class returns a value outside the range 0-300, this method throws an SQLException.
getMajorVersion() --
getMinorVersion() --
getPropertyInfo(String url,Properties info) --
jdbcCompliant() --

Legend:
--: None.

(3) Package and class names

The names of the package and class for installing this interface are as follows:

Package name: JP.co.Hitachi.soft.HiRDB.JDBC

Class name: HiRDBDriver