Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81647 > unrolled thread

Re: Db transactions and locking

Started byIan Kelly <ian.g.kelly@gmail.com>
First post2014-11-27 11:02 -0700
Last post2014-11-27 11:02 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Db transactions and locking Ian Kelly <ian.g.kelly@gmail.com> - 2014-11-27 11:02 -0700

#81647 — Re: Db transactions and locking

FromIan Kelly <ian.g.kelly@gmail.com>
Date2014-11-27 11:02 -0700
SubjectRe: Db transactions and locking
Message-ID<mailman.16379.1417111373.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

On Nov 27, 2014 4:26 AM, "Frank Millman" <frank@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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web