[Catalyst] Handling Exceptions

Matt S Trout dbix-class at trout.me.uk
Sun Apr 16 21:40:02 CEST 2006


Kiefer, Sascha wrote:
> Here you go:
> 
> ---------------------------------------------------------------------
> 
> package PBoard::Model::DBIC;
> 
> use strict;
> use base 'Catalyst::Model::DBIC';
> 
> __PACKAGE__->config(
>     dsn           => 'dbi:mysql:dbname=x',
>     user          => 'x',
>     password      => 'x',
>     options       => { AutoCommit => 0 }, # was {}
>     relationships => 1
> );

Bugger. I have *absolutely* no idea how using the old DBIx::Class::Loader is 
going to interact with the transaction stuff. Sorry.

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list