oracle配置双串数据源的方式
jdbc:oracle:thin:@(DESCRIPTION_LIST=(LOAD_BALANCE=no)(FAILOVER=on)
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.11.18.42)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.11.18.42)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
)
配置多个数据源的方式类似
|