This subsection describes the timeout settings in DB Connector.
You can set up the following three types of timeouts with DB Connector:
- Timeout in establishing a physical connection
This timeout occurs when a physical connection is established. You can set the timeout in HiRDB, Oracle, and SQL Server.
The operation executed when this timeout occurs is as follows:
- An exception is reported to the user application.
- Timeout in the request for connection during connection depletion
This timeout occurs when waiting for a connection request during connection depletion.
The operation executed when this timeout occurs is as follows:
- An exception (java.sql.SQLException) is reported to the user application.
- Timeout in detecting a connection error
This timeout occurs when a connection error is detected. This timeout occurs when an error is detected during a connection request.
The operation executed when this timeout occurs is as follows:
- The message KDJE48602-W indicating a timeout is output. The connection in which the error was detected is destroyed and a new connection is returned to the user.