Spring Data JPA Tutorials & Protips

Spring Data JPA Auditing using Spring Boot and MySQL

A complete guide to learn what is Spring Data JPA auditing feature and how to enable it in a Spring Boot and MySQL application.

MySQLSpring BootSpring Data JPA

Dynamic Queries with Spring Data JPA Specifications

A complete guide to learn what is Spring Data JPA Specifications and how to use it to generate dynamic database queries.

Spring BootSpring Data JPA

Introduction to Spring Data JPA Repositories

A complete guide to learn in detail about Spring Data repository interfaces such as CrudRepository, PagingAndSortingRepository, and JpaRepository.

Spring Data JPA

Spring Data JPA Composite Primary Key Mapping Example

A complete guide to map a composite primary key by using both @IdClass and @EmbeddedId annotations in Spring Data JPA.

Spring BootSpring Data JPA

Spring Data JPA Many To Many Relationship Mapping Example

A step-by-step guide on how to map and use a many-to-many relationship using Spring Data JPA and MySQL in a Spring Boot application.

MySQLSpring BootSpring Data JPA

Spring Data JPA One To Many Relationship Mapping Example

A step by step guide to create and use a one to many relationship mapping in a Spring Data JPA and MySQL application.

MySQLSpring BootSpring Data JPA

Spring Data JPA One To One Relationship Mapping Example

A complete guide to define and use a one-to-one relationship mapping in a Spring Data JPA and MySQL project.

MySQLSpring BootSpring Data JPA

Pagination with Spring Data JPA

A comprehensive guide to learn how to use paginate query results using the Pageable interface in Spring Data JPA.

Spring BootSpring Data JPA

Sorting Query Results with Spring Data JPA

A complete guide to understand how sorting works in Spring Data JPA and how to use it for derived, named, and custom queries.

Spring BootSpring Data JPA

How to Use Spring Data JPA Named Queries

A comprehensive guide to create and use named queries in a Spring Boot application. Learn to create named queries by using a properties file, annotations, or the orm.xml file.

Spring BootSpring Data JPA

Spring Data JPA Custom Queries using @Query Annotation

A comprehensive guide to learn how to create and use both JPQL and native SQL queries by using the @Query annotation in Spring Data JPA.

Spring BootSpring Data JPA

Derived Query Methods in Spring Data JPA

A comprehensive guide to learn how to create and use the derived query methods in Spring Data JPA.

Spring BootSpring Data JPA

Accessing Data with Spring Data JPA and MySQL

Learn how to access data using Spring Data JPA with MySQL database in a Spring Boot application.

MySQLSpring BootSpring Data JPA

Spring Data JPA with H2 DataBase and Spring Boot

Learn how to use Spring Data JPA with H2 in-memory database in a Spring Boot application for storing, accessing, updating and deleting entities.

Spring BootSpring Data JPA

Getting Started with Spring Data JPA

Learn what is Spring Data JPA (Java Persistence API) and how to configure it in a Spring Boot application.

Spring BootSpring Data JPA

✨ Learn to build modern web applications using JavaScript and Spring Boot

I started this blog as a place to share everything I have learned in the last decade. I write about modern JavaScript, Node.js, Spring Boot, core Java, RESTful APIs, and all things web development.

The newsletter is sent every week and includes early access to clear, concise, and easy-to-follow tutorials, and other stuff I think you'd enjoy! No spam ever, unsubscribe at any time.