Batch update returned unexpected row

来源:互联网 发布:淘宝店铺商品分类 编辑:程序博客网 时间:2024/05/29 00:34

出错: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1


解决方案: pojo xml 文件的主键是  自增还是分配,      <generator class="assigned" /> /  <generator class="identity" />

阅读全文
0 0
原创粉丝点击