spring-projects / spring-projects/spring-data-jpa
Use `Query.getResultCount()` instead of deriving a count query for pagination
Open
Nobody has claimed this yet.
theme: JPA-4.0
type: enhancement
- Dominant language
- Java
- Stars
- 3.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
This issue has no description.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the pagination code that derives a count query and the Query.getResultCount() API, then inspect nearby tests before determining the affected cases. Done means the intended pagination count path uses the existing API and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, databases
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100