8 Apr
2003
8 Apr
'03
12:48 p.m.
On Tuesday 08 April 2003 1:27 pm, ZOPE Developer wrote:
Hi.
I use the standalone ZODB.
When I create persistent objects containing _v_ (volatile attributes), and access them at an extremely high rate(reading and using), they sometimes lose their _v_ attibutes.
Thats what volatile means!
Can somebody tell me what I need to do the avoid this?
To stop the attribute value disappearing? Make it non-volatile. To detect the situation and avoid the AttributeError? Use hasattr, or set a shadow class attribute with a null value. -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson