You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.5 KiB
39 lines
1.5 KiB
#=============================================================================================================
|
|
# MySQL连接配置
|
|
#=============================================================================================================
|
|
# 驱动程序
|
|
jdbc.mysql.driver=com.mysql.jdbc.Driver
|
|
# 连接url
|
|
jdbc.mysql.url=jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
|
|
# 用户名
|
|
jdbc.mysql.username=root
|
|
# 密码
|
|
jdbc.mysql.password=root
|
|
|
|
#=============================================================================================================
|
|
# Oracle 连接配置
|
|
#=============================================================================================================
|
|
# 驱动程序
|
|
jdbc.oracle.driver=oracle.jdbc.driver.OracleDriver
|
|
# 连接url
|
|
jdbc.oracle.url=jdbc:oracle:thin:@localhost:1521:orcl;
|
|
# 用户名
|
|
jdbc.oracle.username=system
|
|
# 密码
|
|
jdbc.oracle.password=oracle
|
|
|
|
#=============================================================================================================
|
|
# 数据库公共配置
|
|
#=============================================================================================================
|
|
jdbc.initialSize=5
|
|
jdbc.minIdle=5
|
|
jdbc.maxIdle=20
|
|
jdbc.maxActive=100
|
|
jdbc.maxWait=100000
|
|
jdbc.defaultAutoCommit=false
|
|
jdbc.removeAbandoned=true
|
|
jdbc.removeAbandonedTimeout=600
|
|
jdbc.testWhileIdle=true
|
|
jdbc.timeBetweenEvictionRunsMillis=60000
|
|
jdbc.numTestsPerEvictionRun=20
|
|
jdbc.minEvictableIdleTimeMillis=300000 |