Re: [SQLObject] More transaction troubles
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Sidnei da S. <si...@pl...> - 2003-09-06 12:41:14
|
On Sat, Sep 06, 2003 at 04:58:49AM -0400, Randall Randall wrote: | Okay, so I got the current CVS, but transactions | still seem to not work. :) |=20 | >>> r =3D Person.new(firstName=3D'my', lastName=3D'lastname',=20 | connection=3Dtrans) | >>> r.firstName =3D 'Bob' | >>> trans.commit() | >>> r.firstName =3D 'Billy' | >>> trans.rollback() | >>> print r.firstName | Billy A wild guess: rollback() isn't clearing the cache. It is also possible that you *think* you are using transactions, but in fact its not enabled on your database. Those are just guesses though, i havent actually looked at the code. []'s --=20 Sidnei da Silva <si...@pl...> dreamcatching :: making your dreams come true http://dreamcatcher.homeunix.org I *____=08=08=08=08knew* I had some reason for not logging you off... If I = could just remember what it was. |