[Catalyst] Class::DBI::Loader w/mod_perl interaction bug (solved)
Brandon Black
blblack at gmail.com
Thu Jan 5 21:04:19 CET 2006
On 1/5/06, Perrin Harkins <perrin at elem.com> wrote:
> On Thu, 2006-01-05 at 18:19 +0000, Toby Corkindale wrote:
> > The workaround is to forcibly disconnect the DB immediately after the
> > Loader->new() call, which will cause the children to have to reconnect, thus
> > getting their own unique DB handles.
>
> Also, take a look at the information here:
> http://wiki.class-dbi.com/wiki/Using_with_mod_perl
>
See also the line:
($loader->classes)[0]->storage->dbh->disconnect;
In the DBIx::Class::Loader / Catalyst::Model::DBIC example I put here:
http://dev.catalyst.perl.org/wiki/SolvedIssues#si.85
That's how I solved a similar issue for my case w/ DBIx::Class anyways
-- Brandon
More information about the Catalyst
mailing list