[Zope-dev] Query on ZODB handling of class variables

Dieter Maurer dieter@handshake.de
Sat, 14 Apr 2001 20:26:09 +0200 (CEST)


Bob Weiner writes:
 > ...
 > So how does one get class attributes (one attribute instance per class)
 > stored into and restored from ZODB?
I fear, it will not go.

  But, you can take the object from the class and
  put it as an object with a specific name (maybe
  derived from the class name) into the ZODB.

  The class would provide methods to access this object
  in ZODB.


Dieter