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= (SERVER= DEDICATED)(SERVICE_NAME= ORCLDB)))" USER="wkf" PASSWORD="wkf" MAXWAIT="2000" MAXIDLE="10" MAXACTIVE="20" />
时间: 2024-10-13 22:16:07