Re: Questions on getGeneratedKeys with on duplicate key update cause
Posted by: y kong
Date: March 16, 2022 09:33PM

Thank you for your reply, I learnt a lot from your provided information.

The difference of affected rows between UPDATE AND INSERT is to seperate these two operation, Am I getting it right? May be I'm missing something.

When I use mysql client, It seems to gives me the correct duplicate rows and the affected rows. I'm wondering that how the mysql client knows the real duplicate rows?

Options: ReplyQuote


Subject
Written By
Posted
Re: Questions on getGeneratedKeys with on duplicate key update cause
March 16, 2022 09:33PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.