Rene Schickbauer > Maplat-0.995 > Maplat::Worker::OracleDB

Download:
Maplat-0.995.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.995   Source  

NAME ^

Maplat::Worker::OracleDB - Worker module for accessing Oracle databases

SYNOPSIS ^

This module is a wrapper around DBI/DBD::Oracle.

DESCRIPTION ^

With this worker module, you can easely maintain connections to multiple databases (just declare multiple modules with different modnames).

Configuration ^

        <module>
                <modname>testdb</modname>
                <pm>OracleDB</pm>
                <options>
                        <dburl>dbi:Oracle:sid=FOO;host=192.168.0.1;port=9521</dburl>
                        <dbuser>fordprefect</dbuser>
                        <dbpassword>fourtytwo</dbpassword>
                </options>
        </module>

dburl is the DBI connection string, see DBD::Oracle.

AutoCommit

Get/Set the DBD::Oracle "AutoCommit" setting

RaiseError

Get/Set the DBD::Oracle "RaiseError" setting

errstr

Get the DBI errorstring.

do

Execute a DBI statement with "do"

prepare

Prepare a (non-cached) Statement.

prepare_cached

Prepare a server cached statement (may fall back to non-cached transparently, see DBD::Oracle and Oracle documentation for details).

quote

Quote a variable for use in Oracle statements.

commit

Commit transaction.

rollback

Rollback transaction.

cleanup

Internal callback function, makes sure there is no active transaction after a work cycle.

Dependencies ^

This module is a basic module which does not depend on other worker modules.

SEE ALSO ^

Maplat::Worker DBD::Oracle

AUTHOR ^

Rene Schickbauer, <rene.schickbauer@gmail.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2008-2011 by Rene Schickbauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: