|
Dear List,
I am the beginner
of DBIC, I just started my first try with DBIC.I am using Schema approach,I got following annoying problem:
Code snippet:
#!/usr/bin/perl
use My::Schema; my $dsn="dbi:ODBC:DSN"; my $user="user"; my $password="psw"; my %attrs={AutoCommit=>1}; my $schema = My::Schema->connect( $dsn, $user, $password,\%attrs ); my $rs= $schema->resultset('CustomerFieldTrackExt')->search({Desc_Custom_2=>50846}); while ( my $id =
$rs->next){
print $id->BugID,"\n"; } Actually It works ,but it shows
some annoying warnings:
Can't set
DBI::db=HASH(0x8647d64)->{HASH(0x816cc20)}: unrecognised attribute name or
invalid value at /usr/lib/perl5/site_perl/5.8.6/i586-linux-thread-multi/DBI.pm
line 667.
Can't get DBI::db=HASH(0x8647d64)->{HASH(0x816cc20)}: unrecognised attribute name at /usr/lib/perl5/site_perl/5.8.6/i586-linux-thread-multi/DBI.pm line 667. 50847 50848 50849 50850 50851 50852 50853 50854 50855 I guess this is something about DBI,
rather than DBIC, But I hope someone here could kindly help me out.
Thanks
Alex Chen
|
_______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
