[Catalyst] Transactions with mysql - can't locate db_Main

Matt S Trout dbix-class at trout.me.uk
Thu Jan 19 05:09:12 CET 2006

On Wed, Jan 18, 2006 at 05:51:05PM -0500, Perrin Harkins wrote:
> On Thu, 2006-01-19 at 09:39 +1100, Ross Crawford wrote:
> > Hmmmm. Yes it does. I'd be interested in knowing the reason.
> I believe it's because Class::DBI::Loader (which Catalyst::Model::CDBI
> uses) calls set_db in each subclass rather than in the base class.

Ick. The (actively maintained) DBIx::Class::Loader does this properly.

     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