Re: TEMP columns not populated by sth_to_objects in 0.96

[prev] [thread] [next] [Date index for 2004/06/08]

From: David Jack Olrik
Subject: Re: TEMP columns not populated by sth_to_objects in 0.96
Date: 09:46 on 08 Jun 2004
On Jun 8, 2004, at 10:54, David Jack Olrik wrote:
> Any idears as how to work around this ??

I have found a solution! - By calling 'remove_from_object_index' on 
$self, the object will be fetched again. - One just have to remember 
that there are now 2 objects in memory representing the same entry in 
the database.

sub orderflow_tree
{
     my $self = shift;
     $self->remove_from_object_index();
     my $sth = $self->sql_orderflow_tree;
     $sth->execute($self->id);
     return $self->sth_to_objects($sth);
}


        -- 
        Best regards,
David Jack Olrik <david@xxxxx.xx>             http://david.olrik.dk
GnuPG fingerprint C290 0A4A 0CCC CBA8 2B37 E18D 01D2 F6EF 2E61 9894
["The first rule of Perl club is  You do not talk about Perl club"]

(message missing)

TEMP columns not populated by sth_to_objects in 0.96
David Jack Olrik 08:54 on 08 Jun 2004

object caching and mod_perl
jason scott gessner 13:28 on 08 Jun 2004

Re: object caching and mod_perl
Tony Bowden 13:46 on 08 Jun 2004

Re: object caching and mod_perl
Perrin Harkins 14:02 on 08 Jun 2004

Re: object caching and mod_perl
jason scott gessner 14:11 on 08 Jun 2004

Re: TEMP columns not populated by sth_to_objects in 0.96
David Jack Olrik 09:46 on 08 Jun 2004

Re: object caching and mod_perl
Edward J. Sabol 14:52 on 08 Jun 2004

Re: object caching and mod_perl
jason scott gessner 16:31 on 11 Jun 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52