Ilya Ryzhov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5f65f49...
) *commented* on HHH-17013 (
https://hibernate.atlassian.net/browse/HHH-17013?atlOrigin=eyJpIjoiYzlkNz...
)
Re: Parameter nullability check throws error (
https://hibernate.atlassian.net/browse/HHH-17013?atlOrigin=eyJpIjoiYzlkNz...
)
I saw this comment but didn't find any mention of it in the migration guides. I think
it deserves to be noted there and hibernate should at least throw the same comprehensible
exception when using this pattern. Nevertheless, I think that replacing this check with a
Criteria API is not very convenient. The Criteria API, in my opinion, is suitable for more
complex conditional filtering. In addition, as I understand it, the hibernate tends to
reduce the gap between hql and sql, and modern RDBMS support the ability to check the
nullability of parameter.
(
https://hibernate.atlassian.net/browse/HHH-17013#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-17013#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#100234- sha1:90f5128 )