Convert query to named query
named query gets specified in the domain object e.g. customer
repository is updated to use a typed query meaning we can remove the
suppressWarnings due to raw types