首页 > 数据库技术 > 详细

Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set

时间:2020-05-24 00:12:52      阅读:61      评论:0      收藏:0      [点我收藏+]

spring boot启动的时候,报了这个错误

发现很多都是让我们添加方言

例如:

database-platform: org.hibernate.dialect.OracleDialect

然而我发现问题根本不是这个

我在连接数据的url处添加了时区设置就不报错了

jdbc:mysql://localhost:3306/test?serverTimezone=UTC

 

Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set

原文:https://www.cnblogs.com/ABKing/p/12945094.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!