perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Moseley <mose...@hank.org>
Subject Re: ORMs under mod_perl
Date Thu, 18 May 2006 23:34:58 GMT
On Thu, May 18, 2006 at 07:28:21PM -0400, Perrin Harkins wrote:
> It's not that anything bad happens when you use Apache::DBI, but rather
> that the automatic rollbacks that Apache::DBI normally does for you will
> not work when you use Class::DBI.  If you are absolutely certain that
> there's no way your app could die and leave a database handle with some
> uncommitted data, then don't worry about it.

My transactions are all inside eval with a rollback (the modified
do_transaction() code).  Is there a situation that the transaction
would not get rolled back and still have the apache child alive to do
the cleanup?

-- 
Bill Moseley
moseley@hank.org


Mime
View raw message