站内搜索: 请输入搜索关键词

当前页面: 开发资料首页J2SE 专题JDBC连接RAC的配置源代码剖析

JDBC连接RAC的配置源代码剖析

摘要: JDBC连接RAC的配置源代码剖析
<table cellSpacing=0 cellPadding=0 border=0 class="zh114" align="right"> <tr> <td > </td> </tr> </table>
         Name="oracleRACPool"
       DriverName="oracle.jdbc.client.OracleDataSource"
       InitialCapacity="5"
       LoginDelaySeconds="1"
       MaxCapacity="5"
       Password="{3DES}I5fj3vh4+nI="
       Properties="user=SCOTT"
       CountOfTestFailuresTillFlush="1"
       ConnectionReserveTimeoutSeconds="120"
       KeepXAConnTillTXComplete="true"
       RefreshMinutes="5"
       TestConnectionsOnReserve="true"
       TestTableName="dual"
       PreparedStatementCacheSize="15"
       Targets="myCluster"
       URL="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=
       (ADDRESS=(PROTOCOL=TCP)(HOST=host1)(PORT=1521))
       (ADDRESS=(PROTOCOL=TCP)(HOST=host2)(PORT=1521))
       (FAILOVER=yes)(LOAD_BALANCE=no)(CONNECT_DATA=(SERVER=DEDICATED)
       (SERVICE_NAME=dbservice.company.com)))"
       />
  
         JNDIName="oracle-RAC-DataSource"
       Name="oracle-RAC-DataSource"
       PoolName="oracleRACPool"
       Targets="myCluster"
       />

<table width="96%"> <tr> <td background="http:///images/dian.gif" height="3"></td> </tr> </table>

↑返回目录
前一篇: Java编程技巧:列表排序代码分析
后一篇: .Net里的哈希表和串行化的简单介绍