Access the full course here: javabrains.io/courses/spring_bootquickstart
Learn how to implement a relationship mapping using @ManyToOne as well as establish relationship based find-filter method in the JPA repository.
99 Comments on "Spring Boot Quick Start 31 – Adding Entity Relationship and Extending Repository"
in getCourse shouldnt we check if the cpurse belongs to a particular topicId , else if i go wit /topics/hahaha/courses/java-streams still, the java-streams object will be shown
what if I have another variable called "topicId" in my Course object?
I am not able to add anything to course, it just returns blank even if I try to add.
getting cannot add foreign key constraint error. can someone help me on this pls
Is there a difference between getByName and findByName?
And How to get the records those are order by time descending and that too only a bunch of them, example : 10 most recent records??
This is really crazy, the developer has to only declare the method signature and Spring data JPA will implement the method!! Welcome to new age programming – hats off to Spring!!
Hello, did anyone code for the Lessons API, I tried and getting the SQL nested query error. Any help appreciated. Thank you
I was also getting similar error. Found out that I was trying to delete topic without deleting courses/courseid from that topic.
WoW… Spring evolved a lot…. That auto repository implementation justifies – Convention over Configuration
In CodeChannels.com, you can learn to code by watching videos and stay up to date with latest code shows, events and tutorials aggregated from various leading developer communities.
Copyright 2016 By CodeChannels.com All rights reserved.