GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ResourcePool::Resource::DBI(3) User Contributed Perl Documentation ResourcePool::Resource::DBI(3)

ResourcePool::Resource::DBI - A ResourcePool wrapper for DBI

 use ResourcePool::Resource::DBI;
 
 my $resource =  ResourcePool::Resource::DBI->new(
                        $data_source, 
                        $username, 
                        $auth, 
                        \%attr);

This class is used by the ResourcePool internally to create DBI connections. Its called by the corresponding ResourcePool::Factory::DBI object which passes the parameters needed to establish the DBI connection.

The only thing which has to been known by an application developer about this class is the implementation of the precheck() and postcheck() methods:

Performs a $dbh->ping().

Returns: Returns true on success and false on fail

Performs a rollback() on the session if AutoCommit is off.

Returns: always true

DBI, ResourcePool, ResourcePool::Resource, ResourcePool::Factory::DBI

    Copyright (C) 2001-2004 by Markus Winand <mws@fatalmind.com>

    This program is free software; you can redistribute it and/or
    modify it under the same terms as Perl itself.
2004-05-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.