Open ChinaLym opened 4 years ago
推荐将 BeeCpDataSourceAutoConfiguration 上的 @Configuration 改为 @Configuration(proxyBeanMethods = false) 减少 spring 容器中 bean 的数量
BeeCpDataSourceAutoConfiguration
@Configuration
@Configuration(proxyBeanMethods = false)
参考:Shoulder-Platform 的 beecp 自动装配优化
代码较少,暂不提 PR 了
proxyBeanMethods应该是Spring5.2的增加的吧,我是想兼容更兼容版本稍微低一点Springboot版本
推荐将
BeeCpDataSourceAutoConfiguration
上的@Configuration
改为@Configuration(proxyBeanMethods = false)
减少 spring 容器中 bean 的数量参考:Shoulder-Platform 的 beecp 自动装配优化
代码较少,暂不提 PR 了