JDBC连接RAC的配置-oneexample

<script type="text/javascript"><!-- google_ad_client = "pub-2947489232296736"; /* 728x15, 创建于 08-4-23MSDN */ google_ad_slot = "3624277373"; google_ad_width = 728; google_ad_height = 15; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
<script type="text/javascript"><!-- google_ad_client = "pub-2947489232296736"; /* 160x600, 创建于 08-4-23MSDN */ google_ad_slot = "4367022601"; google_ad_width = 160; google_ad_height = 600; //--> </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>

<JDBCConnectionPool
        Name="oRACleRACPool"
        DriverName="oRACle.JDBC.client.DataSource"
        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)))"
        />

<JDBCTxDataSource
        JNDIName="oRACle-RAC-DataSource"
        Name="oRACle-RAC-DataSource"
        PoolName="oRACleRACPool"
        Targets="myCluster"
        />

<script type="text/javascript"><!-- google_ad_client = "pub-2947489232296736"; /* 728x15, 创建于 08-4-23MSDN */ google_ad_slot = "3624277373"; google_ad_width = 728; google_ad_height = 15; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
<script type="text/javascript"><!-- google_ad_client = "pub-2947489232296736"; /* 160x600, 创建于 08-4-23MSDN */ google_ad_slot = "4367022601"; google_ad_width = 160; google_ad_height = 600; //--> </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
阅读更多
个人分类: 数据库
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭