[Zope] Z SQL Method results and ZClasses

Dieter Maurer dieter@handshake.de
Sat, 29 Mar 2003 02:09:53 +0100


Ralph vd Houdt wrote at 2003-3-26 11:55 +0100:
 > I'm experimenting with ZSQL Methods and want to assign a ZClass to te result
 > object. I've read that 'in the future' it wil be possible to do that. But..
 > 
 > Is it possible todo this already or has anyone a solution to do this another
 > way?

This is possible now.

Your ZClass (used in this way) must not be persistent.
This means you must uncheck the "include standard ZObject base class"
(or something like that) when you construct your ZClass.


Dieter