facing an error that, while executing postman body part is not sending to database as well as not showing in postman itself. I can just see {} instead of body part (name and mark). while id is autogenerating everytime i hit postman.
Very helpful, but I have a question. What if you want to just fetch the data from existing table without creating the new table. In your Student.class since you have defined a table to be created, does this mean every time you run the application the table get re-created?
It is the same procedure , you need to specify the exiting table name in the annotation. It doesn't create new table every time because after inserting some data if we rerun it we will still have that data , so it doesn't get lost , only creates it if that specified table doesn't exists
Best Video On YT For Spring Boot CRUD Operation
Wow thanks bro! means a lot
facing an error that, while executing postman body part is not sending to database as well as not showing in postman itself. I can just see {} instead of body part (name and mark).
while id is autogenerating everytime i hit postman.
so you are getting this during post operation? can you just have a log inside controller printing name and mark ?
Very helpful, but I have a question. What if you want to just fetch the data from existing table without creating the new table. In your Student.class since you have defined a table to be created, does this mean every time you run the application the table get re-created?
It is the same procedure , you need to specify the exiting table name in the annotation. It doesn't create new table every time because after inserting some data if we rerun it we will still have that data , so it doesn't get lost , only creates it if that specified table doesn't exists
Thank you so much for creating this video. :)
Glad it was helpful!