4 Replies Latest reply on Aug 2, 2005 6:43 PM by Taud Anas

    NamedQuery - basic questions

    Emmanuel Bernard Master

      It should work fine. You don't have to put the query on the same class. It just has to be a mapped class.
      You can find some samples in the Hibernate annotations test suite (in the query package I guess).