How to Ensure that JDBC Queries are Always Timed Out (Doc ID 559564.1)

Last updated on MARCH 21, 2016

Applies to:

JDBC - Version 10.1.0.5 and later
Universal 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:

where the goal is that no query will last longer than mn seconds?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms