hibernate-Table 'XXX.XXX' doesn't exist

hibernate---Table 'XXX.XXX' doesn't exist

在设置自动生成数据表的策略中:

<!-- 自动生成数据表的策略 -->
    	<property name="hbm2ddl.auto">update</property>//别的值也可以

但是出现了一个问题:Table 'XXX.XXX' doesn't exist。

解决方法:

将Hibernate连接方言改为:org.hibernate.dialect.MySQL5InnoDBDialect 

<!--hibernate数据库方言  -->
    	<property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>