# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
# Whether to stop if an error occurs while initializing the database.
spring.datasource.continue-on-error=false
# Data (DML) script resource references.
spring.datasource.data=
# Username of the database to execute DML scripts (if different).
spring.datasource.data-username=
# Password of the database to execute DML scripts (if different).
spring.datasource.data-password=
spring.datasource.dbcp2.*= # Commons DBCP2 specific settings
# Fully qualified name of the JDBC driver. Auto-detected based on the URL by default.
spring.datasource.driver-class-name=
# Whether to generate a random datasource name.
spring.datasource.generate-unique-name=false
spring.datasource.hikari.*= # Hikari specific settings
# Initialize the datasource with available DDL and DML scripts.
spring.datasource.initialization-mode=embedded
# Whether to enable JMX support (if provided by th
springboot2.0.5 中DataSource配置文件
最新推荐文章于 2024-04-18 05:09:23 发布