- Spring 5.0 By Example
- Claudio Eduardo de Oliveira
- 232字
- 2021-06-24 19:17:40
Spring Data JPA
The Spring Data JPA provides an easy way to implement a data access layer using the JPA specification from Java EE. Usually, these implementations had a lot of boilerplate and repetitive code and it was hard to maintain the changes in the database code. The Spring Data JPA is trying to resolve these issues and provides a comprehensible way to do that without boilerplate and repetitive code.
The JPA specification provides an abstraction layer to interact with different database vendors that have been implemented. Spring adds one more layer to the abstraction in a high-level mode. It means the Spring Data JPA will create a repositories implementation and encapsulate the whole JPA implementation details. We can build our persistence layer with a little knowledge of the JPA spec.
Say goodbye to the DAO (Data Access Object) pattern and implementations. The Spring Data JPA aims to solve this problem with a well-tested framework and with some production-ready features.
Now, we have an idea of what the Spring Data JPA is. Let's put it into practice.
- 零基礎(chǔ)PHP學(xué)習(xí)筆記
- Python從入門到精通(精粹版)
- TestNG Beginner's Guide
- PostgreSQL 11從入門到精通(視頻教學(xué)版)
- JavaScript+Vue+React全程實(shí)例
- 數(shù)據(jù)結(jié)構(gòu)(C語(yǔ)言)
- MySQL數(shù)據(jù)庫(kù)基礎(chǔ)實(shí)例教程(微課版)
- Java編程技術(shù)與項(xiàng)目實(shí)戰(zhàn)(第2版)
- Learning AngularJS for .NET Developers
- RESTful Java Web Services(Second Edition)
- ArcGIS for Desktop Cookbook
- 快速入門與進(jìn)階:Creo 4·0全實(shí)例精講
- JavaScript動(dòng)態(tài)網(wǎng)頁(yè)編程
- Kubernetes進(jìn)階實(shí)戰(zhàn)
- Visual C++開發(fā)寶典