Skip to content


DDC-1877: [GH-376] De-deprecate transaction handling methods #2540

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of lstrojny:

Url: #376


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().


Issue was closed with resolution "Fixed"


Comment created by @doctrinebot:

A related Github Pull-Request [GH-376] was closed:

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.3 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.