nhibernate-core icon indicating copy to clipboard operation
nhibernate-core copied to clipboard

Insert and Update statement with same values.

Open nipunpatel86 opened this issue 3 years ago • 1 comments

First during entity save it creates insert statements and than on commit it creates update statement.The value during insert statement is same in update statement and it's foreign key.There are 600+ update statements executed during transaction so it will impact on performance. How to restricts update statement as it is not update any values?

nipunpatel86 avatar May 23 '22 07:05 nipunpatel86

Can you please provide test code demonstrating this behavior? See here.

fredericDelaporte avatar May 23 '22 18:05 fredericDelaporte