Error executing DDL "drop sequence if exists hibernate_sequence" via JDBC Statement

Error executing DDL "drop sequence if exists hibernate_sequence" via JDBC Statement

在使用springboot+jpa进行部署项目时候,

因为application.yml文件配置错误,所以出现上面的异常情况.然后修改.yml配置文件为:

spring: 
 jpa:
    show-sql: true
    hibernate:
      ddl-auto: update
    database-platform: org.hibernate.dialect.MySQLDialect

一切正常.

猜你喜欢

转载自www.cnblogs.com/qingmuchuanqi48/p/11616106.html