Doctrine 2 - ORM

New entities must have primary key values right after flushing with IDENTITY strategy