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/
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/