Db transactions and locking

Ian Kelly ian.g.kelly at gmail.com
Thu Nov 27 13:02:48 EST 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...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141127/07594242/attachment.html>


More information about the Python-list mailing list