Chris2018998 / beecp-starter

beecp starter on springboot
Apache License 2.0
35 stars 12 forks source link

小优化,自动装配 #5

Open ChinaLym opened 4 years ago

ChinaLym commented 4 years ago

推荐将 BeeCpDataSourceAutoConfiguration 上的 @Configuration 改为 @Configuration(proxyBeanMethods = false) 减少 spring 容器中 bean 的数量

参考:Shoulder-Platform 的 beecp 自动装配优化

代码较少,暂不提 PR 了

Chris2018998 commented 4 years ago

proxyBeanMethods应该是Spring5.2的增加的吧,我是想兼容更兼容版本稍微低一点Springboot版本