DDC-1450: UnitOfWork Transaction Rollback Support #1819

Closed
opened 2026-01-22 13:27:04 +01:00 by admin · 3 comments
Owner

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?

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?
admin added the ImprovementCan't Fix labels 2026-01-22 13:27:04 +01:00
admin closed this issue 2026-01-22 13:27:06 +01:00
Author
Owner

@doctrinebot commented on GitHub (Dec 20, 2011):

Comment created by @guilhermeblanco:

Updating fix version

@doctrinebot commented on GitHub (Dec 20, 2011): Comment created by @guilhermeblanco: Updating fix version
Author
Owner

@malukenho commented on GitHub (Jan 5, 2017):

@Ocramius can be closed if no optimisation still needed

@malukenho commented on GitHub (Jan 5, 2017): @Ocramius can be closed if no optimisation still needed
Author
Owner

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1819