#1147: Initialization of ALL databases
---------------------+------------------------------------------------------
 Reporter:  tc77     |       Owner:  david
     Type:  defect   |      Status:  new  
 Priority:  normal   |   Milestone:  1.0.2
Component:  _OTHER_  |     Version:  1.0.1
 Severity:  normal   |    Keywords:       
Has_patch:  0        |  
---------------------+------------------------------------------------------
 To reduce the setup we are currently using one agavi-setup for multiple
 applicatons. Every module represents an application.

 Within this setup we defined multiple databases at databases.xml.

 Agavi currently initializes ALL at databases.xml defined databases. For
 Doctrine this means the loading of all models, of all defined
 databases.This results in an exception of missing models even for
 databases which are not defined as default.

 This seems like a big overhead for me. Therefore the
 AgaviDatabaseConfigHandler should initialize only default database
 connections. Another solution could be to refactor the
 AgaviDoctrineDatabase handler to load the models at a later point.

-- 
Ticket URL: <http://trac.agavi.org/ticket/1147>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to