标签: spring spring-data-jpa repository querydsl
我可以断言join的返回条件吗?
SELECT ey.name FROM Employer employer LEFT JOIN employer.employees ey WHERE ey.gender = 'm'
我会做类似的事情: JoinExpression j =新的JoinExpression(JoinType.LEFTJOIN,...); repository.findAll(j.getCondition())