criteriabuilder function to_char example