Patrick Lübbecke (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=61a7428...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiODEyNThlZTE5...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15575?atlOrigin=eyJpIjoiODEyNT...
) HHH-15575 (
https://hibernate.atlassian.net/browse/HHH-15575?atlOrigin=eyJpIjoiODEyNT...
) Make getter org.hibernate.criterion.SimpleExpression#getOp() public (
https://hibernate.atlassian.net/browse/HHH-15575?atlOrigin=eyJpIjoiODEyNT...
)
Change By: Patrick Lübbecke (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=61a7428...
)
When migrating legacy Criteria API code to JPA CriteriaBuilder (which is a must before
upgrading to 6.0\!) , one option is to write a transformer to migrate, [e.g|http://e.gh].
legacy Hibernate SimpleExpressions to a JPA predicate. Unfortunately, the getter
{{org.hibernate.criterion.SimpleExpression#getOp()}} is set to protected and cannot be
accessed.
Making this getter public would be beneficial for migration of legacy Criteria API code to
CriteriaBuilder as it makes life a lot easier.
(
https://hibernate.atlassian.net/browse/HHH-15575#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15575#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#100207- sha1:bddf6e1 )