文章目录

茶屋Teahouse

Every time you lie my place

标签: SpingBoot (1)

SpringBoot整合Mybatis[XML]

Maven依赖 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.1</version> </dependency> application.yaml 设置mybatis的*.xml文件位置 spring: datasource: name: renaissance url: jdbc:mysql://localhost:3306/test?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true username....