This commit is contained in:
Looly 2022-04-30 21:08:28 +08:00
parent 5c1972e04b
commit a7ede583ec
3 changed files with 11 additions and 11 deletions

View File

@ -22,49 +22,49 @@ remarks = true
# 测试数据源
[test]=
[test]
url = jdbc:sqlite:test.db
remarks = true
# 测试用HSQLDB数据库
[hsqldb]=
[hsqldb]
url = jdbc:hsqldb:mem:mem_hutool
user = SA
pass =
remarks = true
# 测试用HSQLDB数据库
[h2]=
[h2]
url = jdbc:h2:mem:h2_hutool
user = sa
pass =
remarks = true
# 测试用HSQLDB数据库
[derby]=
[derby]
url = jdbc:derby:.derby/test_db;create=true
remarks = true
# 测试用Oracle数据库
[orcl]=
[orcl]
url = jdbc:oracle:thin:@//looly.centos:1521/XE
user = looly
pass = 123456
remarks = true
[mysql]=
[mysql]
url = jdbc:mysql://looly.centos8:3306/hutool_test?useSSL=false
user = root
pass = 123456
remarks = true
[postgre]=
[postgre]
url = jdbc:postgresql://looly.centos:5432/test_hutool
user = postgres
pass = 123456
remarks = true
[sqlserver]=
[sqlserver]
url = jdbc:sqlserver://looly.database.chinacloudapi.cn:1433;database=test;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.chinacloudapi.cn;loginTimeout=30;
user = looly@looly
pass = 123

View File

@ -12,9 +12,9 @@ socketTimeout=0
socketKeepAlive=false
#---------------------------------- MongoDB实例连接
[master]=
[master]
host = localhost:27017
[slave]=
[slave]
host = localhost:27018
#-----------------------------------------------------

View File

@ -27,7 +27,7 @@ clientName = Hutool
ssl = false;
#----- 自定义分组的连接
[custom]=
[custom]
# 地址默认localhost
host = localhost
# 连接耗尽时是否阻塞, false报异常,ture阻塞直到超时, 默认true