All Courses are 25% of till 26th May, 2025

Days
Hours
Minutes
Seconds

Learn Spring Data JPA

Master Spring Data JPA and boost your productivity with a modern persistence framework

Learn Spring Data JPA through Practical Examples​​

Spring has full support for the JPA standard and, of course, for Hibernate.
Spring Data is built on that foundation to greatly simplify the persistence stack and add new, powerful functionalities. Yes, it goes beyond what JPA can do by itself.

This makes Spring Data JPA a fantastic choice for building a powerful yet clean persistence layer – while minimizing boilerplate code.

The course is built on coding through a real-world project – the best way to learn a complex framework and build a mature and flexible data access layer.

The lessons and exercises are your reference to come back to whenever you need them.

The canonical reference for learning Spring Data JPA with Spring Boot. The 6 modules cover everything from the basic configuration, creating repositories, customizing queries, and using native SQL. Simply put, the core functionality you need to create your persistence layer.

In addition to the core aspects, we’ll also look at more advanced features like projections, specifications, auditing and events, to make full use of the framework.

Everything I wish I had access to when I built my first persistence project with Spring.

1. Getting Started with Spring Data
JPA

3 LESSONS (Text) ~ 1.5 HOURS

  1. The Java Persistence Ecosystem
  2. Overview of Spring Data JPA (preview lesson)
  3. The Persistence Project We’re Building (2 parts)

2. Spring Data Repositories

7 LESSONS (Text) ~ 3.5 HOURS

  1. Spring Data JPA Setup
  2.  Introduction to Spring Data JPA Repositories
  3. Derived Query Methods
  4. Deep Dive Into Derived Query Methods
  5. Spring Data JPA Save Methods
  6. Spring Data JPA Delete Methods
  7. Testing Spring Data Repositories (preview lesson)

3. Spring Data Custom Queries with JPQL and native SQL

5 LESSONS (Text) ~ 4 HOURS

  1. Using @Query
  2. Using @Query with Parameters
  3. @Modifying Queries (preview lesson)
  4. Named Queries
  5. Returning a Custom Object from a Query

4. Pagination and Sorting

5 LESSONS (Text) ~ 4 HOURS

  1. Pagination and Sorting Support
  2. Sorting
  3.  Sorting with @Query
  4. Pagination (preview lesson)
  5. Using Pagination in Controllers (2 parts)

5. Alternate Querying Methods

3 LESSONS (Text) ~ 2 HOURS

  1. Building Queries with Specifications
  2. Using Query by Example
  3. Query DSL

6. Advanced Features

5 LESSONS (Text) ~ 3.5 HOURS

  1. Custom Methods in Repositories
  2. Spring Data and Transactions
  3. Domain Events (preview lesson)
  4. Auditing
  5. Entity Graphs

The lessons in this course are text-based, with a full project backing each one.

Access this course through Baeldung All Access

All 6 Courses (50+ modules, 200+ lessons)

IntelliJ Idea Ultimate (6 months free)

All upcoming courses (Maven, Hibernate, Mockito)

Certificates of Completion

Multiple-Choice questions in Each Lesson 

Pro Access

Yearly or the Lifetime access

Do you have a team who would benefit from taking the course?

rws-course-page-img-guarantee.png

20-Day Money Back Guarantee

I believe strongly in the quality of the course material to teach you the fundamentals of coding in Spring. I’ve put a lot of work and care into these lessons and hope you’re going to use it fully and up your Spring game.

I confidently back all courses with a 20-Day Money Back Guarantee. I want you to dive in deep and experience the full wealth of this resource without hesitation.

If the material isn’t a good fit, just contact me within 20 days of purchase, and ask for a full refund for any single course package.