“Not in” constraint using JPA criteria July 28, 2023 by Tarik builder.not(root.get({field_name}).in(seqs)) seqs is collection.