hibernate Criteria - sum e sqlRestriction