How to Timeout a Connection Attempt to a Database From JDBC

(Doc ID 790757.1)

Last updated on DECEMBER 01, 2017

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?


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