Skip to content

Commit d579be5

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/asciidoc/repositories.adoc

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

3030
The central interface in the Spring Data repository abstraction is `Repository`.
31-
It takes the domain class to manage as well as the ID type of the domain class as type arguments.
31+
It takes the domain class to manage as well as the identifier type of the domain class as type arguments.
3232
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.
3333
The https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/repository/CrudRepository.html[`CrudRepository`] and https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/repository/ListCrudRepository.html[`ListCrudRepository`] interfaces provide sophisticated CRUD functionality for the entity class that is being managed.
3434

@@ -62,6 +62,7 @@ public interface CrudRepository<T, ID> extends Repository<T, ID> {
6262
<6> Indicates whether an entity with the given ID exists.
6363
====
6464

65+
The methods declared in this interface are commonly referred to as CRUD methods.
6566
`ListCrudRepository` offers equivalent methods, but they return `List` where the `CrudRepository` methods return an `Iterable`.
6667

6768
NOTE: We also provide persistence technology-specific abstractions, such as `JpaRepository` or `MongoRepository`.

0 commit comments

Comments
 (0)