Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Yes, for an XA transaction, you'll get an exception similar to the following:

MySqlConnector.MySqlException (0x80004005): XA_RBDEADLOCK: Transaction branch was rolled back: deadlock was detected

For a regular transaction, you'll get an exception similar to:

MySqlConnector.MySqlException: Deadlock found when trying to get lock; try restarting transaction

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@Skyedra
Comment options

@bgrainger
Comment options

@Skyedra
Comment options

Answer selected by Skyedra
Comment options

You must be logged in to vote
2 replies
@bgrainger
Comment options

@naughtyGitCat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants