Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Persisting Data with Spring Data JPA

via CodeSignal

Overview

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.

Syllabus

  • Unit 1: Introduction to Spring Data JPA
    • Learning Spring Data JPA
    • Enable SQL Logging in Spring Data JPA
    • Annotate TodoItem for JPA Entity
    • Implementing CRUD Operations in Spring Boot
  • Unit 2: Customizing JPA Repositories using Derived Query Methods
    • 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
  • Unit 3: Querying Data with Query Methods
    • Custom Queries with Spring Data JPA
    • Modifying Custom Query
    • Fixing Custom JPA Query
    • Adding New Custom Query
  • Unit 4: Entity Relationships and Fetching Strategies
    • 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
  • Unit 5: Pagination and Sorting with Spring Data JPA
    • Pagination and Sorting in Action
    • Tweaking the Sorting Configuration
    • Implement Custom Sorting and Pagination

Reviews

Start your review of Persisting Data with Spring Data JPA

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.