Re: mod_perl, Apache::DBI, and transactions

[prev] [thread] [next] [Date index for 2005/02/03]

From: Perrin Harkins
Subject: Re: mod_perl, Apache::DBI, and transactions
Date: 20:06 on 03 Feb 2005
On Thu, 2005-02-03 at 14:15 -0500, Jonathan Vanasco wrote:
> Can anyone point me to some good references on using transactions in a 
> mod_perl framework

http://modperlbook.com/html/ch20_01.html

> My naive and possibly wrong view, is that it would be difficult to 
> handle transactions if DBI is recycling/sharing the connections and 
> making them persist

Read the Apache::DBI docs.  It issues a rollback on all open connections
at the end of every request.  If there's a specific scenario you're
concerned about, please elaborate.

- Perrin

mod_perl, Apache::DBI, and transactions
Jonathan Vanasco 19:15 on 03 Feb 2005

Re: mod_perl, Apache::DBI, and transactions
Perrin Harkins 20:06 on 03 Feb 2005

Generated at 22:41 on 06 Feb 2005 by mariachi v0.52