You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Andrei A. Voropaev" <an...@securities.com> on 2001/11/15 12:43:35 UTC

Apache::DBI usage

Hi!

Apache::DBI is great module of course because it makes things transparent. But
it also makes things confusing. In few cases we have to open and close
connection to database on each request (in particular Oracle on NT gives a lot
of trouble with cached connections). 

Currently in such cases I'm using 

my $dbh = DBI->connect($dbs, $user, $pass, {AutoCommit => 0}, undef, 'connect') 

but this is naturally not documented anywhere.  Any chance that this is added
to documentation or some cleaner way of doing this is added to Apache::DBI?

Andrei