Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Spring Data JPA Master Class
Course Overview
Join the Community
Course Overview
Newsletter
Setup
Postgres Database Server
PSQL
IntelliJ
Cloning Repo
Running the application
Connecting to Database via IntelliJ
Getting Started with Spring Data JPA
Section Overview
Student Class
Connecting to Database (5:46)
Map Classes to Tables using @Entity
Sequence Generator and Value
@Column
Adding Datasource and No Arg Constructor
@Table and Constraints
Repositories
Understanding Repositories
StudentRepository
Exploring Repository Methods
Exploring Repository Methods p2
Querying Data
Query Methods
Query Methods P2
JPQL Query Methods
@Query
Native Queries
Named Parameters
@Modifying
Sorting and Pagination
Installing Faker
Saving Random Students using Faker
Sort
Paging and Sorting
Inspect Paging and Sorting in Debug mode
One to One Relationships
Intro
Student Id Card Entity
@OneToOne and @JoinColoum
Student Id Card Repository
Saving Student Id Card
Cascade Type
Hibernate Entity Lifecycle
Fetch Type
Uni Vs BiDirectional on 1 to 1 Relationships
Orphan Removal
@ForeingKey
One to Many Relationships
Exercise
Exercise Solution
Many to To Bidirectional
Testing Many to To Bidirectional
Understanding Eager fetch type for One To Many
Save Student Instead of Id Card
Many to Many Relationships
Course Entity
@Many to Many and @JoinColumn
@Many To Many mappedBy
Methods to add and remove course
Many to Many relationships in Action
@Embeddable
@EmbeddedId and @MapsId
Link Entities to Bridge Table
Testing changes
Adding Extra Column to Link Table
@ForeingKey
Transactions
Database Transaction
Working with Transactions
Next Steps
Spring Data Mongo
Sort
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock