Hi.

Has anybody out there ever tried passing Rose::DB::Object subclass 
instances into a Safe compartment?  This is almost certainly an issue 
specific to Safe and not specific to the Rose:: family in general, 
though I think the Rose::DB::Object internals are "late-binding" with 
sufficient frequency to make them especially likely to break within a 
Safe compartment.  For instance, I can pass an instance of a 
Rose::DB::Object subclass into a Safe compartment.  The column accessor 
methods will work within the compartment.  But accessing "child" objects 
through the appropriate method breaks, because the object instance 
apparently needs to instantiate the child objects (this happens whether 
the data for "child objects" was retrieved in a manager query or not; 
seems that the fetched data isn't wrapped as an object until it's 
actually needed -- this isn't based on any exhaustive research on my 
part and may be an incorrect observation).

If anyone has any experience with this or suggestions to get it working 
(beyond "don't use Safe" :) I'd love to hear them.

Thanks.
- Ethan

-- 
Ethan Rowe
End Point Corporation
[EMAIL PROTECTED]



_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to