Loading

1 2
摘要: 6、高级特性 6.1 Profile功能 ​ 为了方便多环境适配,比如在测试环境和生产环境中的切换,Springboot简化了profile功能。 1、application-profile功能 ​ 在SpringBoot中,默认的配置文件是以application命名的properties或者ya 阅读全文
posted @ 2022-01-04 22:06 Komorebi_WH 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 3、数据访问(SQL) 3.1 数据库连接池的自动配置-HikariDataSource 1、导入JDBC场景 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data- 阅读全文
posted @ 2022-01-04 22:05 Komorebi_WH 阅读(275) 评论(0) 推荐(0) 编辑