Report question

Question: Using sum() in hibernate criteria