Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Insert and Update statement with same values. #3143

Unanswered
nipunpatel86 asked this question in Q&A
Discussion options

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?

You must be logged in to vote

Replies: 1 comment

Comment options

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #3066 on August 30, 2022 00:21.

AltStyle によって変換されたページ (->オリジナル) /