wagner,
I would like to make a query which returns a list of objects. exe:
list of products with stock balance, but the repeated products need to be grouped by adding their stock balance.
How can I do this query? should i use projections?
I couldn't find any example for this.
Correct, that's how you get the individual scalar values from each projection. There is no object list. Just a list of TCriteriaResult objects, and each TCriteriaResult has a list of scalar values.