Db transactions and locking
ian.g.kelly at gmail.com
Thu Nov 27 19:02:48 CET 2014
On Nov 27, 2014 4:26 AM, "Frank Millman" <frank at chagford.com> wrote:
> All Python database adaptors that I have used start a transaction when you
> open a cursor. I have just re-read DB-API 2.0, and I cannot see anything
> that specifies this behaviour, but AFAICT this is what happens.
I don't know how others work, but cx_Oracle starts a transaction when you
execute a statement, not when you open a cursor.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list