Doctrine 2 - ORM

Doctrine2 doesn't check for the correct entity type on @ManyToOne relations