mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1877: [GH-376] De-deprecate transaction handling methods #2372
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 (Jun 16, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of lstrojny:
Url: https://github.com/doctrine/doctrine2/pull/376
Message:
As discussed with @beberlei over IRC, deprecating transaction handling methods make the API cleaner but testing of Entity Manager dependent components much messier. Also suggesting to use
$em->getConnection()->beginTransaction()feels like a violation of the law of demeter.Therefore this pull request would remove the deprecation warnings from
EntityManager::beginTransaction(),EntityManager::commit(),EntityManager::rollback().@doctrinebot commented on GitHub (Jul 4, 2012):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Oct 7, 2013):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-376] was closed:
https://github.com/doctrine/dbal/pull/376