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
Thanks for the fix!
I believe this was not yet released. I tried to use deleteById on spring-data-jpa 3.0.1 according to the docs and it still throws EmptyResultDataAccessException.
I believe this was merged to main right after main rolled to 3.1.x. I've backported this fix to 3.0.x via 4a7126a.
Any plane to merge this to current 2.7.x version?
I found 2.7.x is still active, and this version has been used in spring boot 2.7.17. And I met the same problem.
Hi,
in spring-projects/spring-data-commons#2651 or more specifically in spring-projects/spring-data-commons#2651 (comment) it was announced that
SimpleJpaRepository.deleteById
shouldn't throw an exception if there is nothing to delete.It also notes that the behaviour should have been adjusted in the various modules, but apparently it wasn't:
Could this be still done even though 3.0.0 is already out now?
Cheers,
Christoph
The text was updated successfully, but these errors were encountered: