NAME

DBIO::Oracle - Oracle-specific schema management for DBIO

VERSION

version 0.900000

SYNOPSIS

package MySchema;
use DBIO Schema => -ora;

# ... later
my $schema = MySchema->connect($dsn, $user, $pass);
# Storage is automatically set to DBIO::Oracle::Storage

DESCRIPTION

This class is a thin DBIO subclass that automatically sets the storage class to DBIO::Oracle::Storage when a connection is established. The -ora shortcut (handled by DBIO::Shortcut::ora) wires the Oracle storage into your schema; the classic use base 'DBIO::Oracle' / load_components forms remain supported. Load it into your schema instead of the base DBIO class when connecting to Oracle databases.

For Oracle versions prior to 9.0 that do not support ANSI join syntax, the storage will automatically use DBIO::Oracle::Storage::WhereJoins instead.

METHODS

connection

$schema->connection($dsn, $user, $pass, \%attrs);

Sets the storage type to DBIO::Oracle::Storage before delegating to the parent connection method.

SEE ALSO

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.