With #541 (DATAJPA-121), we introduced a long time ago rewrite from foo = ? to foo IS NULL if the query method argument yields null. We should consistently rewrite its negating form from foo <> ? to foo IS NOT NULL if the query method argument is null.
With #541 (DATAJPA-121), we introduced a long time ago rewrite from
foo = ?
tofoo IS NULL
if the query method argument yieldsnull
. We should consistently rewrite its negating form fromfoo <> ?
tofoo IS NOT NULL
if the query method argument isnull
.