springboot启动出现Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect‘ not set
2021-06-10 15:10 gangzi4321 阅读(265) 评论(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