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

James Zheng jameswork66 at gmail.com
Sun Oct 30 12:20:51 GMT 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_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::BlogView','blog_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::BlogView','blog_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.digitalcraftsmen.net/mailman/private/classdbi/attachments/20051030/300fae8c/attachment.html


More information about the ClassDBI mailing list