Maplat::Web::OracleDB - Web module for accessing Oracle databases
This module is a wrapper around DBI/DBD::Oracle.
With this web module, you can easely maintain connections to multiple databases (just declare multiple modules with different modnames).
<module> <modname>maindb</modname> <pm>OracleDB</pm> <options> <dburl>dbi:Oracle:dbname=Maplat_DB</dburl> <dbuser>Maplat_Server</dbuser> <dbpassword>SECRET</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 function. Checks if the database handle is valid and reconnects if needed.
This module is a basic module which does not depend on other web modules.
Internal callback function, makes sure there are no open transactions after rendering a page.
Maplat::Web 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.