Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Spring Data JPA Master Class
Course Overview
Join the Community
Course Overview (1:24)
Setup
Postgres Database Server (1:52)
PSQL (3:52)
IntelliJ (1:56)
Cloning Repo (3:00)
Running the application (5:41)
Connecting to Database via IntelliJ (5:55)
Getting Started with Spring Data JPA
Section Overview (2:01)
Student Class (3:11)
Connecting to Database (5:46)
Map Classes to Tables using @Entity (5:56)
Sequence Generator and Value (3:50)
@Column (5:50)
Adding Datasource and No Arg Constructor (1:52)
@Table and Constraints (4:16)
Repositories
Understanding Repositories (4:50)
StudentRepository (7:47)
Exploring Repository Methods (5:48)
Exploring Repository Methods p2 (2:45)
Querying Data
Query Methods (4:32)
Query Methods P2 (5:42)
JPQL Query Methods (1:57)
@Query (7:00)
Native Queries (5:46)
Named Parameters (2:02)
@Modifying (5:58)
Sorting and Pagination
Installing Faker (2:26)
Saving Random Students using Faker (5:05)
Sort (6:44)
Paging and Sorting (5:15)
Inspect Paging and Sorting in Debug mode (3:51)
One to One Relationships
Intro (1:28)
Student Id Card Entity (5:11)
@OneToOne and @JoinColoum (3:17)
Student Id Card Repository (3:57)
Saving Student Id Card (4:23)
Cascade Type (2:52)
Hibernate Entity Lifecycle (7:59)
Fetch Type (4:37)
Uni Vs BiDirectional on 1 to 1 Relationships (5:03)
Orphan Removal (5:47)
@ForeingKey (3:03)
One to Many Relationships
Exercise (2:00)
Exercise Solution (2:53)
Many to To Bidirectional (5:29)
Testing Many to To Bidirectional (6:25)
Understanding Eager fetch type for One To Many (7:04)
Save Student Instead of Id Card (3:18)
Many to Many Relationships
Course Entity (4:06)
@Many to Many and @JoinColumn (4:08)
@Many To Many mappedBy (1:26)
Methods to add and remove course (2:24)
Many to Many relationships in Action (6:18)
@Embeddable (3:20)
@EmbeddedId and @MapsId (4:55)
Link Entities to Bridge Table (4:16)
Testing changes (5:37)
Adding Extra Column to Link Table (4:45)
@ForeingKey (2:13)
Transactions
Database Transaction (2:32)
Working with Transactions (6:03)
PSQL
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock