Branch: refs/heads/6.5
Home:
https://github.com/hibernate/hibernate-orm
Commit: b1787d9a07955635bc82aea0643fc77f9311c5bb
https://github.com/hibernate/hibernate-orm/commit/b1787d9a07955635bc82aea...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/InFragment.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/basic/PredicateTest.java
Log Message:
-----------
HHH-17804 roll back change to semantics of 'null in ()'
It turns out that SQL databases (IMO wrongly) treat the expression
'null in (select 1 where false)' as false instead of null. And as
of JPA 3.2, we're free to interpret 'null in ()' consistently with
that, which we should do.
So my change made things worse rather than better.
Signed-off-by: Gavin King <gavin(a)hibernate.org>
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications