- 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.
- Python 深度學(xué)習(xí)
- AngularJS Web Application Development Blueprints
- Apache Spark 2 for Beginners
- C語(yǔ)言從入門到精通(第4版)
- Arduino家居安全系統(tǒng)構(gòu)建實(shí)戰(zhàn)
- Raspberry Pi Home Automation with Arduino(Second Edition)
- Solr Cookbook(Third Edition)
- Ext JS 4 Plugin and Extension Development
- Android高級(jí)開(kāi)發(fā)實(shí)戰(zhàn):UI、NDK與安全
- Software Architecture with Python
- 高質(zhì)量程序設(shè)計(jì)指南:C++/C語(yǔ)言
- SaaS攻略:入門、實(shí)戰(zhàn)與進(jìn)階
- Getting Started with the Lazarus IDE
- 計(jì)算思維與Python編程
- Scala編程(第4版)