Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic-datasource-spring-boot-starter兼容性问题 #6076

Open
superchangme opened this issue Aug 5, 2024 · 1 comment · May be fixed by #6128
Open

dynamic-datasource-spring-boot-starter兼容性问题 #6076

superchangme opened this issue Aug 5, 2024 · 1 comment · May be fixed by #6128

Comments

@superchangme
Copy link

superchangme commented Aug 5, 2024

使用了dynamic-datasource-spring-boot-starter和druid-spring-boot-starter 在application.yml配置了
druid
validationQuery: select 1
日志打印里输出了
2024-08-05 10:25:44,373 [main] ERROR DruidDataSource: - [dm] testWhileIdle is true, validationQuery not set

怎么解决这个配置不生效的问题?

@superchangme superchangme changed the title validationQuery不生效 dynamic-datasource-spring-boot-starter兼容性问题 Aug 5, 2024
@linghengqian
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants