0 Replies Latest reply on Nov 26, 2008 4:23 PM by Grzegorz Bernas

    Create hibernate query

    Grzegorz Bernas Newbie

      Hi, I use seam 2.1.0 and I want to get list of Entities from custome sql. How to create criteria in seam? I see ony createQuery from Entity Manager.
      And if I do this:
      SELECT pf.name, pf.title FROM PersonFile pf
      I get list of objects. not list of PersonFiles.