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.