修改前:
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
修改后:
<property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>
hibernate不能自动建表:MySQLSyntaxErrorException: Table '' doesn't exist
原文地址:https://www.cnblogs.com/mr-hu2009/p/9465462.html
时间: 2024-10-09 02:29:18