Leave a Reply

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

Notify of
avatar

livestupid thinkbrilliant
Guest
livestupid thinkbrilliant
12 days 2 hours ago

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

Di Gao
Guest
Di Gao
22 days 5 hours 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
25 days 19 hours 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?
bhopaltutors ankit
Guest
bhopaltutors ankit
28 days 8 hours ago

Please explain how to use other databases MYSQL etc

Anil Karamchandani
Guest
Anil Karamchandani
1 month 1 day ago

CourseRepository is an interface and so is CrudRepository so which is the class that implements these interfaces and provides the implementation for custom methods and basic crud methods ?

Stack Flow
Guest
Stack Flow
1 month 9 days ago

great buddy, cool trick about that auto implementation from the function name! cheers!

Евгений Суворов
Guest
Евгений Суворов
1 month 27 days ago

sources? thx

Christopher Mailloux
Guest
Christopher Mailloux
2 months 5 days ago

What if I wanted to find by multiple fields? For example, find a user where first name and last name fields are both a given value. Obviously I don't want to just findAllUsers and filter; that requires unnecessary network activity / database interaction.

Devanathan Narasimhan
Guest
Devanathan Narasimhan
2 months 11 days ago

Hi Koushik,Your tutorial video is awesome,i have query, how to use .yml file using springboot webservices..

Deepak Pandey
Guest
Deepak Pandey
2 months 23 days ago

Is it required/mandatory to put @Repository annotation on courseRepository for successful autowiring in service? As in Spring 4 we need @Repository annotation its mandatory.

1 2 3
wpDiscuz