日期:2014-05-16 浏览次数:20385 次
jdbc.driverClassName=oracle.jdbc.driver.OracleDriver
jdbc.url=jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 数据库ip地址)(PORT = 1521)(QUEUESIZE = 500))(ADDRESS = (PROTOCOL = TCP)(HOST =数据库ip地址)(PORT = 1521)(QUEUESIZE = 500))(LOAD_BALANCE = yes))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = 数据库对象名)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))
jdbc.username=数据库账号
jdbc.password=数据库密码
?
oracel负载均衡连接地址写法