MySQL Forums
Forum List  »  InnoDB

Re: Deadlock found when atempting to insert and update from diferent tx.
Posted by: Federico Jakimowicz
Date: July 28, 2011 11:16AM

Hi Adftab,

I'm not using select for update just select.
You are right about the redundant unique and I agree, sorry my bad on the example.
The way we have choosen to follow is to force hibernate to make the update before the inserts.

thanks a lot.



If anyone is interested on this topic can also check this:
http://bugs.mysql.com/bug.php?id=61965.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

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.