Re: Class::DBI and caching
[prev]
[thread]
[next]
[Date index for 2005/02/04]
Thomas Keller wrote:
> Is there any way to prevent DBI caching data (or at least trigger DBI
> to update the object without storing the discarded data which still
> reside in the object)?
It sounds like everyone writing a mod_perl Class::DBI app has run into
this problem at some point. :) I have the same issue, but I was
assured it's not a bug in C::DBI but rather one in my code, and that is
very likely true. I haven't been able to track it down yet, so I'm
using the line below to globally disable the object caching in C::DBI.
Whatever bug is in my code, it doesn't seem to cause any problems with
anything other than this issue in C::DBI.
This line is in my top-most Class::DBI subclass:
$Class::DBI::Weaken_Is_Available = 0;
-Andy
|
|
Re: Class::DBI and caching
Andy Grundman 22:03 on 04 Feb 2005
|