make insertion of blobs into tables with identity columns work, other minor fixes
[dbsrgits/DBIx-Class-Historic.git] / lib / DBIx / Class / Storage / DBI / Sybase / Microsoft_SQL_Server.pm
CommitLineData
98464041 1package DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server;
2
3use strict;
4use warnings;
2ad62d97 5
528accab 6use base qw/
eabab5d0 7 DBIx::Class::Storage::DBI::Sybase::Base
8c44d0f2 8 DBIx::Class::Storage::DBI::ODBC::Microsoft_SQL_Server
f0070d01 9 DBIx::Class::Storage::DBI::NoBindVars
528accab 10/;
2ad62d97 11use mro 'c3';
98464041 12
9b3dabe0 13sub _rebless {
14 my $self = shift;
15 $self->disable_sth_caching(1);
16}
17
98464041 181;
19
20=head1 NAME
21
22DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server - Storage::DBI subclass for MSSQL via
23DBD::Sybase
24
25=head1 SYNOPSIS
26
5608593e 27This subclass supports MSSQL server connections via L<DBD::Sybase>.
98464041 28
d4483998 29=head1 CAVEATS
98464041 30
d4483998 31This storage driver uses L<DBIx::Class::Storage::DBI::NoBindVars> as a base.
32This means that bind variables will be interpolated (properly quoted of course)
33into the SQL query itself, without using bind placeholders.
34
35More importantly this means that caching of prepared statements is explicitly
36disabled, as the interpolation renders it useless.
98464041 37
7e8cecc1 38The actual driver code for MSSQL is in
39L<DBIx::Class::Storage::DBI::ODBC::Microsoft_SQL_Server>.
40
98464041 41=head1 AUTHORS
42
b7505130 43See L<DBIx::Class/CONTRIBUTORS>.
98464041 44
45=head1 LICENSE
46
47You may distribute this code under the same terms as Perl itself.
48
49=cut