Leave a Reply

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

Notify of
avatar

Pralak Bhargav
Guest
Pralak Bhargav
13 days 7 hours ago

Wasn't this video supposed to be on how to connect to an external database???

Michael Humpl
Guest
Michael Humpl
30 days 1 minute ago

Time Mark 05:20. Unused URL components can be an error source. So would not it be better to write "/courses/{id}" instead of "/topics/{topicId}/courses/{id}", at the RequestMapping of the function getCourse, if the topicId is not necessary for the backend function call?

Jnbvht
Guest
Jnbvht
1 month 1 day ago

If you set the cascade parameter of the @ManyToOne annotation to 'CascadeType.ALL' or 'CascadeType.MERGE', then there will be adverse side-effects (i.e. the Topic will be overwritten).

Varun Singh
Guest
Varun Singh
1 month 12 days ago

Hey Hi!! Videos are really awesome and helpful… can u please explain creating the connection with external DB like mysql .

Pablo Manuel Arjonilla Cobreros
Guest
Pablo Manuel Arjonilla Cobreros
2 months 27 days ago

At 12:28, on the update method. Could we just not add the {id} to the mapping path?Thank you for your tutorials. They are extremely easy ot understand, and they provide a great amount of information.Edit: Nevermind. I understand now. You need this in case you need to actually change the ID of the item, and you pass in the bodyu the new ID you want to use.

Peace
Guest
Peace
3 months 10 days ago

I thought in this we were supposed to connect to external database if i am not mistaken. Thanks

Houssine Sghaire
Guest
Houssine Sghaire
3 months 11 days ago

hey Sir i'am very gald to see these tutorials but i hope if you can help me in the advanced levels in this new technologie thank for your intresting

Peace
Guest
Peace
3 months 16 days ago

Hey can you please answer? Did you configure some settings? Since i noticed when you changed from topic to course at one place it changes at other places also. In my case i have to go to each place to change it manually.I think i am missing some settings. Can you please advise.Now when i came to Controller it is showing me red crosses every where because it didn't update Course from Topic.Thanks for your help.

VIVEK KANNAN
Guest
VIVEK KANNAN
2 months 8 days ago

It is rename of the function. The shortcut key is Alt+Shift+R. Double click on the variable and do it. It would get changed where it is been called

luv2bwith
Guest
luv2bwith
3 months 27 days ago

Hi Koushik,Rather than creating a new Topic object(with blank name and description) to set the the Topic instance of the Course,wouldn't it be better if we just fetch the corresponding Topic object using TopicRepository's findOne method?

Java Brains
Guest
Java Brains
3 months 24 days ago

You could. But that's an unnecessary fetch. Like you see in this video, what Spring JPA needs is just the topic ID value. The rest of the properties don't matter anyway.

wpDiscuz