Hi there,

But none of these solutions solve the problem I mentioned in my
earlier email.  If for example you have your database connection
information in the parent project configuration file which would be
common since many things outside of Catalyst need to access the
database and in this file you would have it look like this:

<MyDB>
   schema_class ...
   <connect_info>
       dsn ...
       username ...
       password ...
       AutoCommit 1
   </connect_info>
</MyDB>

And in the Catalyst configuration file if you include the parent
config it won't work since Catalyst::Model::DBIC::Schema seems to need
the enclosing tags to start with Model:: i.e. <Model::MyDB>
</Model::MyDB>.  Of course it doesn't make sense to use such tags in
the parent configuration.

Does anyone know of a way to have Catalyst::Model::DBIC::Schema look
for a different set of tags in the Config::General file?

best,
Leandro

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to