I\'m using Postgres with this query
select * from Entity this_ where (this_.ID not in (null))
Why does this give me no results? I would expe
"IN" or "NOT IN" do not select NULL values You can write
select * from Entity this_ where (this_.ID not in (1))
And your selection will not contains null values