java connect to Oracle. : Java
 

Forum :: Java :: java connect to Oracle.

Can any one help me to explain this connection string using between java and oracle.

CREATE PUBLIC DATABASE LINK REPORT_DB_OWNER_LINK
    CONNECT TO db_owner
    IDENTIFIED BY db_owner 
    USING '(DESCRIPTION_LIST=(LOAD_BALANCE=off)(FAILOVER=on)(DESCRIPTION=(ADDRESS_LIST=
(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=120.231.3.79)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)
(HOST=120.231.3.75)(PORT=1521)))(CONNECT_DATA=(SERVER=SHARED)(SERVICE_NAME=viewcdr)))
(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=10.78.3.95)
(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=120.231.3.46)(PORT=1521)))
(CONNECT_DATA=(SERVER=SHARED)(SERVICE_NAME=needanswer))))';


this is Oracle command but I also see when we connect from java to oracle.

Need answer.

0 Comment

  • Have no comment.

Comment Forum

 
 
 
Share This Topic Login with Facebook