-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support custom countSpec in SimpleJpaRepository.findAll #3727
Conversation
@JoshuaChen Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@JoshuaChen Thank you for signing the Contributor License Agreement! |
Thanks for your suggestion. We're going to include it. However, next time, please squash your commits into one and make sure to include tests. |
Add SpecificationFluentQuery to include specification-related overloads. Also, add slice(…) terminal method to obtain a slice only without running a count query. See #3727
Add SpecificationFluentQuery to include specification-related overloads. Also, add slice(…) terminal method to obtain a slice only without running a count query. See #3727
Thank you for your contribution. That's merged and polished now. |
In some performance optimization scenarios, a custom count spec is needed to improve query performance.