This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.
We want to use format like below to connect to Oracle RAC.
I've tried this format. But, it won't work unless I forced to use one of the instances.
e.g. we have 3 node RAC. It works only if I use "jdbc:oracle:thin:@rac-scan-12c.ouhk.edu.hk:1521:S90UAT22" <- note the last digit refers to a specific RAC node.
Service Name is alias to an INSTANCE (or many instances). The main purpose of this is if you are running a cluster, the client can say "connect me to SALES.abc.com", the DBA can on the fly change the number of instances which are available to SALES.abc.com requests, or even move SALES.abc.com to a completely different database without the client needing to change any settings.