Spring Persistence Tutorial
Last modified: December 9, 2020
This tutorial series focuses on doing Persistence with Spring - illustrating examples with Hibernate, JPA and Spring Data.
Spring and JPA/Hibernate
- Transactions with Spring and JPA (popular)
- Transaction Propagation and Isolation in Spring @Transactional
- The DAO with Spring and Hibernate
- The DAO with JPA and Spring
- Simplify the DAO with Spring and Java Generics
- Show Hibernate/JPA SQL Statements from Spring Boot
- Quick Guide on Loading Initial Data with Spring Boot

Spring Data JPA

Other Spring Persistence Technologies

Spring Data MongoDB
- Introduction to Spring Data MongoDB
- A Guide to Queries in Spring Data MongoDB
- Spring Data MongoDB – Indexes, Annotations and Converters
- Custom Cascading in Spring Data MongoDB
- Spring Data Reactive Repositories with MongoDB
- Spring Boot Integration Testing with Embedded MongoDB
- Spring Data MongoDB Transactions

Other Spring Tutorials
- The REST with Spring Tutorial
How to build REST Services with Spring - Spring Exceptions Tutorial
Some of the most common exceptions in Spring with examples – why they occur and how to solve them quickly - Security with Spring
How to Secure an MVC project, Login and Logout, how to Secure a REST Service using OAuth.
Generic bottom