jdbc连接rac的oracle数据库需要配置所有racIP,如下:

DB1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.1.1.151)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.1.1.152)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = mesdb)
)
)

04-29 21:10