Re: dynamically defining base class for a CDBI table module

[prev] [thread] [next] [Date index for 2005/03/11]

From: Perrin Harkins
Subject: Re: dynamically defining base class for a CDBI table module
Date: 15:19 on 11 Mar 2005
Gianni, Andrew wrote:
> The issue is that, by default, these tables will use the database
> connections defined by their parent class (the schema owner's username
> and password). But in a particular project, I want all tables to share a
> single connection, owned by that particular project.

Okay, so you need to change the connection based on what project you're 
in.  Class::DBI::Factory or overriding db_Main are your best bets.

- Perrin

Re: dynamically defining base class for a CDBI table module
Perrin Harkins 15:19 on 11 Mar 2005

Generated at 08:54 on 14 Mar 2005 by mariachi v0.52