-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel
Westermann-Clark
Sent: Monday, September 25, 2006 11:36 AM
To: [email protected]
Subject: Re: [Dbix-class] inheritance problem?
On 2006-09-25 11:27:01 -0700, Alan Humphrey wrote:
> I'm trying to use the Sybase::MSSQL storage type and I'm seeing
> something I don't understand.
>
> In my schema module I have:
>
> __PACKAGE__->mk_classdata('storage_type' => '::DBI::Sybase::MSSQL');
I believe this should be:
__PACKAGE__->storage_type('::DBI::Sybase::MSSQL');
>>
I picked up the mk_classdata approach from an earlier thread. In any event,
it doesn't make a difference:
DB<8> x $schema->{storage}>isa('DBIx::Class::Storage::DBI::Sybase::MSSQL')
0 1
DB<9> x $schema->{storage}->isa('DBIx::Class::Storage::DBI::NoBindVars')
0 1
DB<10> x $schema->{storage}->can('_execute')
0 CODE(0x938439c)
-> &DBIx::Class::Storage::DBI::_execute in
/usr/pkg/lib/perl5/site_perl/5.8.0/DBIx/Class/Storage/DBI.pm:752-784
_______________________________________________
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/
Searchable Archive: http://www.mail-archive.com/[email protected]/