org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "drop table if exists

org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL “drop table if exists order” via JDBC Statement

在使用jpa建表的时候发现出现了这个异常。

原因是因为orde是mysql的关键字,所以不能执行成功。

发布了30 篇原创文章 · 获赞 5 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/syr1136877833/article/details/91383503