-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We need to translate `is null` and `is not null` into MQL counterparts. See the example below from Hibernate user guide relevant part (https://docs.jboss.org/hibernate/orm/6.6/userguide/html_single/Hibernate_User_Guide.html#hql-null-predicate):
// select all persons with a nickname List<Person> persons = entityManager.createQuery( "select p " + "from Person p " + "where p.nickName is not null", Person.class) .getResultList(); // select all persons without a nickname List<Person> persons = entityManager.createQuery( "select p " + "from Person p " + "where p.nickName is null", Person.class) .getResultList();
- depends on
-
HIBERNATE-48 Design and implement storing/reading null and empty values
-
- Ready for Work
-
- related to
-
HIBERNATE-74 null/missing field comparison MQL translation
-
- Ready for Work
-