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

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

In use springboot + jpa project deployment time,

Because application.yml file configuration errors, so the above abnormal situation .yml then modify the configuration file is:

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

everything is normal.

Guess you like

Origin www.cnblogs.com/qingmuchuanqi48/p/11616106.html