89101112131415
* @author Petri Kainulainen */ public class PersonPredicates { public static Predicate lastNameIsLike(final String searchTerm) { QPerson person = QPerson.person; return person.lastName.startsWithIgnoreCase(searchTerm); }