|
Re: Rose::DB::Object subclass instances within Safe compartment: msg#00031lang.perl.modules.dbi.rose-db-object
On 6/6/06, Ethan Rowe <ethan-O9fzpki4YnJWk0Htik3J/w@xxxxxxxxxxxxxxxx> wrote: > 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 If related objects are fetched by the Manager due to require_objects or with_objects parameters, they should be attached as full-fledged objects. Can you can show me an instance (sample code) where this is not the case? -John
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Adding new column types, John Siracusa |
|---|---|
| Next by Date: | Re: Rose::DB::Object subclass instances within Safe compartment, Svilen Ivanov |
| Previous by Thread: | Rose::DB::Object subclass instances within Safe compartment, Ethan Rowe |
| Next by Thread: | Re: Rose::DB::Object subclass instances within Safe compartment, Ethan Rowe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |