Re: ZODB: single database, multiple connections

2006-10-30 Thread Petra Chong
> > If I have a Python shell open and run the above two lines, if I run the > > write process repeatedly, the above "data" object never contains any of > > the newly added items. To pick them up I have to totally recreate the > > "db" object. > > You say that like it's hard to do ;-) > It isn't,

Re: ZODB: single database, multiple connections

2006-10-30 Thread Tim Peters
[Petra Chong] > I am using Python 2.3 and ZODB (without the rest of Zope) with the > following pattern: > > * One process which writes stuff to a ZODB instance (call it test.db) > * Another process which reads stuff from the above ZODB instance > test.db > > What I find is that when the first proce

ZODB: single database, multiple connections

2006-10-30 Thread Petra Chong
Hello all I am using Python 2.3 and ZODB (without the rest of Zope) with the following pattern: * One process which writes stuff to a ZODB instance (call it test.db) * Another process which reads stuff from the above ZODB instance test.db What I find is that when the first process writes, the se