Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support of countQuery attribute in @Query Annotation? #1866

Closed
kap199297 opened this issue Aug 26, 2024 · 1 comment
Closed

Support of countQuery attribute in @Query Annotation? #1866

kap199297 opened this issue Aug 26, 2024 · 1 comment
Assignees
Labels
status: duplicate A duplicate of another issue

Comments

@kap199297
Copy link

I was checking the query annotation in JPA and JDBC.
In JPA, query annotation has the countQuery attribute which is not present in query annotation in JDBC
However, I managed to perform pagination via two repository methods (one for finding the limited data and the second by executing the count method).
So just want to know if is there any plan to support the countQuery attribute with Page<> return type?

@kap199297 kap199297 changed the title Support of countQuery in @Query Annotation? Support of countQuery attribute in @Query Annotation? Aug 26, 2024
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 26, 2024
@schauder
Copy link
Contributor

This is addressed by #1760

@schauder schauder self-assigned this Aug 27, 2024
@schauder schauder added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants