protected Predicate createEqual ( Path root , CriteriaQuery < ? > query , CriteriaBuilder cb , String propertyPath , Object argument , PersistenceContext context ) { return cb . equal ( root . get ( propertyPath ) , argument ) ; }
Apply an equal constraint to the named property .