Spring Data JPA
Master database management, advanced querying, and expert data handling with ease
- of video
- 6.7 h
- lectures
- 111
- sections
- 21
$149.97one payment
Lifetime access. 15-day money-back guarantee.
Want a mentor as well? The Academy gives you every course on Amigoscode plus code reviews, daily live calls and interview prep, for $129/month. Compare →
“Amigoscode does a pretty darned good job, and consistently too, covering Spring, and for that I'm very appreciative.”
What you'll learn
By the end of this course
- JPA and Hibernate Fundamentals - Understand how Spring Data JPA simplifies data persistence.
- Entity Relationships - Master One-to-One, One-to-Many, and Many-to-Many mappings.
- Database Transactions - Learn how to manage transactions and ensure data integrity.
- Advanced Querying - Use JPQL, native queries, projections, and DTOs for optimized data retrieval.
- 1 to 1 relationships - Master One-to-One, One-to-Many, and Many-to-Many mappings.
- 1 to many relationships - Master One-to-One, One-to-Many, and Many-to-Many mappings.
- Many to many relationships - Master One-to-One, One-to-Many, and Many-to-Many mappings.
- @Embeddable & @MapsId - Take full control of bridge tables with @Embeddable & @MapsId.
- DTOs - Data Transfer Objects and DTO projections.
- Auditing and Soft Deletes - Track entity changes and implement soft delete functionality.
- Schema Evolution - Version your database effectively using Flyway.
Curriculum
21 sections, 111 lectures
6.7 h of video. Open any section to see its lectures.
1Intro4 lectures · 10 min
- 1Course Outline4 min
- 2Intro To Hibernate And Spring Data Jpa5 min
- 3Recommended Courses
- 4Slides
2Environment setup4 lectures · 9 min
- 1Intellij Ultimate
- 2Clone The Repo3 min
- 3Docker5 min
- 4Run The Application1 min
3Getting started9 lectures · 31 min
- 1Student Class5 min
- 2@Entity And @Id1 min
- 3Test Changes5 min
- 4Sequences6 min
- 5@Column7 min
- 6@Table2 min
- 7Why We Need No Arg Contructor1 min
- 8Intellij Database Tools3 min
- 9End Section Commit
4Repositories5 lectures · 18 min
- 1What Are Repositories4 min
- 2Student Repository3 min
- 3Count And Save6 min
- 4Exploring Other Methods4 min
- 5End Section Commit
5Queries and jpql8 lectures · 30 min
- 1Method Name Derived Queries6 min
- 2More Method Name Derived Queries7 min
- 3Jpql Query Methods2 min
- 4@Query And Jpql4 min
- 5Named Parameters2 min
- 6@Modifying And @Transactional6 min
- 7Native Queries4 min
- 8End Section Commit
6Sorting and pagination5 lectures · 28 min
- 1Adding Random Students6 min
- 2Sorting6 min
- 3Pagination9 min
- 4Query Limit Inspector7 min
- 5End Section Commit
7To 1 relationships12 lectures · 52 min
- 1About Next 3 Sections2 min
- 2Understanding No Session Error6 min
- 3Uni Vs Birectional Relationships8 min
- 4Orphan Removal4 min
- 5Studentidcard6 min
- 6@Onetoone And @Joincolumn6 min
- 7@Foreignkey2 min
- 8Nullable And Unique1 min
- 9Studentidcardrepository1 min
- 10Lets Try To Create A Card3 min
- 11Understanding Cascade Types9 min
- 12Fetch Type5 min
8One to one relationships1 lecture · 1 min
- 1End Section Commit
9Entity life cycle4 lectures · 16 min
- 1Detached Entity Error5 min
- 2Hibernate Entity Lifecycle8 min
- 3Save And Update Entities4 min
- 4End Section Commit
10Exercise2 lectures · 5 min
- 1Solution Explanation
- 2Solution Explanation5 min
11One to many8 lectures · 44 min
- 1@Onetomany11 min
- 2Solve No Session With Eager And Fetch7 min
- 3Hibernate Initialize8 min
- 4@One To Many And Bidirectional5 min
- 5Test Add Book Method5 min
- 6Test Remove Book Method7 min
- 7What We Have So Far2 min
- 8End Section Commit
12Refactoring2 lectures · 1 min
- 1Organize Code1 min
- 2End Section Commit
13Many to many relationships7 lectures · 32 min
- 1Intro1 min
- 2Course Entiry And Repository3 min
- 3@Manytomany And @Jointable5 min
- 4Test Changes6 min
- 5Add And Remove To Student And Course Sets6 min
- 6Test Many To Many Changes10 min
- 7End Section Commit
14Embeding and mapsid14 lectures · 42 min
- 1Intro1 min
- 2Createdat Column3 min
- 3End Section Commit
- 4Courseenrollment Entity And Id4 min
- 5@Embedeble3 min
- 6@Mapsid7 min
- 7Commit
- 8Exercise
- 9Exercise Solution1 min
- 10Switch To New Bridge Table5 min
- 11Test Changes8 min
- 12Commit
- 13Bi-directional Exercise
- 14Exercise Solution10 min
15Soft delete4 lectures · 10 min
- 1What Is Soft Delete1 min
- 2@Sqldelete6 min
- 3@Sqlrestriction3 min
- 4End Section Commit
16Auditing and entity lifecycle events6 lectures · 13 min
- 1What Is Auditing1 min
- 2Auditing In Action6 min
- 3More Auditing Annotations3 min
- 4Auditoraware3 min
- 5End Section Commit
- 6End Section Commit
17Data transfer objects4 lectures · 18 min
- 1Never Do This5 min
- 2Using Dtos6 min
- 3Dto Projection7 min
- 4End Section Commit
18Tostring and equals and hashcode3 lectures · 17 min
- 1The Tostring Problem8 min
- 2Best Way To Override Tostring5 min
- 3Equals And Hashcode4 min
19Database versioning and scheme evolution2 lectures · 3 min
- 1Database Migrations3 min
- 2Recommended Courses
20Database transactions5 lectures · 20 min
- 1Database Transactions And Acid2 min
- 2Account Package5 min
- 3The Problem6 min
- 4@Transactional7 min
- 5End Section Commit
21Outro2 lectures · 1 min
- 1Feedback
- 2Next Course
Choose how you learn
Learn on your own, or with people who check your work
The course is yours to keep. The Academy is this course and every other one, plus the people who get you hired.
Spring Data JPA
The course, on your own
$149.97one payment
- 111 lectures, 6.7 h of video
- Source code for everything you build
- Subtitles on every video
- 6 months of IntelliJ IDEA Ultimate
- Lifetime access to the course and its updates
15-day money-back guarantee
The Academy
The courses, plus the people
$129/monthcancel anytime
This course, plus
- Every course on Amigoscode 50+ in the Zero to Hired Roadmap
- Daily live calls and 1:1 instructor time
- Code reviews and pair programming on what you build
- Interview prep mock interviews, System Design Lab, CV and LinkedIn review
- Land an interview in 90 days or we coach you 1:1 free until you do.
7-day money-back guarantee · Secure checkout on Skool
The course costs the same as under 2 months of the Academy, and the Academy includes it.
“Nelson was teaching 90% of my job. I was already implementing everything I learnt from it.”
“I was a totally different person. More confident as a developer, more prepared for my job.”
GabrielaSoftware Engineer at Mercado Livre“I studied biomedicine and psychology. I found Nelson's Java tutorials while looking for a course for my brother. I was hooked and now here I am, a software engineer at IKEA.”
NajmaSoftware Engineer at IKEAAbout this course
Who is this course for?
Level: All (Junior, Mid and Senior Engineers).
How long will it take?
There are about 7 hours of video. Most people finish in 1 weeks at 5 hours a week, plus the time you spend building along.
Do I keep access?
Yes. You pay once and keep the course for life, including updates.
What if it isn't for me?
Email us within 15 days of buying and we'll refund you in full.
Should I buy the course or join the Academy?
Buy the course if you only want this topic and you learn well on your own. Join the Academy if you want to get hired or move up: you get every course on Amigoscode, this one included, plus daily live calls, code reviews and interview prep, for $129/month. The course is $149.97 once.