-
Notifications
You must be signed in to change notification settings - Fork 34
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
2018/05/springboot-How-to-setup-datasources-dynamically-in-springboot #14
Comments
For 9.1 example, I'm really like to see an example how to read a bean property from ApplicationContext.xml and update it with a new value. Btw, the sections after 9.1 were numbered incorrectly. |
Thanks for your feedback, I would improve the blog content. |
After playing the example in 9.1, finally I got what I want to do. Excellent! Thank you very much! |
You are welcome, and I have written a post about spring boot and xml configuration example, here is the link: https://github.com/bswen/bswen-project/tree/master/spring-boot-applicationxml |
Hello again, BSWen. How to make your 9.1 code to work for a bean? My datasource is defined in a bean. Especially I'm afraid that this line " @ConfigurationProperties(prefix="spring.datasource") " probably won't work anymore. |
By the way mu project is an old spring project. It uses just beans, no Spring Boot so I don't see DataSourceConfig is ever triggered. |
How to setup datasources dynamically in springboot
https://www.bswen.com/2018/05/springboot-How-to-setup-datasources-dynamically-in-springboot.html
The text was updated successfully, but these errors were encountered: