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