liveBook · Manning

Spring Data JPA

Spring Data JPA is a Spring module that provides repository abstractions and query support for accessing relational data through JPA implementations.

How 2 Manning books explain it

Java Persistence with Spring Data and Hibernate epub

Spring Data JPA is a Spring Data module that adds repository and query-generation support on top of JPA implementations.

How it is used
Provides repository-based CRUD and query access to relational databases through a JPA provider.
How deep it goes
Works through configuration, a repository interface, proxy-generated methods, and a save-and-load test; retains JPA entity mapping.
Examples
Uses a message repository that saves and retrieves an entity, plus Spring Boot projects backed by MySQL.
What you can do after
Apply it via Spring Data JPA to configure a project, declare a repository, and store and load mapped entities.

Read how Java Persistence with Spring Data and Hibernate epub explains Spring Data JPA →

Troubleshooting Java, Second Edition

Spring Data JPA is a Spring-based library that provides repository abstractions for accessing relational data through Java Persistence API implementations.

How it is used
Uses repository abstractions while investigating SQL generated behind application code.
How deep it goes
Explains repository-based query generation and profiler interception, then stops short of repository implementation internals.
Examples
Uses a ProductRepository, a products endpoint, generated SQL, and repeated calls optimized to one execution.
What you can do after
Diagnose/debug with it by extracting generated SQL, checking execution counts, and testing suspicious queries in a SQL client.

Read how Troubleshooting Java, Second Edition explains Spring Data JPA →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.