spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/yzh?serverTimezone=UTC&usUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password:
#整合mybatis
mybatis:
type-aliases-package: com.yzh.domain
mapper-locations: classpath:com/yzh/dao/*.xml
#打印sql语句
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
spring-boot整合mybatis yml 配置
最新推荐文章于 2024-01-12 09:34:57 发布