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

ORACLE r2dbc update instead of insert #1880

Closed
ali-rezvani opened this issue Sep 13, 2024 · 4 comments
Closed

ORACLE r2dbc update instead of insert #1880

ali-rezvani opened this issue Sep 13, 2024 · 4 comments
Labels
in: r2dbc Spring Data R2DBC

Comments

@ali-rezvani
Copy link

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?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 13, 2024
@mp911de
Copy link
Member

mp911de commented Sep 13, 2024

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.
You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue.

Spring Data R2DBC doesn't support nested entities so having a reproducer would help us understand what you're doing.

@mp911de mp911de added the status: waiting-for-feedback We need additional information before we can continue label Sep 13, 2024
@spring-projects-issues
Copy link

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.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Sep 20, 2024
@schauder schauder added the in: r2dbc Spring Data R2DBC label Sep 25, 2024
@spring-projects-issues
Copy link

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-issues spring-projects-issues closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2024
@spring-projects-issues spring-projects-issues removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Sep 27, 2024
@southwolf
Copy link

spring-projects/spring-data-r2dbc#863 Same issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: r2dbc Spring Data R2DBC
Projects
None yet
Development

No branches or pull requests

5 participants