org.hibernate.QueryException: could not resolve property: commodityId of: com.mm.mobleMarket.pay.enetey.Paying
hql语句:
[select count (p.commodity.type.typeName),p.commodity.commodityName,
p.commodityId from com.mm.mobleMarket.pay.enetey.Paying p
where p.commodity.type.typeId=?and p.payingData between ? and ?
group by p.commodity.commodityName,p.commodityId order by
count (p.commodity.type.typeName) desc]
是否hql语句写错了?