[Dbix-class] DBIc-Class-ResultSet
Brandon Black
blblack at gmail.com
Mon Apr 10 17:08:47 CEST 2006
On 4/10/06, Kjell Arne Arvesen <kjell.arvesen at siegedesign.no> wrote:
> As I use the Catalyst framework and totally fell in love with it, I use
> a DBIC::Schema class for Catalyst that looks like the following:
>
> Here is my Catalyst::Model::DBIC::Schema inherited class:
>
> __PACKAGE__->config(
> schema_class => '::Model::MySchema',
> connect_info => [
> 'dbi:mysql:loco',
> 'username',
> 'pass',
> { AutoCommit => 1 }
>
> ],
> );
>
> This problem puzzles me to no end and I think the culprit might be the
> Catalyst::Model::DBIC or even C::M::DBIC::Schema class.
> I will write a simple script that will not use the Catalyst framework
> and see if the problem occurs there as well.
schema_class should be a fully qualified class name for a class that
ISA DBIx::Class::Schema (Loco::Schema ?), and probably is not in the
Model namespace. I'm surprised it works at all with
'::Model::MySchema'.
-- Brandon
More information about the Dbix-class
mailing list