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