Using and configuring Druid with spring boot
•
Java
1. Import dependent packages
2. Configure application properties
3. At present, the default supported connection pools in spring boot include DBCP, dbcp2, Tomcat and Hikari. Since Druid is not directly supported in spring bootz for the time being, configuration information needs to be customized
4. Browser input http://localhost:8081/druid/index.html
The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码