How to Ensure that JDBC Queries are Always Timed Out
(Doc ID 559564.1)
Last updated on OCTOBER 17, 2022
Applies to:
JDBC - Version 10.1.0.5 and laterUniversal Connection Pool - Version 11.1.0.7.0 and later
Information in this document applies to any platform.
Goal
When using the Oracle JDBC driver with the goal of ensuring that no JDBC query can last
longer than a specified timeout period under any circumstances, including if a database server goes down, then can this goal be achieved via the following steps:
- Set TimeToLiveTimeout to m seconds
- Set PropertyCheckInterval to n seconds
where the goal is that no query will last longer than m + n seconds?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |