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