-
Notifications
You must be signed in to change notification settings - Fork 132
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
TransientDataAccessResourceException(Failed to update table) issue #275
Comments
Why R2DBC doing |
@mp911de so if I want to generate IDs before insert and don't want to make a version column, I can't use |
That's not entirely correct. If your entity implements |
@mp911de, thanks! |
public class Product implements Persistable {
} I did something like this to solve this problem. |
This is strange implementation, what's the purpose of Why is spring data r2dbc is working differently to spring data jpa: (in the SO question the author was able to persist entity with Id, but forgot to flush) |
There is something fundamently wrong with this implementation. How to determine if a record with the given ID exists on DB side without querying it? |
Hi. I've some problem when I using R2DBC
Spring boot version
R2DBC Version(It looks like 1.0.0.RELEASE)
R2DBC MySQL Driver(not official)
generated by Spring Initializer(R2DBC)
When I testing some Entity just like below, I've TransientDataAccessResourceException
User Entity
User Repository
Here's some test for Repository
I think the
new User
isnew
Entity(which is not persist in jpa level)but when I run above code, r2dbc do
UPDATE
for entity.When I changing JDBC from R2DBC, there's no Exception above code.
Can I miss something?
The text was updated successfully, but these errors were encountered: