How to left join unrelated entities?
When i try to run a query like this: QA A = QA.a; QB B = QB.b; ... from(A) .leftJoin(B).with(B.name.eq(A.nameSomething)); (A and B entities are not related) I'm always getting this error: Caused by: org.hibernate.hql.ast.QuerySyntaxException: Path expected for join! I would like to be able to left join unrelated entities using querydsl. Is it possible at all? Or the only way is to write a native Oracle query? Joining unrelated entities is not possible with Querydsl JPA. Querydsl JPA uses JPQL internally and inherit's this restriction. Assuming you're referring to JPA Criteria. innerJoin,