File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
src/main/antora/modules/ROOT/pages Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 33Oliver Gierke; Thomas Darimont; Christoph Strobl; Mark Pollack; Thomas Risberg; Mark Paluch; Jay Bryant
44:revnumber: {version}
55:revdate: {localdate}
6- :feature-scroll: true
76
87(C) 2008-2025 The original authors.
98
Original file line number Diff line number Diff line change 11[[repositories.core-concepts]]
22= Core concepts
3+ :feature-scroll:
34
45The central interface in the Spring Data repository abstraction is `Repository`.
56It takes the domain class to manage as well as the identifier type of the domain class as type arguments.
Original file line number Diff line number Diff line change 11[[repositories.query-methods.details]]
22= Defining Query Methods
3+ :feature-scroll:
34
45The repository proxy has two ways to derive a store-specific query from the method name:
56
@@ -457,10 +458,10 @@ ifdef::feature-scroll[]
457458| `limit + 1` at `OffsetScrollPosition.getOffset()`
458459| One to many queries fetching data starting at `OffsetScrollPosition.getOffset()` applying limiting.
459460a| A `Window` can only navigate to the next `Window`.
460- endif::[]
461461
462462* `Window` provides details whether there is more data to fetch.
463463* Offset-based queries becomes inefficient when the offset is too large because the database still has to materialize the full result.
464+ endif::[]
464465
465466| `Page<T>`
466467| `Pageable.getPageSize()` at `Pageable.getOffset()`
@@ -518,8 +519,6 @@ QSort sort = QSort.by(QPerson.firstname.asc())
518519 .and(QSort.by(QPerson.lastname.desc()));
519520----
520521
521- ifdef::feature-scroll[]
522- endif::[]
523522
524523[[repositories.limit-query-result]]
525524=== Limiting Query Results
You can’t perform that action at this time.
0 commit comments