mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #166] [MERGED] DDC-720 - Add support to flush only one entity through EntityManager#flush() #7801
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/166
Author: @beberlei
Created: 10/22/2011
Status: ✅ Merged
Merged: 10/23/2011
Merged by: @beberlei
Base:
master← Head:DDC-720📝 Commits (3)
f569a2aDDC-720 - Add support to flush only one entity (within cascade rules) through EntityManager#flush()b910a48DDC-720 - Wait, we should really test it only changes the passed entity.5d3298eDDC-720 - Correct mentioned issues by @asm89📊 Changes
3 files changed (+240 additions, -9 deletions)
View changed files
📝
lib/Doctrine/ORM/EntityManager.php(+6 -2)📝
lib/Doctrine/ORM/UnitOfWork.php(+65 -7)📝
tests/Doctrine/Tests/ORM/Functional/BasicFunctionalTest.php(+169 -0)📄 Description
Only flush the given entity according to a ruleset that keeps the UoW consistent.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.