spring.datasource.type

spring.datasource.type 是springboot配置文件用来指定 数据库连接池类型(使用哪种连接池) 的属性

HikariCP

spring.datasource.type: com.zaxxer.hikari.HikariDataSource

Druid

spring.datasource.type: com.alibaba.druid.pool.DruidDataSource

C3P0

spring.datasource.type: com.mchange.v2.c3p0.ComboPooledDataSource

DBCP

spring.datasource.type: org.apache.commons.dbcp2.BasicDataSource

你可能感兴趣的:(#,Spring,Spingboot,SpringCould,JAVA,spring,java,spring,boot)