首页 > 代码库 > 针对oracle集群的连接配置

针对oracle集群的连接配置

Java连接oracle数据库集群的配置:<DB NAME="WFS" DRIVER="oracle.jdbc.driver.OracleDriver" URL="jdbc:oracle:thin:@(DESCRIPTION= (ADDRESS_LIST= (ADDRESS= (PROTOCOL= TCP)(HOST= 192.168.0.45)(PORT= 1521))(ADDRESS= (PROTOCOL= TCP)(HOST= 192.168.0.44)(PORT= 1521))(LOAD_BALANCE = yes))(CONNECT_DATA= http://www.mamicode.com/(SERVER= DEDICATED)(SERVICE_NAME= ORCLDB)))" USER="wkf" PASSWORD="wkf" MAXWAIT="2000" MAXIDLE="10"  MAXACTIVE="20" />

针对oracle集群的连接配置