10.2.1 List of the methods in the DataSource interface
The following table lists and describes the methods in the DataSource interface that are supported by HADB.
No. |
Method of the DataSource interface |
Function |
---|---|---|
1 |
Connects to the HADB server. |
|
2 |
||
3 |
Acquires the value set by the setLoginTimeout method (the timeout time for connections to the HADB server). |
|
4 |
Acquires the DataSource object's log writer. |
|
5 |
Specifies a timeout value (in seconds) for HADB server connection processing. |
|
6 |
Sets a log writer for the DataSource object. |
The package and class names required in order to use the DataSource interface are as follows:
-
Package name: com.hitachi.hadb.jdbc
-
Class name: AdbDataSource