+-------[ chaouche yacine ]---------------------- | | | Not exactly. I am instantiating non persistent objects that do have a reference to persistence objects in the form of an attribute, and then trying to cache those non persistent objects. | | Do the fact that these non persistent objects store a reference to persistent ones turn them into persistent ? I am curious to know. | | Anyway, I tried the volatile attribute thing (http://wiki.zope.org/ZODB/VolatileAttributes) and first tests look fine.
You understand that _v_ attributes are only available in the thread they were created, and will disappear when the object leaves the object cache. If you manage to get a 2nd thread there will be nothing in the _v_ attribute, or wait 10 or so mins between requests... -- Andrew Milton [EMAIL PROTECTED] _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )