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 later
Universal Connection Pool - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
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?
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