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的主要内容,如果未能解决你的问题,请参考以下文章

[转]Hibernate不能自动建表解决办法及Hibernate不同数据库的连接及SQL方言

配置hibernate根据实体类自动建表功能

配置hibernate根据实体类自动建表功能

hibernate自动建表

spring和hibernate整合时无法自动建表

Hibernate自动建表失败原因总结