Fix syntax error that slipped into 9c1700e3
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / Sybase / MSSQL.pm
CommitLineData
81092e2d 1package DBIx::Class::Storage::DBI::Sybase::MSSQL;
2
3use strict;
4use warnings;
5
9c541170 6use Carp::Clan qw/^DBIx::Class/;
9c1700e3 7use namespace::clean;
9c541170 8
9carp 'Setting of storage_type is redundant as connections through DBD::Sybase'
10 .' are now properly recognized and reblessed into the appropriate subclass'
11 .' (DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server in the'
12 .' case of MSSQL). Please remove the explicit call to'
13 .q/ $schema->storage_type('::DBI::Sybase::MSSQL')/
14 .', as this storage class has been deprecated in favor of the autodetected'
15 .' ::DBI::Sybase::Microsoft_SQL_Server';
16
17
eb0323df 18use base qw/DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server/;
2ad62d97 19use mro 'c3';
81092e2d 20
211;
22
23=head1 NAME
24
9c541170 25DBIx::Class::Storage::DBI::Sybase::MSSQL - (DEPRECATED) Legacy storage class for MSSQL via DBD::Sybase
26
27=head1 NOTE
28
29Connections through DBD::Sybase are now correctly recognized and reblessed
30into the appropriate subclass (L<DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server>
31in the case of MSSQL). Please remove the explicit storage_type setting from your
32schema.
81092e2d 33
34=head1 SYNOPSIS
35
36This subclass supports MSSQL connected via L<DBD::Sybase>.
37
38 $schema->storage_type('::DBI::Sybase::MSSQL');
39 $schema->connect_info('dbi:Sybase:....', ...);
40
41=head1 AUTHORS
42
43Brandon L Black <blblack@gmail.com>
44
47d9646a 45Justin Hunter <justin.d.hunter@gmail.com>
46
81092e2d 47=head1 LICENSE
48
49You may distribute this code under the same terms as Perl itself.
50
51=cut