4 Working with Spring Data JPA

This chapter covers

  • Introducing Spring Data and its modules
  • Examining the main concepts of Spring Data JPA
  • Investigating the query builder mechanisms
  • Examining projections, and modifying and deleting queries
  • Examining Query by Example

Spring Data is an umbrella project containing many projects specific to various databases. These projects are developed in partnership with the companies creating the database technologies themselves. Spring Data’s goal is to provide an abstraction for data access while retaining the underlying specifics of the various data stores.

We’ll discuss the following general features provided by Spring Data:

  • Integration with Spring via JavaConfig and XML configuration

  • Repository and ...

Get Java Persistence with Spring Data and Hibernate now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.