Leave a Reply

70 Comments on "Spring Boot Quick Start 30 – Adding Course APIs"

Notify of
avatar

Abhishek Chanda
Guest
Abhishek Chanda
19 days 6 hours ago

at 10:10, why does the new Topic instance not create a topic with blank name and description in the corresponding course entity? What if they were not blank and contained string value different from the actual Topic with the same id? Similarly for the updateCourse method. How the existing topic name and description are not affected by an update with a new instance. Something is happening behind the scene. Can you please elaborate. Your videos are very good and top quality course material.

Mauricio T.
Guest
Mauricio T.
2 months 9 days ago

I am very worried because I have worked with jpa entities. But now I see that I can not create them from the database. I went to Stackoverflow, and I saw that they removed the option because of IDE errors. How can I trust STS?

Manmohan Akash
Guest
Manmohan Akash
2 months 16 days ago

should redo this video

Stefano Mavilio
Guest
Stefano Mavilio
3 months 21 days ago

Thank you for your tutorials. Lets say you have the three packages Topic, Course and Term all programmed like your example. How can you take all terms by a topic?

Eric Clarke
Guest
Eric Clarke
3 months 22 days ago

Instead of creating the new Topic Object, course.setTopic(new Topic(topicId, "", ""));wouldn't it be correct to call something like:course.setTopic(topicService.getTopic(topicId));

Mehmet Gunacti
Guest
Mehmet Gunacti
3 months 20 days ago

you could do that, but why going to the db if you only need the topicId, which you already have ? In short, here course.setTopic(new Topic(topicId, "", "")); is more cost effective.

Lucky Sardana
Guest
Lucky Sardana
3 months 26 days ago

Hello Sir, Thanks a lot for your free tutorials, It would be even great if you could increase/bold the font size of the text in your eclipse IDE. Any plans on creating tutorials on microservices using spring boot Sir ?

Divya
Guest
Divya
4 months 9 days ago

may i know what is the need of adding {/id} for add coursemethod in controller?? We need to add the course to that particular topic id right? what is the purpose of binding the course id?Please expalin. Instead of this–> /topics/{topicid}/courses/{id}… we can write as /topics/{topicid}/courses right?

HARSHAD ARDE
Guest
HARSHAD ARDE
4 months 21 days ago

Probably just skipped one video about connecting to the external database. Kindle enlighten.

Moustafa Elkady
Guest
Moustafa Elkady
5 months 7 days ago

wake up, Mr.happy Indian

Dilip Diwakar
Guest
Dilip Diwakar
6 months 17 days ago

course.setTopic(new Topic(topicId,"","")); -> why this line did not update the topic name and desc to null?. Can you please explain.

1 2 3 6
wpDiscuz