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
Add exists method to JpaSpecificationExecutor #2388
Labels
type: enhancement
A general enhancement
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Dec 17, 2021
@quaff (Regarding deleted comment) please let maintainers decide on these kind of things. Currently this issue is marked as |
|
Can I work on this issue? If yes I opened a PR. |
DiegoKrupitza
added a commit
to DiegoKrupitza/spring-data-jpa
that referenced
this issue
Feb 21, 2022
It is now possible to make existence checks with `Specification`s. This is an addition to checking existence with using an `Example`. Closes spring-projects#2388
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While there is
QueryByExampleExecutor.exists(Example<S> example)
which under the hood buildsSpecification
fromExample
to execute exists query, there is no method which acceptsSpecification
object to execute exists query.Implementation is pretty simple and I can provide a PR
The text was updated successfully, but these errors were encountered: