How to solve “Batch update returned unexpected row count from update; actual row count: 0; expected: 1” problem?

前端 未结 4 1201
你的背包
你的背包 2021-01-03 18:12

Getting this everytime I attempt to CREATE a particular entity ... just want to know how I should go about figuring out the cause.

I\'m using Fluent NHibernate autom

4条回答
  •  失恋的感觉
    2021-01-03 19:01

    This may occur because of Auto increment primary key. To solve this problem do not inset auto increment value with data set. Insert data without the primary key.

提交回复
热议问题