Doctrine 2 - ORM

onCascade property gets wrong value when entities are generated