Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
JiangTengfei
2015-11-13 11:27:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
826ece2211dc3d6e076fbd55908ba42302ac9dbc
826ece22
1 parent
b57eaf52
Created 数据库连接池 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
数据库连接池.md
数据库连接池.md
0 → 100644
View file @
826ece2
1
+
###spring boot项目数据库连接池问题
2
+
3
+
在配置文件中加上:
4
+
5
+
```
6
+
spring.datasource.validation-query=SELECT 1
7
+
```
8
+
即可自动重连
Please
register
or
login
to post a comment