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

James Zheng jameswork66 at gmail.com
Sun Oct 30 10:39:32 CET 2005


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_comment_by_me_view has no primary key at /usr/lib/perl5/site_perl/5.8.0/Class/DBI/Loader/Generic.pm line 196
        Class::DBI::_croak('Love::M::CDBI::BlogCommentByMeView','blog_comment_by_me_view has no primary key') called at /usr/lib/perl5/site_perl/5.8.0/Class/DBI/mysql.pm line 70
        Class::DBI::mysql::set_up_table('Love::M::CDBI::BlogCommentByMeView','blog_comment_by_me_view') called at /usr/lib/perl5/site_perl/5.8.0/Class/DBI/Loader/Generic.pm line 196
        Class::DBI::Loader::Generic::_load_classes('Class::DBI::Loader::mysql=HASH(0x8d0f378)') called at /usr/lib/perl5/site_perl/5.8.0/Class/DBI/Loader/Generic.pm line 104
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20051030/6fdb7581/attachment.htm


More information about the Catalyst mailing list