My Oracle Support Banner

How to Timeout a Connection Attempt to a Database From JDBC (Doc ID 790757.1)

Last updated on NOVEMBER 09, 2021

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


Attempts to connect to an Oracle Database take a long time.

How can you cancel this operation instead of making the JDBC client program wait endlessly?


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.