My Oracle Support Banner

How To Specify Two Different Servers In The JDBC Connection String? (Doc ID 2571498.1)

Last updated on JULY 21, 2023

Applies to:

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


There is a JDBC client connecting to a database server using the following connect string:

However,  a standby database has been added and there is the need for the JDBC thin client to be able to use either the primary or standby database. How to specify the two servers in the connect string above?



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.