Re: [CDBI] Class::DBI can't support the view for MySQL 5

[prev] [thread] [next] [Date index for 2005/10/30]

From: James Zheng
Subject: Re: [CDBI] Class::DBI can't support the view for MySQL 5
Date: 13:37 on 30 Oct 2005
> On Sun, Oct 30, 2005 at 07:20:51AM -0500, James Zheng wrote:
>> Hi team,
>>
>> Class::DBI can't support the view for MySQL 5, Has any solution for the 
>> case?
>>
>> Thanks.
>>
>> [Sun Oct 30 16:41:45 2005] [catalyst] [debug] Couldn't load tables 
>> "blog_view has no primary key at 
>> /usr/lib/perl5/site_perl/5.8.0/Class/DBI/Loader/Generic.pm line 196
>
> Don't use loader to load your view and instead define it by hand.  And
> give it a primary key.
>

Thanks. 


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

Re: [CDBI] Class::DBI can't support the view for MySQL 5
James Zheng 13:37 on 30 Oct 2005

Generated at 09:28 on 02 Nov 2005 by mariachi v0.52