Skip to content

Commit adbaf62

Browse files
committed
Clarification on the the term CRUD methods in reference documentation.
Fixes #2792.
1 parent b9f69f6 commit adbaf62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/asciidoc/repositories.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For detailed information on the specific features of your module, see the chapte
2121
== Core concepts
2222

2323
The central interface in the Spring Data repository abstraction is `Repository`.
24-
It takes the domain class to manage as well as the ID type of the domain class as type arguments.
24+
It takes the domain class to manage as well as the identifier type of the domain class as type arguments.
2525
This interface acts primarily as a marker interface to capture the types to work with and to help you to discover interfaces that extend this one.
2626
The https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/repository/CrudRepository.html[`CrudRepository`] interface provides sophisticated CRUD functionality for the entity class that is being managed.
2727

@@ -55,6 +55,8 @@ public interface CrudRepository<T, ID> extends Repository<T, ID> {
5555
<6> Indicates whether an entity with the given ID exists.
5656
====
5757

58+
The methods declared in this interface are commonly referred to as CRUD methods.
59+
5860
NOTE: We also provide persistence technology-specific abstractions, such as `JpaRepository` or `MongoRepository`.
5961
Those interfaces extend `CrudRepository` and expose the capabilities of the underlying persistence technology in addition to the rather generic persistence technology-agnostic interfaces such as `CrudRepository`.
6062

0 commit comments

Comments
 (0)