Also in case of `is not null` EclipseLinks Query is actually correct, so my previous statement that EclipseLink and Hibernate are either both correct or incorrect is not true for this modified query.