1 package DBIx::Class::Storage::DBI::ODBC;
4 use base qw/DBIx::Class::Storage::DBI/;
10 if (my $dbtype = $self->_dbh_get_info(17)) {
11 # Translate the backend name into a perl identifier
13 my $subclass = "DBIx::Class::Storage::DBI::ODBC::${dbtype}";
15 return if $self->isa($subclass);
17 if ($self->load_optional_class($subclass)) {
18 bless $self, $subclass;
22 warn "Expected driver '$subclass' not found, using generic support. " .
23 "Please file an RT.\n";
27 warn "Could not determine your database type, using generic support.\n";
35 DBIx::Class::Storage::DBI::ODBC - Base class for ODBC drivers
39 This class simply provides a mechanism for discovering and loading a sub-class
40 for a specific ODBC backend. It should be transparent to the user.
44 See L<DBIx::Class/AUTHOR> and L<DBIx::Class/CONTRIBUTORS>.
48 You may distribute this code under the same terms as Perl itself.