[Catalyst] do I need to load Apache::DBI?
Matt S Trout
dbix-class at trout.me.uk
Tue Jul 24 16:46:54 GMT 2007
On Tue, Jul 24, 2007 at 09:20:00AM +0200, Cédric Bouvier wrote:
> Hello,
>
> I have failed to understand something. If I run my Catalyst application
> under mod_perl, will it automatically use persistent database
> connections, or do I have to explicitely tell mod_perl to load
> Apache::DBI?
Catalyst has exactly no effect on database connections. It's a web framework.
You might not even be using a database.
DBIx::Class and Catalyst::Model::DBI both maintain persistent connections
themselves though.
Apache::DBI is an awful hack and should be avoided where possible.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/
More information about the Catalyst
mailing list