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

Closed
opened 2026-01-22 15:56:57 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/166

State: closed
Merged: Yes


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.
**Original Pull Request:** https://github.com/doctrine/orm/pull/166 **State:** closed **Merged:** Yes --- 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.
admin added the pull-request label 2026-01-22 15:56:57 +01:00
admin closed this issue 2026-01-22 15:56:57 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7806