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

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

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

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

 

posted @ 2018-04-29 01:20  coffee9527  阅读(1181)  评论(0编辑  收藏  举报