Doctrine 2 - ORM

Unexpectet behavior while using ManyToOne as part ofr composite key