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

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

From: James Zheng
Subject: [CDBI] Class::DBI can't support the view for MySQL 5
Date: 12:20 on 30 Oct 2005
This is a multi-part message in MIME format.

--===============0586624827==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_03C9_01C5DD22.75022AB0"

This is a multi-part message in MIME format.

------=_NextPart_000_03C9_01C5DD22.75022AB0
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

Hi team,=20

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=3DH=
ASH(0x8d0f378)') called at =
/usr/lib/perl5/site_perl/5.8.0/Class/DBI/Loader/Generic.pm line 104
------=_NextPart_000_03C9_01C5DD22.75022AB0
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi team, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Class::DBI can't support the view for =
MySQL 5, Has=20
any solution for the case?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[Sun Oct 30 16:41:45 2005] [catalyst] =
[debug]=20
Couldn't load tables "blog_view has no primary key at=20
/usr/lib/perl5/site_perl/5.8.0/Class/DBI/Loader/Generic.pm line=20
196<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Class::DBI::_croak('Love::M::CDBI::BlogView','blog_view has no primary =
key')=20
called at /usr/lib/perl5/site_perl/5.8.0/Class/DBI/mysql.pm line=20
70<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Class::DBI::mysql::set_up_table('Love::M::CDBI::BlogView','blog_view') =
called at=20
/usr/lib/perl5/site_perl/5.8.0/Class/DBI/Loader/Generic.pm line=20
196<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Class::DBI::Loader::Generic::_load_classes('Class::DBI::Loader::mysql=3DH=
ASH(0x8d0f378)')=20
called at /usr/lib/perl5/site_perl/5.8.0/Class/DBI/Loader/Generic.pm =
line=20
104</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_03C9_01C5DD22.75022AB0--



--===============0586624827==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============0586624827==--


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

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