Skip to content

Commit 42badf2

Browse files
committed
Polishing.
Fix grammar. Add note about store-specific support. See #2960 Original pull request: #2961
1 parent 02d780f commit 42badf2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The methods declared in this interface are commonly referred to as CRUD methods.
4040
NOTE: We also provide persistence technology-specific abstractions, such as `JpaRepository` or `MongoRepository`.
4141
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`.
4242

43-
Additional to the `CrudRepository`, there are {spring-data-commons-javadoc-base}/org/springframework/data/repository/PagingAndSortingRepository.html[`PagingAndSortingRepository`] and {spring-data-commons-javadoc-base}/org/springframework/data/repository/ListPagingAndSortingRepository.html[`ListPagingAndSortingRepository`] which adds additional methods to ease paginated access to entities:
43+
Additional to the `CrudRepository`, there are {spring-data-commons-javadoc-base}/org/springframework/data/repository/PagingAndSortingRepository.html[`PagingAndSortingRepository`] and {spring-data-commons-javadoc-base}/org/springframework/data/repository/ListPagingAndSortingRepository.html[`ListPagingAndSortingRepository`] which add additional methods to ease paginated access to entities:
4444

4545
.`PagingAndSortingRepository` interface
4646
[source,java]
@@ -53,6 +53,9 @@ public interface PagingAndSortingRepository<T, ID> {
5353
}
5454
----
5555

56+
NOTE: Extension interfaces are subject to be supported by the actual store module.
57+
While this documentation explains the general scheme, make sure that your store module supports the interfaces that you want to use.
58+
5659
To access the second page of `User` by a page size of 20, you could do something like the following:
5760

5861
[source,java]

0 commit comments

Comments
 (0)