hi,
I'm experiencing some strange behaviour regarding property fetching.
this is the hql query: "select new x.y.Entry(c,count(distinct wa.id)) from Category c fetch all properties inner join c.entries wa inner join wa.objects wo inner join wo.regions reg where .... group by c.id,c.name,c.parent.id"
it only fetches the id of c and not the other properties (i'm not talking about associations). it works if i leave out the constructor syntax and create the object myself.
any hints?
using hibernate 3.4.0 GA (from jboss 5.1.0)
|