DDC-2338: Entity with composite foreign keys identifiers should be persisted after related entities without exception #3043

doctrinebot opened this Issue Mar 7, 2013 · 5 comments

2 participants


Jira issue originally created by user alex88:

I've seen that when you create an entity with a composite foreign key as identifier it cannot be flushed until the related entities are already flushed to the database and not just persisted.

It would be nice to let the user flush all the entities together and just INSERT first the related entities to get the ID and then use that to INSERT the entity with composite foreign keys.

I'm going to create a pull request with the failing test.


Comment created by alex88:

Created pull request #605


Comment created by @doctrinebot:

A related Github Pull-Request [GH-605] was closed:


Comment created by @ocramius:

Known limitation affecting only post-insert ID generation (mysql et simila)


Issue was closed with resolution "Can't Fix"

@Ocramius Ocramius was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment