[ZODB-Dev] Several commits and ZEO
Thomas Guettler
hv at tbz-pariv.de
Tue Jan 13 04:41:12 EST 2004
Am Dienstag, 13. Januar 2004 09:53 schrieb Thomas Güttler:
> Hi!
>
> If I import data like this:
> for ...:
> obj=MyObject(...)
> objects[obj.id]=obj
> #get_transaction().commit()
>
> There is data loss if I commit in the loop.
> If the data is imported in one transaction, no
> data is lost. Even commit(1) loses data.
>
> Testet with Python 2.3.2 and Python 2.2.2
> ZODB 3.2
> ZEO 2.2 (Filestorage and unix-socket)
Solved: There was a class which was a wrapper around
a list. This class was not inherited from persistent.
thomas
More information about the ZODB-Dev
mailing list