- 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.
- 流量的秘密:Google Analytics網站分析與優化技巧(第2版)
- Vue.js設計與實現
- JavaScript前端開發模塊化教程
- Java EE 6 企業級應用開發教程
- Java游戲服務器架構實戰
- Apache Mesos Essentials
- SSM輕量級框架應用實戰
- Python機器學習算法: 原理、實現與案例
- Mastering Akka
- PHP編程基礎與實踐教程
- JSP程序設計實例教程(第2版)
- Python青少年趣味編程
- Delphi開發典型模塊大全(修訂版)
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- PostgreSQL 12 High Availability Cookbook