On Jan 21, 2008 8:34 AM, Ted Zlatanov <[EMAIL PROTECTED]> wrote:
> I have some existing RDBO classes, all inheriting from a common
> BaseObject parent. If I want some of them to be selectively cached,
> currently I have to create a BaseObject::Cached that inherits from
> RDBO::Cached (I do this wi
On Jan 21, 2008 8:49 AM, Bianka Martinovic <[EMAIL PROTECTED]> wrote:
> When I look at the load()ed data, all seems fine. But later on, after
>
> $row->init( %$data );
>
> where $data contains something like
>
> {
> 'CMP_NETWORK' => {
> 'NICADDRESS' => 'a01010101011'
> },
>
Hello again,
I have now added a foreach() construct that iterates over the data, setting the
changes in the related object using the Manager. Now, using
$row->save(cascade=>1) works as expected.
The problem is, this only works for one sublevel, or I must implement a
recursive function. I'm pretty
John Siracusa <[EMAIL PROTECTED]> writes:
> The primary key generator will only be called when attempting to
> insert() an object that has an undef value in one or more of its
> primary key columns.
Hello John,
thank you for your response. :)
I load() the row of the "basic table" using 'with'
I have some existing RDBO classes, all inheriting from a common
BaseObject parent. If I want some of them to be selectively cached,
currently I have to create a BaseObject::Cached that inherits from
RDBO::Cached (I do this with a copy+edit, see below), and then each of
my classes can inherit from