My entity uses this annotation for it\'s ID:
/** * @orm:Id * @orm:Column(type=\"integer\") * @orm:GeneratedValue(s
In case the entity is part of a class table inheritance you need to change the id-generator in the class metadata for both entities (the entity you are persisting and the root entity)