Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for new MySQL 8 error code 3572 #23972

Closed
jhoeller opened this issue Nov 11, 2019 · 0 comments
Closed

Support for new MySQL 8 error code 3572 #23972

jhoeller opened this issue Nov 11, 2019 · 0 comments

Comments

@jhoeller
Copy link
Contributor

@jhoeller jhoeller commented Nov 11, 2019

MySQL 8 exposes a new error code for lock acquisition failures in case of NOWAIT: namely, 3572 which we can translate to CannotAcquireLockException. On a specific note, this happens to be inconsistent with MariaDB which exposes the already supported code 1205 in such a scenario, so from that perspective we're closing a gap in our support between the two database variants.

For some context:
https://falseisnotnull.wordpress.com/2018/04/23/mysql-vs-mariadb-wait-nowait-skip-locked/
https://hibernate.atlassian.net/browse/HHH-13698

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.