Re: [Twisted-Python] adbapi and long-running transactions

2009-04-10 Thread Wolfgang Powisch (privat)
Am 10.04.2009 18:16, Wolfgang Powisch (privat) schrieb: > What I need now is to start a Transaction and access this Transaction from > multiple callbacks within my application-code in the main-thread. In the last > callback (and/or errback) I will then either commit or rollback the > transaction.

[Twisted-Python] adbapi and long-running transactions

2009-04-10 Thread Wolfgang Powisch (privat)
Hi, I'm using twisted.enterprise.adbapi for non-blocking database interaction with a postgres database. Currently I'm only using runQuery or runOperation for running single queries or some own little helper methods "runQueries" or "runOperations" for running multiple queries within one Transactio