Leave a Reply

40 Comments on "Spring Boot Quick Start 31 – Adding Entity Relationship and Extending Repository"

Notify of
avatar

Dương Trường Sơn
Guest
Dương Trường Sơn
9 days 18 hours ago

Before watching this tutorial, I was totally confused about why there is only the definitions in the Repository interface but can not find where their implementation are. Now I see the magic of naming the method name in the Repository interface. Excellent tutorial! Thank you Koushik!

vinay ganesh.d
Guest
vinay ganesh.d
19 days 5 hours ago

How to user derived values in JPA data members

Ali V
Guest
Ali V
1 month 1 day ago

Hi, awesome course, but may be you want to call this a subject instead of topic? When you say topic, it sounds like you are talking about modules in a course which is confusing based on the approach you took to build the entity typeA subject has courses that have topics or modules.

Mohammed Chowdhury
Guest
Mohammed Chowdhury
1 month 7 days ago

Hi, Its working get and post but seems like put and delete its not working for me any idea why is that . Thank you

Brookly Younce
Guest
Brookly Younce
1 month 9 days ago

I successfully completed 1-31. These have been great videos.

TheMahdim
Guest
TheMahdim
1 month 10 days ago

Thank you for this professional tutorial.

Kishan Kishore
Guest
Kishan Kishore
1 month 16 days ago

I am getting an Entity Not Found Exception. The error is resolved if I move the Topic class in the same package as the course class. What could be the cause of this exception?

livestupid thinkbrilliant
Guest
livestupid thinkbrilliant
2 months 11 days ago

i wish youtube would provide a speed x3 button for your videos…Luv you koushik :>

Di Gao
Guest
Di Gao
2 months 22 days ago

How can I add oracle dependency? I usually copy the oracle jdbc jar in tomcat/lib, but since i don't need setup tomcat by myself, how do I add it? I did not see oracle support in the spring starter project as well.

Omkar Kulkarni
Guest
Omkar Kulkarni
2 months 26 days ago
@Koushik, your courses are super impressive. However i just wanted to point out one thing. While you associate topic as a child object to the course(as a parent object), you actually pass: new Topic(topicId, "", ""). I am not sure why it works for you, for me it just sets the exact object we pass. Unfortunately, i had to pass method from topicService to add the topic to the course. Following is my controller:@RequestMapping(method = RequestMethod.POST, value="/topics/{topicId}/courses") public void addCourse(@RequestBody Course course, @PathVariable String topicId){ Topic parentTopic = topicsService.getTopic(topicId); course.setTopic(parentTopic);// course.setTopic(new Topic(topicId, "", "")); courseService.addCourse(course); }Can you comment on this?
1 2 3 4
wpDiscuz