spring-data-jpa icon indicating copy to clipboard operation
spring-data-jpa copied to clipboard

Add a flag(Boolean) variable for a field `IS NULL` or `IS NOT NULL`

Open codingmickey opened this issue 1 year ago • 2 comments
trafficstars

In the JPA Query methods we should be able to add a boolean variable to any of the fields which can be IS NULL or IS NOT NULL based on that boolean that is being passed

Using custom queries is currently possible, but this would be a sweet change!

codingmickey avatar Oct 14 '24 20:10 codingmickey

How do you mean? Something like findByFooIsNull(true)/findByFooIsNull(false)?

mp911de avatar Oct 15 '24 06:10 mp911de

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-projects-issues avatar Oct 22 '24 06:10 spring-projects-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

spring-projects-issues avatar Oct 29 '24 06:10 spring-projects-issues