Doctrine 2 - ORM

EntityGenerator allows to null ids associations.