UPDATE data in Mysql database using Spring Boot and Postman tutorial | REST API
HTML-код
- Опубликовано: 6 май 2023
- How to perform update or put operation by using id in mysql database in rest api using spring boot and postman is shown
#restapi #mysql #springboot Наука
clearly understood sir🙇♂🙇♂,Thank u so muchh
Glad to hear that sir
Thanks a ton brother.
very nice and crisp explanation.
loved it.😇
Glad you liked it!! welcome
Your tutorials have helped me so much...I'm very new to springboot. I did it, it works like a charm. I can now do Create, Insert (POST), Select(GET), Delete (DEL) Update(PUT) with Spring boot. Can we do where we execute or call a procedure and pass parameters to MYSQL?
You want me to do that?
Thank you sir
So nice of you
Sir my save method is not working in post man it is not entering data in the databases
what should i do?
Are you getting any errors in console? check if you have the right variable names and annotations
How to update Name only other will be same .In json we have to pass only name value.Can you please tell me how to do this.
You need to pass the id and name from postman and inside the controller function after finding by id , set the new name and also u need to set the other old variable values before saving
it says setMark and getId are undefined functions??
Check your model if you have the right annotations