日期:2014-05-16  浏览次数:20454 次

JDBC配置对双机热备的访问

jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ip地址1)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=ip地址2)(PORT=1521))(FAILOVER=on)(LOAD_BALANCE=off))(CONNECT_DATA= (SERVICE_NAME=实例名)))