Eduardo Simioni (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-13170 (
https://hibernate.atlassian.net/browse/HHH-13170?atlOrigin=eyJpIjoiNjA5YT...
)
Re: GORM: Challenges migrating away from deprecated Criteria API (
https://hibernate.atlassian.net/browse/HHH-13170?atlOrigin=eyJpIjoiNjA5YT...
)
What about the criteria.add(Restrictions.sqlRestriction()) option?
I’ve started a branch to migrate my company’s code to Hibernate 6 (Hibernate Criteria to
JPA basically), but I can’t complete this migration without an sql restriction
alternative. We are using only criteria, no HQL.
I’ve got very far and thought of possible alternative solutions, but in the end, although
we have just 31 usages in a very large project, I could only migrate a few of them to
other solutions, for all the rest, a replacement to SQL Restriction is absolutely needed.
(
https://hibernate.atlassian.net/browse/HHH-13170#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-13170#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#100204- sha1:f005d5a )