[Zope] ODBC and Inserting not committed

Graham Chiu anon_emouse@hotmail.com
Tue, 27 Jul 1999 20:25:44 +1200


In article <379D2E16.D75222E3@digicool.com>, Michel Pelletier
<michel@digicool.com> writes
>> With 2b1, win32, I now find that my Zsql inserts don't commit.  They
>> last for as long as the browser is active.  I start another browser
>> session after closing the first one down, and they're gone.
>> 
>
>It's possible, although I have not personally looked at the code, that
>the ODBC adapter has not been updated to work with the new ZODB3
>transaction manager.
>
>Try running Zope in single thread mode ('-t 1' on the z2.py command
>line) and see if the problem persists.  If so, then the ODBC driver will
>probably need to be 'thunked' which is a pretty trivial 10 minute change
>to the code.

I ran it in single thread mode, and the problem has gone away.  Actually
I just found that updates also did not commit before.  Now both commit.

Any time frame to seeing the ODBC adapter updated?

-------
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz