> -----Original Message-----
> From: Andrei A. Voropaev [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 6:44 AM
> To: [EMAIL PROTECTED]
> Subject: 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.  

well, it is in the archives ;)

> Any chance 
> that this is added
> to documentation or some cleaner way of doing this is added 
> to Apache::DBI?

recent versions of DBI support the dbi_connect_method attribute, which is
equivalent to what you have here.  see the DBI docs.

--Geoff

> 
> Andrei
> 

Reply via email to