Introduction

本章介绍 Spring Data 存储库的基本基础。在继续了解 JDBC 或 R2DBC 详细信息之前,请确保您深入理解此处介绍的基本概念。

This chapter explains the basic foundations of Spring Data repositories. Before continuing to the JDBC or R2DBC specifics, make sure you have a sound understanding of the basic concepts explained here.

Spring Data 存储库抽象的目标是显著减少为各种持久性存储实现数据访问层所需的样板代码量。

The goal of the Spring Data repository abstraction is to significantly reduce the amount of boilerplate code required to implement data access layers for various persistence stores.