Maplat::Worker::OracleDB - Worker module for accessing Oracle databases
This module is a wrapper around DBI/DBD::Oracle.
With this worker module, you can easely maintain connections to multiple databases (just declare multiple modules with different modnames).
<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.
Get/Set the DBD::Oracle "AutoCommit" setting
Get/Set the DBD::Oracle "RaiseError" setting
Get the DBI errorstring.
Execute a DBI statement with "do"
Prepare a (non-cached) Statement.
Prepare a server cached statement (may fall back to non-cached transparently, see DBD::Oracle and Oracle documentation for details).
Quote a variable for use in Oracle statements.
Commit transaction.
Rollback transaction.
Internal callback function, makes sure there is no active transaction after a work cycle.
This module is a basic module which does not depend on other worker modules.
Maplat::Worker DBD::Oracle
Rene Schickbauer, <rene.schickbauer@gmail.com>
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.
To install Maplat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Maplat
CPAN shell
perl -MCPAN -e shell install Maplat
For more information on module installation, please visit the detailed CPAN module installation guide.