David Zejda wrote:

I have a custom row reader able to initialize materialized objects by
their _postinit() methods. Essentially it works, but there is a problem
- the _postinit() should be called after the object is materialized
completely, i.e. with all fields, but also references and collections
filled. So, I guess I have to override some other method of rowreader or
 something completely different - please, give a hint.

Have you tried the initialization-method attribute of the class descriptor? With it you state a no-arg instance method that gets called after the object has been loaded from the database and all fields have been filled. I'm not sure about the references and collections, but you might give it a try nonetheless.


Tom


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to