0% found this document useful (0 votes)
401 views

Spring Persistence Tutorial - Baeldung

This document summarizes the Spring Persistence Tutorial on the Baeldung website. It covers topics related to persistence with Spring like Hibernate, JPA, Spring Data JPA, and other technologies. The tutorial provides examples and explanations of concepts and features including transactions, repositories, queries, and more. It also lists related tutorials on REST, security, and other Spring topics.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
401 views

Spring Persistence Tutorial - Baeldung

This document summarizes the Spring Persistence Tutorial on the Baeldung website. It covers topics related to persistence with Spring like Hibernate, JPA, Spring Data JPA, and other technologies. The tutorial provides examples and explanations of concepts and features including transactions, repositories, queries, and more. It also lists related tutorials on REST, security, and other Spring topics.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

10/3/2021 Spring Persistence Tutorial | Baeldung

(/)

Spring Persistence Tutorial


Last modi ed: February 12, 2021

by baeldung (https://www.baeldung.com/author/baeldung/)

Series (https://www.baeldung.com/category/series/)
Spring Persistence
(https://www.baeldung.com/category/persistence/spring-
persistence/)
Hibernate (https://www.baeldung.com/tag/hibernate/)
JPA (https://www.baeldung.com/tag/jpa/)

The early-bird price of the new Learn Spring Data JPA


course is increasing by $35 on Friday:
>> GET ACCESS NOW (https://www.baeldung.com/learn-spring-
data-jpa-course#table)

This tutorial series focuses on doing Persistence with Spring - illustrating


examples with Hibernate, JPA and Spring Data.

Spring and JPA/Hibernate


https://www.baeldung.com/persistence-with-spring-series 1/7
10/3/2021 Spring Persistence Tutorial | Baeldung

Hibernate 5 with Spring (/hibernate-5-spring)


Con guring a DataSource Programmatically in Spring Boot (/spring-
boot-con gure-data-source-programmatic) 
Transactions with Spring and JPA (/transaction-con guration-with-
jpa-and-spring) (popular)
Transaction Propagation and Isolation in Spring @Transactional
(/spring-transactional-propagation-isolation) 
Programmatic Transaction Management in Spring (/spring-
programmatic-transaction-management) 
JPA/Hibernate Persistence Context (/jpa-hibernate-persistence-
context) 
The DAO with Spring and Hibernate (/persistence-layer-with-spring-
and-hibernate)
The DAO with JPA and Spring (/spring-dao-jpa)
Simplify the DAO with Spring and Java Generics (/simplifying-the-
data-access-layer-with-spring-and-java-generics)
Show Hibernate/JPA SQL Statements from Spring Boot (/sql-logging-
spring-boot)
Quick Guide on Loading Initial Data with Spring Boot (/spring-boot-
data-sql-and-schema-sql)

Spring Data JPA

JPA with Spring Setup (/the-persistence-layer-with-spring-and-jpa)


(popular)
Introduction to Spring Data JPA (/the-persistence-layer-with-spring-
data-jpa)
Spring Data JPA @Query (/spring-data-jpa-query) (popular)
https://www.baeldung.com/persistence-with-spring-series 2/7
10/3/2021 Spring Persistence Tutorial | Baeldung

Spring Data JPA @Modifying Annotation (/spring-data-jpa-modifying-


annotation)
Spring Data – CrudRepository save() Method (/spring-data-crud-
repository-save)
Derived Query Methods in Spring Data JPA Repositories (/spring-data-
derived-queries)
Spring Data JPA Delete and Relationships (/spring-data-jpa-delete)
Spring Data JPA and Null Parameters  (/spring-data-jpa-null-
parameters)
Spring Boot With H2 Database (/spring-boot-h2-database) (popular)
Disable Spring Data Auto Con guration (/spring-data-disable-auto-
con g)
@DynamicUpdate with Spring Data JPA  (/spring-data-jpa-
dynamicupdate)
LIKE Queries in Spring JPA Repositories (/spring-jpa-like-queries)
Query Entities by Dates and Times with Spring Data JPA (/spring-data-
jpa-query-by-date)
Limiting Query Results with JPA and Spring Data JPA (/jpa-limit-
query-results) 
Pagination and Sorting using Spring Data JPA (/spring-data-jpa-
pagination-sorting) (popular)
Sorting Query Results with Spring Data (/spring-data-sorting) 
Calling Stored Procedures from Spring Data JPA Repositories (/spring-
data-jpa-stored-procedures) 
Auditing with JPA, Hibernate, and Spring Data JPA (/database-
auditing-jpa)
Introduction to Spring Data JDBC (/spring-data-jdbc-intro)
Performance Di erence Between save() and saveAll() in Spring Data
(/spring-data-save-saveall)
https://www.baeldung.com/persistence-with-spring-series 3/7
10/3/2021 Spring Persistence Tutorial | Baeldung

Other Spring Persistence Technologies

Use Liquibase to Safely Evolve Your Database Schema (/liquibase-


refactor-schema-of-java-app)
Introduction to Liquibase Rollback (/liquibase-rollback)
Database Migrations with Flyway (/database-migrations-with- yway)
DynamoDB in a Spring Boot Application Using Spring Data (/spring-
data-dynamodb)
MyBatis with Spring (/spring-mybatis)
Working with Kotlin and JPA (/kotlin-jpa)
Spring JDBC (/spring-jdbc-jdbctemplate) (popular)
Using a List of Values in a JdbcTemplate IN Clause (/spring-
jdbctemplate-in-list) 
Introduction to Spring Data REST (/spring-data-rest-intro) 

Spring Data MongoDB

Introduction to Spring Data MongoDB (/spring-data-mongodb-


tutorial)
A Guide to Queries in Spring Data MongoDB (/queries-in-spring-data-
mongodb)
Spring Data MongoDB – Indexes, Annotations and Converters (/spring-
data-mongodb-index-annotations-converter)
Custom Cascading in Spring Data MongoDB (/cascading-with-dbref-
and-lifecycle-events-in-spring-data-mongodb)
https://www.baeldung.com/persistence-with-spring-series 4/7
10/3/2021 Spring Persistence Tutorial | Baeldung

Spring Data Reactive Repositories with MongoDB (/spring-data-


mongodb-reactive)
Spring Boot Integration Testing with Embedded MongoDB (/spring-
boot-embedded-mongodb)
Spring Data MongoDB Transactions (/spring-data-mongodb-
transactions)

Other Spring Tutorials

The REST with Spring Tutorial (/rest-with-spring-series/)


How to build REST Services with Spring

Spring Exceptions Tutorial (/spring-exceptions)


Some of the most common exceptions in Spring with examples – why
they occur and how to solve them quickly

Security with Spring (/security-spring)


How to Secure an MVC project, Login and Logout, how to Secure a REST
Service using OAuth.

The early-bird price of the new Learn Spring Data


JPA course is increasing by $35 on Friday:
>> GET ACCESS NOW (/learn-spring-data-jpa-course#table)

Comments are closed on this article!

https://www.baeldung.com/persistence-with-spring-series 5/7
10/3/2021 Spring Persistence Tutorial | Baeldung

CATEGORIES
SPRING (HTTPS://WWW.BAELDUNG.COM/CATEGORY/SPRING/)
REST (HTTPS://WWW.BAELDUNG.COM/CATEGORY/REST/)
JAVA (HTTPS://WWW.BAELDUNG.COM/CATEGORY/JAVA/)
SECURITY (HTTPS://WWW.BAELDUNG.COM/CATEGORY/SECURITY-2/)
PERSISTENCE (HTTPS://WWW.BAELDUNG.COM/CATEGORY/PERSISTENCE/)
JACKSON (HTTPS://WWW.BAELDUNG.COM/CATEGORY/JSON/JACKSON/)
HTTP CLIENT-SIDE (HTTPS://WWW.BAELDUNG.COM/CATEGORY/HTTP/)

SERIES
JAVA “BACK TO BASICS” TUTORIAL (/JAVA-TUTORIAL)
JACKSON JSON TUTORIAL (/JACKSON)
HTTPCLIENT 4 TUTORIAL (/HTTPCLIENT-GUIDE)
REST WITH SPRING TUTORIAL (/REST-WITH-SPRING-SERIES)
SPRING PERSISTENCE TUTORIAL (/PERSISTENCE-WITH-SPRING-SERIES)
SECURITY WITH SPRING (/SECURITY-SPRING)

ABOUT
ABOUT BAELDUNG (/ABOUT)
THE COURSES (HTTPS://COURSES.BAELDUNG.COM)
JOBS (/TAG/ACTIVE-JOB/)
THE FULL ARCHIVE (/FULL_ARCHIVE)
WRITE FOR BAELDUNG (/CONTRIBUTION-GUIDELINES)
EDITORS (/EDITORS)
OUR PARTNERS (/PARTNERS)
ADVERTISE ON BAELDUNG (/ADVERTISE)

TERMS OF SERVICE (/TERMS-OF-SERVICE)


PRIVACY POLICY (/PRIVACY-POLICY)
COMPANY INFO (/BAELDUNG-COMPANY-INFO)
CONTACT (/CONTACT)
https://www.baeldung.com/persistence-with-spring-series 6/7
10/3/2021 Spring Persistence Tutorial | Baeldung

https://www.baeldung.com/persistence-with-spring-series 7/7

You might also like