配置数据源和配置jpa的yml文件
时间:2019-10-02 15:43:41
收藏:0
阅读:520
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: root
url: jdbc:mysql://localhost:3306/order_system?characterEncoding=utf-8&&serverTimezone=UTC&&useSSL=false
jpa:
hibernate:
ddl-auto: update
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
原文:https://www.cnblogs.com/qingmuchuanqi48/p/11617315.html
评论(0)