java连接oracle集群
1.jdbc.url=jdbc:oracle:thin:@192.168.1.12:1521/orcl
2.jdbc.url=jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.204.7.87)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = 10.204.7.89)(PORT = 1521))(FAILOVER=ON)(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = tyyj)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))