Skip to content

DDC-720 - Add support to flush only one entity through EntityManager#flush()#166

Merged
beberlei merged 3 commits intomasterfrom
DDC-720
Oct 23, 2011
Merged

DDC-720 - Add support to flush only one entity through EntityManager#flush()#166
beberlei merged 3 commits intomasterfrom
DDC-720

Conversation

@beberlei
Copy link
Member

Only flush the given entity according to a ruleset that keeps the UoW consistent.

  1. All entities scheduled for insertion, (orphan) removals and changes in collections are processed as well!
  2. Read Only entities are skipped.
  3. Proxies are skipped.
  4. Only if entity is properly managed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docblock should be updated to contain the new optional param.

@jwage
Copy link
Member

jwage commented Oct 22, 2011

Cool! 👍

beberlei added a commit that referenced this pull request Oct 23, 2011
DDC-720 - Add support to flush only one entity through EntityManager#flush()
@beberlei beberlei merged commit fd00f2d into master Oct 23, 2011
@Ocramius Ocramius deleted the DDC-720 branch July 7, 2016 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants