Andrea Boriero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-15725 (
https://hibernate.atlassian.net/browse/HHH-15725?atlOrigin=eyJpIjoiMjM0MG...
)
Re: Criteria API Expression.as adds cast to sql string negatively affecting performance (
https://hibernate.atlassian.net/browse/HHH-15725?atlOrigin=eyJpIjoiMjM0MG...
)
Hi Hernan (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=62fba63...
) ,
thanks for reporting the issue.
In my opinion here the spec is a little confusing, it never explicitly says that casting
should never happen.
I opened a PR to avoid the cast when casting type is the same of the expression type.
I’m going to rename the Jira too.
(
https://hibernate.atlassian.net/browse/HHH-15725#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15725#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#100210- sha1:4037f92 )