Make getter org.hibernate.criterion.SimpleExpression#getOp() public
Description
Activity
Show:

Sanne Grinovero
changed the StatusNovember 3, 2022 at 8:08 PMResolved
Closed

Sanne Grinovero
changed the StatusOctober 19, 2022 at 2:54 PMOpen
Resolved

Sanne Grinovero
updated the ResolutionOctober 19, 2022 at 2:54 PMNone
Fixed

Sanne Grinovero
updated the Fix versionsOctober 19, 2022 at 2:54 PMNone
5.6.13

Andrea Boriero
changed the AssigneeOctober 12, 2022 at 10:07 AMUnassigned

Andrea Boriero
Patrick Lübbecke
updated the DescriptionOctober 4, 2022 at 8:49 AMWhen migrating legacy Criteria API code to JPA CriteriaBuilder, 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.
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.
Patrick Lübbecke
updated the DescriptionOctober 4, 2022 at 8:49 AMWhen migrating legacy Criteria API code to JPA CriteriaBuilder, 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.
To make this getter public would be beneficial for migration of legacy Criteria API code to CriteriaBuilder.
When migrating legacy Criteria API code to JPA CriteriaBuilder, 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.
Patrick Lübbecke
updated the DescriptionOctober 4, 2022 at 8:48 AMWhen migrating legacy Criteria API code to JPA CriteriaBuilder, one option is to write a transformer to migrate, [e.g|http://e.gh]. legacy Hibernate SimpleExpressions to a JPA predicate. Unfortunately, the method for getting the operation in this class is set to protected and cannot be accessed.
To make this getter public would be beneficial for migration of legacy Criteria API code to CriteriaBuilder.
When migrating legacy Criteria API code to JPA CriteriaBuilder, 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.
To make this getter public would be beneficial for migration of legacy Criteria API code to CriteriaBuilder.
Patrick Lübbecke
updated the DescriptionOctober 4, 2022 at 8:48 AMWhen migrating legacy Criteria API code to JPA CriteriaBuilder, one option is to write a transformer for , [e.g|http://e.gh]. legacy Hibernate SimpleExpressions. Unfortunately, the method for getting the operation in this class is set to protected and cannot be accessed.
To make this getter public would be beneficial for migration of legacy Criteria API code to CriteriaBuilder.
When migrating legacy Criteria API code to JPA CriteriaBuilder, one option is to write a transformer to migrate, [e.g|http://e.gh]. legacy Hibernate SimpleExpressions to a JPA predicate. Unfortunately, the method for getting the operation in this class is set to protected and cannot be accessed.
To make this getter public would be beneficial for migration of legacy Criteria API code to CriteriaBuilder.
Patrick Lübbecke
created the IssueOctober 4, 2022 at 8:47 AM
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. 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.