把开发过程中碰到的BUG累积下来也是一笔财富。
Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
不注意的话,还真的有点无所适从,Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1这个异常是由于主键设置为自增长,而在我们插入记录的时候设置了ID的值导致的。
hibernate
最新推荐文章于 2023-07-19 19:59:34 发布