baomidou / dynamic-datasource

dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
https://www.kancloud.cn/tracy5546/dynamic-datasource/2264611
Apache License 2.0
4.75k stars 1.19k forks source link

fix druid filter init bug #541

Closed hieastz closed 1 year ago

hieastz commented 1 year ago

filter->filters

What kind of change does this PR introduce? (check at least one)

The description of the PR: druid的拦截器名称配置属性是filters而不是filter,反射的时候是获取不到值的。

Other information: https://github.com/baomidou/dynamic-datasource/blob/master/dynamic-datasource-creator/src/main/java/com/baomidou/dynamic/datasource/creator/druid/DruidConfig.java

@Getter
@Setter
public class DruidConfig {

    private String filters;

}