On 4/10/06, Kjell Arne Arvesen <[EMAIL PROTECTED]> 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
_______________________________________________
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/