You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.springframework.dao.TransientDataAccessResourceException: Failed to update table [message]. Row with Id [3178455a-f0ee-4051-ad92-acb8c2ad3b82] does not exist.
at org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository.lambda$save$0(SimpleR2dbcRepository.java:91) ~[spring-data-r2dbc-1.0.0.RELEASE.jar:1.0.0.RELEASE]
The point is, SimpleR2dbcRepository decides that the entity is not new and tries UPDATE instead of INSERT.
The text was updated successfully, but these errors were encountered:
Suppose we have an entity:
and a repository:
When I try to insert an entity
I get
The point is,
SimpleR2dbcRepository
decides that the entity is not new and triesUPDATE
instead ofINSERT
.The text was updated successfully, but these errors were encountered: