Код: Выделить всё
public enum Status {
ON("OPEN"),
OFF("CLOSED");
Код: Выделить всё
jpaQuery.where(person.status.in(StatusList)or(person.status.isNull()));
Подробнее здесь: https://stackoverflow.com/questions/786 ... -condition
Код: Выделить всё
public enum Status {
ON("OPEN"),
OFF("CLOSED");
Код: Выделить всё
jpaQuery.where(person.status.in(StatusList)or(person.status.isNull()));