Skip to content


DBAL-660: [GH-409] [DBAL-81] Add possibility to set the auto-commit mode for a connection #1880

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user @doctrinebot:

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

Url: #409


This PR makes auto-commit mode configurable for a connection (as proposed in DBAL-81).
The implementation adds methods to get and set the auto-commit mode on a connection object. When NOT in auto-commit mode, each commit() and rollBack() call automatically start a new transaction after the operation is finished. Aditionally a call to connect() starts a new transaction if not already connected.
When IN auto-commit mode, the behaviour is the same as it is with the current implementation.
When switching auto-commit mode, all current active transactions are committed.


Comment created by @doctrinebot:

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


Issue was closed with resolution "Fixed"


Comment created by @doctrinebot:

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

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.5 milestone
@doctrinebot doctrinebot closed this
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.