Doctrine 2 - ORM

Not all identifier properties can be found in the ResultSetMapping: id