Persisting Data with Spring Data JPA
This chapter helps you understand how to persist data using Spring Data JPA. You will learn the basics of Spring Data JPA, how to work with custom repositories, query data using various methods, manage entity relationships, and implement pagination and sorting in your application.
Lessons and practices
Learning Spring Data JPA
Enable SQL Logging in Spring Data JPA
Annotate TodoItem for JPA Entity
Implementing CRUD Operations in Spring Boot
Derived Query Methods in Action
Modifying a Derived Query Method in Spring Boot
Debug and Fix Derived Query Methods
Implement Custom Query Methods and Endpoints
Custom Queries with Spring Data JPA
Modifying Custom Query
Fixing Custom JPA Query
Adding New Custom Query
Entity Relationships in Spring Data JPA
Defining One-to-One Relationships between Entities
Defining One-to-Many Relationships between Entities
Defining Many-to-Many Relationships between Entities
Pagination and Sorting in Action
Tweaking the Sorting Configuration
Implement Custom Sorting and Pagination
Interested in this course? Learn and practice with Cosmo!
Practice is how you turn knowledge into actual skills.