Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYzIyNjhhZGYy...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16843?atlOrigin=eyJpIjoiYzIyNj...
) HHH-16843 (
https://hibernate.atlassian.net/browse/HHH-16843?atlOrigin=eyJpIjoiYzIyNj...
) HQL 'value = null' (
https://hibernate.atlassian.net/browse/HHH-16843?atlOrigin=eyJpIjoiYzIyNj...
)
Issue Type: Bug Assignee: Unassigned Components: query-hql Created: 25/Jun/2023 09:26 AM
Priority: Major Reporter: Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
I discovered a totally ad-hoc special case hacked into SemanticQueryBuilder that
reinterpreted value = null to mean value is null.
This is completely contrary to nature, every dialect of SQL I’m familiar with, the JPA
spec, and common sense.
There was a comment justifying this on the basis that a couple of tests relied on it, but
I looked at those tests and they were testing completely unrelated functionality.
So this is a bug and should be fixed.
(
https://hibernate.atlassian.net/browse/HHH-16843#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16843#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100227- sha1:32df33b )