Spring Data JPA Masterclass

2025-05-26 - 2025-05-28

Spring Data JPA Masterclass (online)

This training provides you with a comprehensive overview of Spring Data JPA - practical and tailored to your needs. The choice is yours:

The 3-day Spring Data JPA Masterclass consists of the 1-day training "JPA Basics" and the 2-day training "Spring Data JPA"

JPA Basics(1 day)

Wouldn’t it be great if you could focus on application logic during development instead of bothering with JDBC-based database accesses? What if you could read and edit your data via properties of Java objects without having to write an SQL statement?

You can do that using Jakarta Persistence (formerly JPA), one of the most popular Java specifications. The implementations of the standard map database tables to entity classes using annotations. These can then be used to read records from the database and convert them to Java objects, and to automatically store changes in the database.

During this workshop, I will use lots of examples and exercises to show you how to do all of this and why you should still know SQL.

Spring Data JPA (2 days)

Spring Data JPA seamlessly integrates Jakarta Persistence (formerly JPA) into the Spring stack and provides many features that make Jakarta Persistence easier to use and improve developer productivity. That’s why many teams prefer using Spring Data JPA over plain Jakarta Persistence or any of its implementations.

During this workshop, I will use many examples to show you how to get the most out of Spring Data JPA, which features simplify your development and which often cause trouble in production.

Agenda

JPA Basics(1 day)

At the beginning of the training, I will explain all the basic terms, the required dependencies and configurations of Jakarta Persistence.

Building on this, we will model your first entities and use them to create, edit and delete records in a database. You will learn:

After you learned about basic mappings, we will take a closer look at JPQL. This is an SQL-like query language that enables you to define queries based on your entities.

Spring Data JPA (2 days)

During this training, you will work with lots of examples to learn more about Spring Data JPA’s advanced features and concepts.

You learn how to implement easy-to-use repositories by

You learn how to query data efficiently by

Finally, we will discuss how to create and migrate your database schema automatically with Spring Boot, Flyway or Liquibase.

Your Trainers

Thorben Janssen

Thorben Janssen

JPA & Hibernate

  • Advanced Hibernate
  • Hibernate Performance Tuning (Online)
  • Spring Data JPA Masterclass

Thorben Janssen is a consultant and trainer who helps teams build better persistence layers with JPA and Hibernate. He’s the author of the Amazon best-selling book “Hibernate Tips”, which offers More than 70 solutions to common Hibernate problems, and an international speaker with more than 20 years of experience in JPA and Hibernate. He also writes about various persistence topics on thorben-janssen.com and helps developers improve their skills in the Persistence Hub (persistence-hub.com).

All info about training