1 package DBIx::Class::Storage::DBI::ODBC;
5 use base qw/DBIx::Class::Storage::DBI/;
10 my $dbtype = eval { $self->_dbh->get_info(17) };
12 # Translate the backend name into a perl identifier
14 my $class = "DBIx::Class::Storage::DBI::ODBC::${dbtype}";
15 eval "require $class";
16 bless $self, $class unless $@;
25 DBIx::Class::Storage::DBI::ODBC - Base class for ODBC drivers
29 # In your table classes
30 __PACKAGE__->load_components(qw/Core/);
35 This class simply provides a mechanism for discovering and loading a sub-class
36 for a specific ODBC backend. It should be transparent to the user.
41 Marc Mims C<< <marc@questright.com> >>
45 You may distribute this code under the same terms as Perl itself.