SPRING BOOT | How to insert / store data into MySQL database with REST API in Java Spring Boot

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 18

  • @sridharka
    @sridharka 20 днів тому +1

    good going, and Please change the color of background to White with Black Letters at least from next Video on words , bro, I can understand better....

  • @shubhamkumarsinha6347
    @shubhamkumarsinha6347 21 день тому

    when I entered ctrl+space for jpa Repository, it is not showing jparepository? How I fix this

  • @fgharbi6260
    @fgharbi6260 9 місяців тому

    Hi thank you for this video. I would like to create an abstracat user before creating student but springboots's send me an error. Do you mind to do an extra video with abstracts class ? thank you very much

  • @LanAnh-bi8pv
    @LanAnh-bi8pv 7 місяців тому

    thank you so much

  • @lakshmipathi8836
    @lakshmipathi8836 8 місяців тому

    Hi bro I am adding the data via Postman but it is adding Null values, could you please help me to get it resolved

    • @movietrailerme1471
      @movietrailerme1471 8 місяців тому +2

      check the all key name same as defined in class variable when you passing value by postman every key name same as class variables

    • @lakshmipathi8836
      @lakshmipathi8836 8 місяців тому

      Now I am not able to store multiple data. It is storing only last input. Could you please help to store all data

    • @movietrailerme1471
      @movietrailerme1471 8 місяців тому

      @@lakshmipathi8836 when you send data by postman than change the id value or if you define I'd Generatedtype Auto than no need too pass I'd value from postman, I'd value automatically generated so remove only I'd line when you send the data by postman

    • @movietrailerme1471
      @movietrailerme1471 8 місяців тому

      ​@@lakshmipathi8836When you send the data by postman than change the id value

    • @movietrailerme1471
      @movietrailerme1471 8 місяців тому

      ​When you send the data by postman than change the id value

  • @ashokvarmarudraraju7301
    @ashokvarmarudraraju7301 Рік тому

    Thank you ❤

  • @charubabbar8807
    @charubabbar8807 Рік тому

    Hi Through postman I am getting response empty { } and rows are inserting in db as :
    +----+---------+------+
    | id | st_mark | name |
    +----+---------+------+
    | 1 | 0 | NULL |
    +----+---------+------+
    Please help! Thanks in advance