Jonas Gernot Steinke (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=712020%...
) *commented* on HHH-16858 (
https://hibernate.atlassian.net/browse/HHH-16858?atlOrigin=eyJpIjoiOGRjYz...
)
Re: Can't compare test expression of type [BasicSqmPathSource(type : Enum)] with
element of type [basicType(a)5(java.lang.Integer,4)] (
https://hibernate.atlassian.net/browse/HHH-16858?atlOrigin=eyJpIjoiOGRjYz...
)
Thank you for taking care of the problem so quickly. I will check in a timely manner if
their fix helps.
You are right, the comparison with integer literal or string literal is not good. In the
case of integer literals, a high source of error, but also useful in some cases. I look
forward to upcoming changes like the ones you mentioned in your comment, if they are
coming.
In this case, it was the different behavior of Hibernate related to enum and enum as
generic types that confused me.
(
https://hibernate.atlassian.net/browse/HHH-16858#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16858#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:d7f1864 )