SpringBoot2.x默認使用HikariDataSource數據庫鏈接池修改使用Druid

第一步●步驟 查看當前使用的數據庫鏈接池 修改使用Druid數據庫鏈接池 第二步●詳細 查看當前使用的數據庫鏈接池 修改SpringBoot啓動類以下: package com.example.springboots; import javax.sql.DataSource; import org.mybatis.spring.annotation.MapperScan; import org
相關文章
相關標籤/搜索