[CDBI] Re: Subclass load order problem with relationships

Oliver Jeeves oj at defuturo.co.uk
Fri Oct 13 11:09:17 BST 2006


Edward J. Sabol wrote:
> Oliver Jeeves responded to Lianna with the following:
>> There was a thread about subclassing CDBI objects on here a while ago,
>> and I was having similar problems to you; When reblessing a CDBI object,
>> the relationships for the new class didn't work.
>>
>> I never thought it might have something to do with class loading order,
>> although I suppose it does make sense. It would also explain why that
>> method worked for some other people, but not for me.
>>
>> Either way, I found a solution that works without having to worry about
>> class loading order, I posted them on this list back in September:
> 
> Oliver and/or Lianna, would you consider distilling all your info concerning
> implementing a CDBI factory pattern and post it to the wiki? I think it would
> make a lovely addition to the CDBI cookbook.
> 
> http://wiki.class-dbi.com/wiki/Cdbi_cookbook
> 
> Thanks,
> Ed

Good idea, I've added a page as suggested.

-Oli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.digitalcraftsmen.net/pipermail/classdbi/attachments/20061013/1bb7b85e/signature.pgp


More information about the ClassDBI mailing list