©  Raj Malhotra 2019
Raj MalhotraRapid Java Persistence and Microserviceshttps://doi.org/10.1007/978-1-4842-4476-0_3

3. Basic Persistence with Spring

Raj Malhotra1 
(1)
Faridabad, Haryana, India
 

The intent of this chapter is to explain easy and convenient Java persistence with optimal choices for performance. We will recap the various options and show examples of important use cases. Persistence, in my opinion, is the most important layer in any application.

Starting with ORM frameworks, we have seen a lot of love and hate for ORMs in the past decade, yet they are still heavily used by the community. ORMs provide a lot of choices in the Java ecosystem for database interaction. Let’s start by discussing the first popular choice—Spring Data JPA—and take ...

Get Rapid Java Persistence and Microservices: Persistence Made Easy Using Java EE8, JPA and Spring now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.