本文共 277 字,大约阅读时间需要 1 分钟。
SpringBoot系列之集成Druid配置数据源监控
继上一篇博客之后,本博客再介绍数据库连接池框架Druid的使用
实验环境准备:
先新建一个Springboot Initializer项目,详情参考,注意引入必须的JDBC,web依赖等等,因为Druid默认没提供,所以去https://mvnrepository.com/artifact/com.alibaba/druid获取配置信息,项目创建之后,pom配置应该有如下:
org.springframework.boot
转载地址:http://wldof.baihongyu.com/