Jboss 数据库池

<?xml version="1.0" encoding="UTF-8"?>

<!-- ===================================================================== -->
<!--                                                                       -->
<!--  JBoss Server Configuration                                           -->
<!--                                                                       -->
<!-- ===================================================================== -->

<!-- $Id: portal-ds.xml,v 1.2 2009/06/02 13:32:54 administrator Exp $ -->


<datasources>

  <local-tx-datasource>
    <jndi-name>uniportal-log-datasource2</jndi-name>
    <connection-url>jdbc:db2://10.164.21.164:50001/dbName</connection-url>
    <driver-class>com.ibm.db2.jcc.DB2Driver</driver-class>
    <user-name>DBUsername</user-name>
    <password>DBPassword</password>
   <isPasswordEncrypted>false</isPasswordEncrypted>
    <min-pool-size>0</min-pool-size>
    <check-valid-connection-sql>select * from sysibm.sysdummy1</check-valid-connection-sql>
  </local-tx-datasource>

  <local-tx-datasource>
    <jndi-name>uniportal-log-datasource</jndi-name>
    <connection-url>jdbc:oracle:thin:@10.137.17.176:1521:ora11</connection-url>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <user-name>lixia</user-name>
    <password>lixia</password>
   <isPasswordEncrypted>false</isPasswordEncrypted>
    <min-pool-size>0</min-pool-size>
    <check-valid-connection-sql>select * from dual</check-valid-connection-sql>
  </local-tx-datasource>
 
</datasources>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值