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 11.2.0.4.0 and later
Information in this document applies to any platform.

Goal

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?

 

Solution

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
Goal
Solution


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