SpringBoot整合Mybatis+Postgresql
第一步:配置文件(application.yml)
server:
port: 8081
spring:
datasource:
url: jdbc:postgresql://localhost:5432/STBCSystem
username: postgres
password: 123
driver-class-name: org.postgresql.Driver
mybatis:
mapperLocations: classpath:mapper/*
原创
2021-05-13 11:30:03 ·
990 阅读 ·
2 评论