spring-data-jpa
spring-data-jpa copied to clipboard
Investigate 'slim' Specification API
Due to how CriteriaQuery and CriteriaDelete are structured in jakarta.persistence the toPredicate method of Specification can not be used for deletes because of its CriteriaQuery parameter.
We should find a way to allow users to express their needs in another way than having to pass in null to satisfy the API.
Related to: #3036