报错:Table 'sell.hibernate_sequence' doesn't exist

Posted coffee9527

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了报错:Table 'sell.hibernate_sequence' doesn't exist相关的知识,希望对你有一定的参考价值。

错误信息:Table ‘sell.hibernate_sequence‘ doesn‘t exist

错误原因:实体主键没有配置主键自增长

完整配置如下
 /**主键id*/
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

 





以上是关于报错:Table 'sell.hibernate_sequence' doesn't exist的主要内容,如果未能解决你的问题,请参考以下文章

Table '.mysqlproc' is marked as crashed and should be repaired 报错

ERROR 1176 (42000): Key 'XXX' doesn't exist in table 'XXX'报错处理

django,访问xadmin后台报错Exception Value: (1146, "Table 'django.xadmin_usersettings' doesn

Mysql报错Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't

mySQL: delete 语句报错 You can't specify target table 'student' for update in FROM clause(示例

java 操作 mysql -报错 LockException: Failure obtaining db row lock: Table 'xxx' doesn't exis