FETCH data by using ID in Mysql database using Spring Boot and Postman tutorial | REST API

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии • 8

  • @sujitwaghmare3546
    @sujitwaghmare3546 11 месяцев назад +1

    Best Video On YT For Spring Boot CRUD Operation

  • @chandralekha989
    @chandralekha989 7 месяцев назад

    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.

    • @unitedtoptech6288
      @unitedtoptech6288  7 месяцев назад

      so you are getting this during post operation? can you just have a log inside controller printing name and mark ?

  • @ndujamz
    @ndujamz Год назад

    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?

    • @unitedtoptech6288
      @unitedtoptech6288  Год назад +1

      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

  • @fbk316
    @fbk316 8 месяцев назад

    Thank you so much for creating this video. :)