Doctrine 2 - ORM

UnitOfWork::getEntityState bug with pre insert id generators