Use the correct entity class in the postgres itemmaper