hibernate不能自动建表:MySQLSyntaxErrorException: Table '' doesn't exist

Posted 轻舞飞扬

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hibernate不能自动建表:MySQLSyntaxErrorException: Table '' doesn't exist相关的知识,希望对你有一定的参考价值。

修改前:

<property name="hibernate.dialect">org.hibernate.dialect.mysqlDialect</property>

修改后:

<property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>

以上是关于hibernate不能自动建表:MySQLSyntaxErrorException: Table '' doesn't exist的主要内容,如果未能解决你的问题,请参考以下文章