database - Oracle 11g vs Oracle 12c JDBC connection string -




we have 2 jdbc connection strings, first oracle 11g database:

jdbc:oracle:thin:@[hostname]:[port]:[service_name] 

second 1 oracle 12c database:

jdbc:oracle:thin:@(description=(failover=on)(connect_timeout=5)(transport_connect_timeout=3)(retry_count=3) (address_list=(load_balance=off) (address=(protocol=tcp)(host=<primary_db_hostname>)(port=<db_port>)) (address=(protocol=tcp)(host=<secondary_db_hostname>)(port=<db_port>))) (connect_data=(service_name=<service_name>)))    

second connection string says failover mechanism in place, if primary db fails, have still second 1 should automatically take load.

question: possible first connection string ensures failover mechanism, hidden client , configured in database internals?





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -

python - Read npy file directly from S3 StreamingBody -