com.github.brunodutr.persistence.criteria.service.CriteriaProcessorNotIn Maven / Gradle / Ivy
package com.github.brunodutr.persistence.criteria.service;
import java.lang.reflect.Field;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;
class CriteriaProcessorNotIn extends CriteriaProcessorIn {
@Override
public Predicate process(CriteriaBuilder criteriaBuilder, Root> root, Object object, Field field) throws Exception {
return super.process(criteriaBuilder, root, object, field).not();
}
}