1 Reply Latest reply on Jul 1, 2009 10:33 PM by Arbi Sookazian

    How to write join in HQL

    Bryan Enriquez Newbie

      Hello,
      I am trying to create a query in HQL but I don't know how to do it. I want to use the clause inner join, I looked for in internet but I don't found nothing.


      Can anybody tell me how create a query using inner join clause?


      I want to do something like this:
      select * from usuario inner join contacto on usuario.id=contacto.id


      Regards.