JPQL IS NOT NULL is returning objects with NULL
<p>I have the following <code>JPQL</code> query:</p>

<pre><code>@Query("select p FROM Partner p where p.partnerIdentifier IS NOT NULL")
    List&lt;Partner&gt; findAfterDates();
</code></pre>

<p>This should return all <code>Partner Entities</code> that <code>DO NOT</code> have NULL for <code>partnerIdentifier</code>.</p>

<p>However, I am running the code and debugging, and I am seeing that the returned <code>Collection</code> contains <code>entities</code> that has <code>null</code> for this field.</p>

<p>Is this a bug in <code>JPQL</code>?</p>