Type: New Feature
Affects Version/s: None
Fix Version/s: 2.5
Security Level: All
This issue is created automatically through a Github pull request on behalf of deeky666:
This PR makes auto-commit mode configurable for a connection (as proposed in
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.