1 package DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server;
7 DBIx::Class::Storage::DBI::Sybase
8 DBIx::Class::Storage::DBI::MSSQL
14 my $dbh = $self->_get_dbh;
16 if (not $self->_typeless_placeholders_supported) {
18 'DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars';
23 sub _run_connection_actions {
26 # LongReadLen doesn't work with MSSQL through DBD::Sybase, and the default is
27 # huge on some versions of SQL server and can cause memory problems, so we
28 # fix it up here (see ::DBI::Sybase.pm)
31 $self->next::method(@_);
37 $self->_get_dbh->do('BEGIN TRAN');
43 or $self->throw_exception('cannot COMMIT on a disconnected handle');
50 or $self->throw_exception('cannot ROLLBACK on a disconnected handle');
58 DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server - Support for Microsoft
59 SQL Server via DBD::Sybase
63 This subclass supports MSSQL server connections via L<DBD::Sybase>.
67 This driver tries to determine whether your version of L<DBD::Sybase> and
68 supporting libraries (usually FreeTDS) support using placeholders, if not the
69 storage will be reblessed to
70 L<DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars>.
72 The MSSQL specific functionality is provided by
73 L<DBIx::Class::Storage::DBI::MSSQL>.
77 See L<DBIx::Class/CONTRIBUTORS>.
81 You may distribute this code under the same terms as Perl itself.