title: unexpected token: ON in hql query when using left outer join
body: <p>I am using left join in hibernate but it throws me an exception i.e. is Unexpected token "ON"
  my query work in sql well but i want to use the same query in hql. So please help me to overcome from this exception.</p>
  
  <pre><code>String hql = "SELECT p.posSerialNo, p.posAssignDate,p.posDetails,p.posMake,p.posSoftwareVer,p.merchants ,m.merchantFirstname, m.merchantLastname , m.merchantBusinessName FROM PosDevices as p LEFT JOIN Merchants as m ON p.merchants = m.merchantId";
  
              Query query = session.createQuery(hql);
              System.out.println(query);
              posList1 = query.list();
  </code></pre>