-
Notifications
You must be signed in to change notification settings - Fork 50
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
BatchUpdateException.getUpdateCounts returns unexpected value -1 #450
Comments
Hi @dwenking, Thanks for reaching out and raising this issue. We'll take a look at this and keep you updated as we investigate. Thank you for your patience! |
Hi, I checked your snapshot and the latest 1.1.9 snapshot seems updated on July 26. I didn't find the new snapshot with the fix. |
Thanks for your kind reply. I checked 1.1.10 and the result no longer returns -1. |
Thanks for checking out the snapshot build! If the problem has been resolved, we'll be closing this issue now. If you have other questions or concerns, please feel free to reopen this issue or to create a new one. |
Describe the bug
According to JDBC doc:
The array returned by BatchUpdateException.getUpdateCounts should be A number greater than or equal to zero/SUCCESS_NO_INFO(-2)/EXECUTE_FAILED(-3). However in my test case, I got a -1, which is confusing.
Expected Behavior
The result does not include -1.
Current Behavior
When I printed the results of
BatchUpdateException.getUpdateCounts
, I got -1, -3.Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
The AWS JDBC Driver for MySQL version used
1.1.9
JDK version used
19
Operating System and version
MacOS
The text was updated successfully, but these errors were encountered: