I found this example in jboss's documentation.
select new Family(mother, mate, offspr)
from DomesticCat as mother
join mother.mate as mate
left join mother.kittens as offspr
Where does the Family
class come from. Do I need to import somewhere, or to use its fully qualified class name?