1 package DBIx::Class::SQLMaker::OracleJoins;
5 use Module::Runtime ();
7 use base qw( DBIx::Class::SQLMaker::Oracle );
9 sub _build_base_renderer_class {
10 Module::Runtime::use_module('DBIx::Class::SQLMaker::Renderer::OracleJoins');
19 DBIx::Class::SQLMaker::OracleJoins - Pre-ANSI Joins-via-Where-Clause Syntax
23 This module is used with Oracle < 9.0 due to lack of support for standard
28 Not intended for use directly; used as the sql_maker_class for schemas and components.
32 Implements pre-ANSI joins specified in the where clause. Instead of:
34 SELECT x FROM y JOIN z ON y.id = z.id
38 SELECT x FROM y, z WHERE y.id = z.id
40 It should properly support left joins, and right joins. Full outer joins are
41 not possible due to the fact that Oracle requires the entire query be written
42 to union the results of a left and right join, and by the time this module is
43 called to create the where query and table definition part of the sql query,
44 it's already too late.
52 Overrides DBIx::Class::SQLMaker's select() method, which calls _oracle_joins()
53 to modify the column and table list before calling next::method().
59 Does not support full outer joins (however neither really does DBIC itself)
65 =item L<DBIx::Class::Storage::DBI::Oracle::WhereJoins> - Storage class using this
67 =item L<DBIx::Class::SQLMaker> - Parent module
69 =item L<DBIx::Class> - Duh
75 Justin Wheeler C<< <jwheeler@datademons.com> >>
79 David Jack Olrik C<< <djo@cpan.org> >>
83 This module is licensed under the same terms as Perl itself.