title: JPQL LEFT JOIN is not working
body: <p>I want to get the list of all <code>Branch</code> even if they have no accounts with <code>user</code> role</p>
  
  <pre><code>Query query = em.createQuery("SELECT NEW com.package.BranchInstructors(b,a) FROM Branch b LEFT JOIN b.accounts a WHERE b.dFlg = 0 AND a.userRole = :role ORDER BY b.name ASC");
  query.setParameter("role", "user");
  return query.getResultList();
  </code></pre>
  
  <p>Unfortunately it's returning only Branches with <code>user</code> role, it's like doing INNER JOIN instead.</p>
  
  <p>Any idea what's going on?</p>