/ Hathaway Weblog / Ape and transactions

Shane :: Zope :: January 11, 2005 # Ape and transactions

Ape seems to have some trouble with transactions. When a ZODB connection reads from a SQL database via Ape, a transaction starts implicitly. If the ZODB connection only reads and never writes, the SQL connection doesn't get registered in the transaction. So the SQL transaction is neither committed nor aborted until something happens to write to the database.

I'm not sure what to do about this. Hmm... perhaps I should arrange for the SQL connection to be registered in the transaction even when reading. But first, I should write a test that fails because SQL transactions get left open.

Comments

Christian Zagrodnick (May 27, 2005 02:17)

Hi Shane

I just stumbled right on that problem. But I see it's already fixed in CVS. :-)

No further comments may be added.

Hebrews 5:4 (Click below to fill in the blanks.)
Your browser is not able to display the scripture fill-in program. To see it, enable Javascript or use Mozilla 1.0 or better.

Church: lds scriptures provident games pearls kzion shiblon film chancellor gateway cumorah byutv happiness nephi
Zope: freezope org com zen labs newbies zettai warnes
Python: home pyzine daily icanprogram
Genealogy: cyndi
Weblogs: jeffrey paul jon joel another-shane guido barry jeremy windley chrism zac
News: quakes lwn dc weather deseret zeitgeist softwarelivre
Zaurus: software developer
Tech: tango spintronics thin
Semantic: aaron sean
Reference: css rdf html4 javascript geckodom iecss emacs phrases acronyms
Reverse: advogato slashdot
Misc: gimp-savvy directory soda jokes shouldexist pdphoto