I didn't get any reply from your gurus.
So I want to rephrase my question.
I know that HQL supports agrregate functions like count(), sum(), my problem is after executing the query, I actully want to retrieve the value of count()...
Just as I mentioned in the above question, since the count(..) is not in my persistant class, neither in a physical table, using the scalar properties mentioned in the doc. above, I couldn't even get the object[].
Pls. help if you have such experience. I think it should be very common try to retrieve the value from your queries, right?
Thks.
|