各数据库连接实例参考
<h2>oracle数据库</h2>
<pre><code>dataSource.driverClassName=oracle.jdbc.driver.OracleDriver
dataSource.url=jdbc:oracle:thin:@oracle.risencn.com:1521:orcl
dataSource.username=RISENPT_HZRISEN_TRAIN
dataSource.password=RISENPT_HZRISEN_TRAIN</code></pre>
<h2>达梦数据库</h2>
<pre><code>dataSource.driverClassName=dm.jdbc.driver.DmDriver
dataSource.url=jdbc:dm://localhost:5236
dataSource.username=risen_zjswbgt_develop
dataSource.password=risen_zjswbgt_develop</code></pre>
<h2>神通数据库</h2>
<pre><code>dataSource.driverClassName=com.oscar.Driver
dataSource.url=jdbc:oscar://222.75.202.14:2003/OSRDB
dataSource.username=risen_zjswbgt_develop
dataSource.password=risen_zjswbgt_develop</code></pre>
<h2>MYSQL数据库</h2>
<pre><code>dataSource.driverClassName=com.mysql.jdbc.Driver
dataSource.url=jdbc:mysql://mysql.risencn.com:3616/risenpt_hzrisen_develop?characterEncoding=UTF-8&amp;zeroDateTimeBehavior=convertToNull
dataSource.username=risenpt_hzrisen_develop
dataSource.password=risenpt_hzrisen_develop</code></pre>
<h2>金仓数据库</h2>
<pre><code>dataSource.driverClassName=com.kingbase8.Driver
dataSource.url=jdbc:kingbase8://10.17.155.16:54321/YZM
dataSource.username=YZM
dataSource.password=ZJsw@akyun</code></pre>
<h2>外部数据源配置</h2>
<pre><code>dataSourceOuter.driverClassName=oracle.jdbc.driver.OracleDriver
dataSourceOuter.url=jdbc:oracle:thin:@127.0.0.1:1521:orcl
dataSourceOuter.username=risendb
dataSourceOuter.password=@risen@</code></pre>
<h2>数据库连接参数</h2>
<pre><code>dataSource.maxActive=100
dataSource.maxIdle=30
dataSource.minIdle=5
dataSource.maxWait=10000
dataSource.testOnBorrow=true
dataSource.testWhileIdle=true
dataSource.validationQuery=select 1 from dual
dataSource.minEvictableIdleTimeMillis=180000
dataSource.timeBetweenEvictionRunsMillis=180000</code></pre>