How to Connect to a RAC Database from a Java Application That Takes a HOST:PORT:SID Argument
(Doc ID 391015.1)
Last updated on FEBRUARY 01, 2022
Applies to:JDBC - Version 10.2.0 and later
Information in this document applies to any platform.
A java application takes HOST:PORT:SID as one of it's arguments and connects to a single instance database as follows.
java <PROGRAM> <HOSTNAME>:<PORT>:<SID> <USERNAME> <PASSWORD>
How can the java application connect to a RAC database?
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