title: JPA Criteria (and JPQL) right outer join
body: <p>I have two entities A,B the relation is on way, optional, One-To-Many from A to B (the many side), I want to select  each B and its related A (or in case there is no A related to that B I want null), that can be easily done with right outer join but the problem that hibernate doesn't support right outer join in criteria API so I want a work around for this.</p>