mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1450: UnitOfWork Transaction Rollback Support #1819
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?
Originally created by @doctrinebot on GitHub (Oct 24, 2011).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user @beberlei:
The UnitOfWork does not handle the case very well where a rollback is necessary. Can this be optimized?
@doctrinebot commented on GitHub (Dec 20, 2011):
Comment created by @guilhermeblanco:
Updating fix version
@malukenho commented on GitHub (Jan 5, 2017):
@Ocramius can be closed if no optimisation still needed
@Ocramius commented on GitHub (Jan 5, 2017):
This cannot be improved without the UoW rolling back all entities manually. A refresh of all entities in the UoW is out of question.
The current design does simply not allow for this, and will not be able to deal with transient field state anyway, therefore just closing the UoW is much better.