[CDBI] Re: Class::DBI with multiple db connections

"Edward J. Sabol" <sabol-2oVx0MVsMgiP/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
> [Am] I missing something here?

Class::DBI forces the Ima::DBI database connection name to be "Main". This
was an intentional design decision to simplify the API.

If you do override this design decision to enable multiple database
connections, I think you will need to turn off the object index; otherwise,
the object index will end up getting confused as to which objects belong to
which database. I know there was a RT bug concerning that issue, but I don't
believe it was ever resolved.

Hope this helps,
Ed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.