2018-06-03 22:26:41 +08:00

33 lines
1.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="GB2312"?>
<databaseConfig>
<!-- 数据库链接资源文件本文件的内容可以被com.amarsoft.are.sql.PooledConnectionFactory识别使用
jdbc资源定义需要driver类、url和用户名、密码构成可以采用加密和不加密的形式保存信息
加密需要使用本程序自带的加密、解密工具使用。
本模版配置了常见的数据库的连接方法,可以根据情况使用
-->
<resources>
<resource type="jdbc" name="als" jndiName="java:comp/env/jdbc/als" />
<!-- <driver>com.ibm.db2.jcc.DB2Driver</driver>
<url>jdbc:db2://192.168.5.3:50000/a3web31</url>
<user>als6</user>
<password>amarsoftals6</password>
<loginTimeout>0</loginTimeout>
<logWriter>system.out</logWriter>
<maxActive>20</maxActive>
<maxWait>5000</maxWait>
<maxIdle>20</maxIdle> -->
<!-- name="jdbc/als"
auth="Container"
type="javax.sql.DataSource"
maxActive="30"
maxIdle="2"
maxWait="10000"
username="tel6"
password="tel6_123"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://www.tenwa.com.cn:60330/tel6?useUnicode=true&amp;characterEncoding=GBK&amp;autoReconnect=true" -->
<resource type="jdbc" name="als_rpt" jndiName="java:comp/env/jdbc/report" />
</resources>
</databaseConfig>