mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Updated FAQ (markdown)
+3
-3
@@ -97,16 +97,16 @@ Druid is an open source project, hosted on github.com, you can "pull request". s
|
||||
(Welcome to join QQ Group: 240619787 for discuss and study Druid)
|
||||
|
||||
# 24. How to integrate the Druid connection pool and monitoring in Spring Boot project?
|
||||
Use Druid Spring Boot Starter,Documentation:https://github.com/alibaba/druid/tree/master/druid-spring-boot-starter
|
||||
Usage Druid Spring Boot Starter,Documentation:https://github.com/alibaba/druid/tree/master/druid-spring-boot-starter
|
||||
|
||||
# 25. How to add custom WallConfig, Filter in the Spring Boot ?
|
||||
|
||||
|
||||
1. add configuration properties
|
||||
```xml
|
||||
...
|
||||
spring.datasource.druid.wall.config.multiStatementAllow=false
|
||||
spring.datasource.druid.wall.config.truncateAllow=true
|
||||
... other
|
||||
...
|
||||
```
|
||||
2. Usage [Druid Spring Boot Starter](https://github.com/alibaba/druid/tree/master/druid-spring-boot-starter) ```DruidDataSourceBuilder```, as follows.
|
||||
```java
|
||||
|
||||
Reference in New Issue
Block a user