>My conclusion is that the only sane thing to do is: >1. Only ever create connections in autocommit mode. >2. Only ever use `with connection.transaction()` to control transactions. >3. Forget that `connection.commit()` and `connection.rollback()` exist, and >never use them.
What if you need to rollback a hitherto valid transaction ? Transactions are there for a reason. It seems best to explicitely use them ? Karsten