ITPub博客

首页 > Linux操作系统 > Linux操作系统 > jdbc连rac范例

jdbc连rac范例

原创 Linux操作系统 作者:安佰胜 时间:2010-10-11 17:10:29 0 删除 编辑

         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"
         />


 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/13177610/viewspace-675717/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-08-26

  • 博文量
    215
  • 访问量
    660354