hibernate-Table 'XXX.XXX' doesn't exist
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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>
以上是关于hibernate-Table 'XXX.XXX' doesn't exist的主要内容,如果未能解决你的问题,请参考以下文章
Duplicate entry 'xxx' for key 'xxx'
VUE引入模块之import xxx from 'xxx' 和 import {xxx} from 'xxx'的区别
mysql错误 Access denied for user 'root'@'xxx.xxx.xxx.xxx' (using password: YES)
元素的属性相关操作element.getAttribute('xxx'),element.setAttribute('xxx','xxx'),eleme
MySQL登录时出现 Access denied for user 'root'@'xxx.xxx.xxx.xxx' (using password: YES) 的解决
Can't create component 'xxx.xxx.xxx' as it has dependencies to be satisfied