QueryDsl - subquery in collection expression
问题 I'm using spring-data-jpa and querydsl (3.2.3) I have a scenario where I'm creating set of predicates based on user filer/input. All of these comes to BooleanExpression . My simplified model looks as following: @Entity public class Invoice { @ManyToOne private Supplier supplier; } @Entity public class Supplier { private String number; } @Entity public class Company { private String number; private boolean active } Now, what I'm struggling with is this query: SELECT * FROM Invoice WHERE