Re: [CDBI] has_many self reference

[prev] [thread] [next] [Date index for 2006/02/06]

From: Perrin Harkins
Subject: Re: [CDBI] has_many self reference
Date: 20:50 on 06 Feb 2006
On Sun, 2006-02-05 at 07:37 -0800, Hunter Thomas wrote:
> use base 'My::DB'; #inherits from Class::DBI::AutoLoader
[...]
> Couldn't load "Entry", "Can't locate object method "meta_info" via 
> package "Entry" at 
> /usr/local/lib/perl5/site_perl/5.8.7/Class/DBI/Relationship/HasMany.pm 
> line 34

Sounds like Class::DBI::AutoLoader (which I know nothing about) has not
set up the table yet when you hit this.  Try defining the table and it's
columns manually.

- Perrin


_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] has_many self reference
Hunter Thomas 15:37 on 05 Feb 2006

Re: [CDBI] has_many self reference
Perrin Harkins 20:50 on 06 Feb 2006

Re: [CDBI] has_many self reference
Hunter Thomas 14:42 on 07 Feb 2006

Re: [CDBI] has_many self reference
Perrin Harkins 15:05 on 07 Feb 2006

Re: [CDBI] has_many self reference
Aaron Trevena 15:07 on 01 Mar 2006

Re: [CDBI] has_many self reference
Aaron Trevena 15:22 on 01 Mar 2006

Re: [CDBI] has_many self reference
Matt S Trout 15:30 on 01 Mar 2006

Generated at 20:45 on 01 Mar 2006 by mariachi v0.52