Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jdbc url with failover settings

1056987May 8 2017 — edited May 9 2017

I have used various combinations of jdbc url from sql developer 4.2 but none of session failover properties are set. Is there a way to test RAC failover using sql developer jdbc thin url?

jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=on)(ADDRESS=(PROTOCOL=TCP)(HOST=ldizd4364si.wellsfargo.com)(PORT=3203))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=racaware) (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC) (RETRIES = 2) (DELAY = 1)) ))

SQL> l

  1*  select inst_id,username,status,service_name,FAILOVER_TYPE,FAILOVER_METHOD,FAILED_OVER,module, program from gv$session where   username='U267399'

SQL> /.

   INST_ID USERNAME   STATUS   SERVICE_NAME         FAILOVER_T FAILOVER_M FAILED_OVE MODULE                         PROGRAM

---------- ---------- -------- -------------------- ---------- ---------- ---------- ------------------------------ ------------------------------------------------

         2 U267399    INACTIVE racaware             NONE       NONE       NO         SQL Developer                  SQL Developer

This post has been answered by Gaz in Oz on May 9 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 6 2017
Added on May 8 2017
3 comments
1,892 views