1. 程式人生 > >hibernate不能自動建表:MySQLSyntaxErrorException: Table '' doesn't exist

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

mysql mysql5 nat nta exist ble property cep exception

修改前:

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

修改後:

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

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