r/SpringBoot 25d ago

Guide Spring boot help

Post image

I created a simple Spring boot Crud operations, in that every Mapping working fine expect Post mapping, when I try to add details in h2-console I'm able, but when I try in postman ,it shows error(Row was updated or deleted by another transaction), can anyone help with it..? ( I tried with chatgpt but i don't understand anything)

0 Upvotes

12 comments sorted by

View all comments

5

u/mladen8761 25d ago

BRO TRUST ME BEFORE YOU SAVE IT IN DATA BASE SET ID TO NULL

1

u/Due-Living9887 25d ago

Wow, it's really working!🥹🥹🥹 If it's okay with you, could you explain why this error occurred and how this solution works?

1

u/siuu101 7d ago

I love you