Re: [SQLObject] transactions and sqlhub.doInTransaction
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2007-03-15 16:53:38
|
On Thu, Mar 15, 2007 at 11:29:31AM -0500, Rick Flosi wrote: > def doInTransaction(func, *args, **kw): This code has been added to the SQLObject and is now in SQLObject 0.8. > else: > conn.commit() > return value I think here is a problem. conn.commit(True) should help - it releases the underlying connection. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |