@SuppressWarnings("unchecked")
private List<DeviationSumJobFunctionV> getAllProductAreaGroup(final Integer year,
final JobFunction deviationFunction, final ProductAreaGroup productAreaGroup) {
return (List<DeviationSumJobFunctionV>) getHibernateTemplate().execute(
new HibernateCallback() {
public Object doInHibernate(final Session session) {
String query="select new DeviationSumJobFunctionV(''," +
" deviationSumJobFunctionVPK.registrationYear," +
" deviationSumJobFunctionVPK.registrationWeek," +