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.
91 Comments on "Spring Boot Quick Start 31 – Adding Entity Relationship and Extending Repository"
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
Nice Video! I am getting this exception : Consider defining a bean named 'entityManagerFactory' in your configuration. Kindly help me to fix this Koushik.
I created a working project (with Netbeans + NB SpringBoot plugin) with the full source of this course until the lesson 31: www.informatica-libera.net/codenameone/SpringCourse-mysql.zip Please note that I modified the pom.xml and the application.properties to connect to an external MySql database instead of Apache Derby: you can install MySql and modify my application.properties with your MySql username and password and database name. I hope this can be useful.
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!
How to user derived values in JPA data members
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.