-
Notifications
You must be signed in to change notification settings - Fork 350
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
ORACLE r2dbc update instead of insert #1880
Comments
If you would like us to spend some time helping you to diagnose the problem, please spend some time describing it and, ideally, providing a minimal yet complete sample that reproduces the problem. Spring Data R2DBC doesn't support nested entities so having a reproducer would help us understand what you're doing. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
spring-projects/spring-data-r2dbc#863 Same issue? |
Spring Boot 3.3.3 RELEASE
Spring Data R2DBC 3.3.3
R2DBC-(ORACLE) 1.2.0
If I call #save on a new unchanged entity, then currently, I am getting an error: Failed to update table [%s]. Row with Id [%s] does not exist.
I am using the [oracle-r2dbc] (https://github.com/oracle/oracle-r2dbc) library
If I alter my path to ensure the item is always actually updated, before save gets called, then it succeeds as expected.
As this is a nested entity, it is being saved as a side-effect of the primary entity.
Is this a bug, as it worked previously for me, or do I need to update the code flow to perform a read and check if anything has changed before I call save?
The text was updated successfully, but these errors were encountered: