-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
executeMany() offsets index of dbl returning variables on index #1683
Comments
We appreciate you opening the issue, but the table and column names in the snippets don't match, and you haven't given the original data. Since details can matter when reproducing a bug, can you update the issue with a running script, and include the necessary INSERT statements? |
@cjbj I updated the issue with a script and inserts |
I tried changing the binds to so that error would happen when updating a single row and had the same results
|
@BoxenOfDonuts , I think its because awaits are missing here.
you can also add dmlRowCounts too to verify the updated rows and i could see the updated rows in my test.
just pasting the complete program of yours with minor modifications...
|
@sudarshan12s that was just a small error in my reproduction code, the real code has the correct awaits. We have not had issues with the data actually being updated, just the bindings being offset on the returns. I did re-run the reproduction script and still see the wrong binding
|
Thanks . We are checking the invalid outbinds returned and will update. |
platform:
darwin
version:
v20.11.1
arch:
x64
oracledb:
5.5.0
(reproducible in latest6.x
)clientVersion:
19.3.0.0.0
Error
When encountering batchErrors, the index / values of dbms returning can become offset incorrectly
Expected: Third item in array has the correct lineItemOut, correct number of contractIdOut
if the currency code was valid it would also update multiple rows
The text was updated successfully, but these errors were encountered: