Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-14045 (
https://hibernate.atlassian.net/browse/HHH-14045?atlOrigin=eyJpIjoiYTJmMj...
)
Re: Unable to group by "to_char" function (
https://hibernate.atlassian.net/browse/HHH-14045?atlOrigin=eyJpIjoiYTJmMj...
)
The support for using an alias in the group by was added in 5.4.4 I think, but it will
only work with JPQL/HQL, not through the Criteria API. Anyway, the issue you are having is
that the JPA Criteria Literal is rendered as parameter. This can be turned off by setting
hibernate.criteria.literal_handling_mode to INLINE which IMO should be the default.
(
https://hibernate.atlassian.net/browse/HHH-14045#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-14045#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#100140- sha1:5d840a8 )