1.RAC集群数据库连库代码示例(jdbc thin方式,非oci):
jdbc.driverClassName=oracle.jdbc.driver.OracleDriverjdbc.url=jdbc:oracle:thin:@(description =(address=(protocol=tcp)(host=实例1vip)(port=1521))(address=(protocol=tcp)(host=实例2vip)(port=1521))(load_balance = yes)(failover = on)(connect_data=(server=dedicated)(service_name=服务名))(failover_mode =(type = select)(method = basic)(retries = 180)(delay = 5)))jdbc.username=数据库用户名jdbc.password=密码