1 package DBIx::Class::Storage::DBI::Oracle;
6 use base qw/DBIx::Class::Storage::DBI/;
11 my $version = eval { $self->_dbh->get_info(18); };
14 my ($major, $minor, $patchlevel) = split(/\./, $version);
17 my $class = $major >= 8
18 ? 'DBIx::Class::Storage::DBI::Oracle::WhereJoins'
19 : 'DBIx::Class::Storage::DBI::Oracle::Generic';
22 eval "require $class";
24 bless $self, $class unless $@;
33 DBIx::Class::Storage::DBI::Oracle - Base class for Oracle driver
37 # In your table classes
38 __PACKAGE__->load_components(qw/Core/);
42 This class simply provides a mechanism for discovering and loading a sub-class
43 for a specific version Oracle backend. It should be transparent to the user.
48 David Jack Olrik C<< <djo@cpan.org> >>
52 You may distribute this code under the same terms as Perl itself.