首页 > 数据库技术 > 详细

springboot启动出现Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect‘ not set

时间:2021-06-10 17:35:21      阅读:36      评论:0      收藏:0      [点我收藏+]

 

设置如下解决问题:

spring.jpa.database-platform=org.hibernate.dialect.OracleDialect
spring.datasource.driverClassName=oracle.jdbc.OracleDriver

spring.datasource.url=jdbc\:oracle\:thin\:@localhost\:1521/orcl
spring.datasource.username=jy1_test
spring.datasource.password=barcode

#1
spring.jpa.hibernate.ddl-auto=update
#2
spring.jpa.show-sql=true


spring.jackson.serialization.indent_output=true

springboot启动出现Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect‘ not set

原文:https://www.cnblogs.com/gangzi4321/p/14871163.html

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