[DB-SIG] Transaction start
Mon, 27 May 2002 12:09:26 +0200
Gerhard H=E4ring wrote:
> The DB-API Connection object has commit and rollback methods, but it
> lacks a begin method.
> Not considering the implementation of an autocommit feature, does this
> mean that the DB-API module must implicitely start, and possibly roll
> back transactions at certain points?
> I guess a cursor.execute must start a new transaction, where else must =
> transaction be started? Could anybody please clarify this?
Transactions, if supported, start implicitly at cursor creation time
and after each call to .commit() or .rollback(). They can span
multiple calls to .execute().
CEO eGenix.com Software GmbH
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/