一个人,一生,能坚持做好一件事情是多么的牛XX啊!!!
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 就可以了.
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3