spring.net nhibernate 不一定是自增变量,也可能是触发器 Batch update returned unexpected row count from update; actual row count: 2; expected: 1
2013-03-14 18:39
645 查看
spring.net nhibernate 不一定是自增变量,也可能是触发器 Batch update returned unexpected row count from update; actual row count: 2; expected: 1
可以查一下看是不是这个表有做了触发器.
如果有,就在 begin后面加: set nocount on 在 end 前加 set nocount off 就可以了.
可以查一下看是不是这个表有做了触发器.
如果有,就在 begin后面加: set nocount on 在 end 前加 set nocount off 就可以了.
相关文章推荐
- Batch update returned unexpected row count from update [0]; actual row count: 3; expected: 1
- Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
- Hibernate:Batch update returned unexpected row count from update [0]; actual row count: 0; expected:
- 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
- Batch update returned unexpected row count from update; actual row count: 0; expected: 1
- 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
- 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
- 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解决方案
- 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
- Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
- bug:Batch update returned unexpected row count from update: 0 actual row count: 2 expected: 1
- 有关Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1问题的解法
- org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
- 20.org.hibernate.StaleStateException: 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