GenerationTarget encountered exception accepting command : Error executing DDL via JDBC Statement

后端 未结 7 1296
太阳男子
太阳男子 2020-12-29 06:08

I am a novice in hibernate world and facing,

WARN: GenerationTarget encountered exception accepting command : Error executing DDL via JDBC Statement
org.hibe         


        
7条回答
  •  长情又很酷
    2020-12-29 06:41

    You are using an updated version of MySQL but using and old dialect

    Use either,

    org.hibernate.dialect.MySQL5Dialect
    

    OR

    org.hibernate.dialect.MySQL8Dialect
    

    in the hibernate.cfg.xml file.

    This prevents you from getting dialect issues.

提交回复
热议问题