[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