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 makeMaking this getter public would be beneficial for migration of legacy Criteria API code to CriteriaBuilder as it makes life a lot easier. |
|