摘要: 配置如下 spring: datasource: username: root password: 123456 url: jdbc:mysql://localhost:3306/mybatis?serverTimezone=UTC&useUnicode=true&characterEncoding 阅读全文
posted @ 2020-02-20 20:31 Alan*Chen 阅读(773) 评论(0) 推荐(0) 编辑
摘要: 对于数据访问层,无论是 SQL 还是 NOSQL,Spring Boot 底层都是采用 Spring Data 的方式进行统一处理各种数据库, Spring Data 也是 Spring 中与 Spring Boot、Spring Cloud 等齐名的知名项目。 JDBC 创建项目时引入JDBC模块 阅读全文
posted @ 2020-02-20 16:25 Alan*Chen 阅读(592) 评论(0) 推荐(0) 编辑