配置数据源和配置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&amp&serverTimezone=UTC&amp&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
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!