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