#1427: Database Manager returns closed Doctrine 2 EntityManager after PDO
Exception
-------------------------------+--------------------------------------------
 Reporter:  mr.hash@…          |       Owner:  david
     Type:  defect             |      Status:  new  
 Priority:  normal             |   Milestone:  1.0.7
Component:  database           |     Version:  1.0.6
 Severity:  normal             |    Keywords:       
Has_patch:  0                  |  
-------------------------------+--------------------------------------------

Comment(by david):

 My suggestion would be to give {{{AgaviDatabase}}} a new
 {{{reset()}}} method (or maybe call it {{{resetConnection()}}}) that shuts
 down the connection and removes it, so that on the next call to
 {{{getConnection()}}}, a new one will be created (or in the case of
 {{{AgaviDoctrine2ormDatabase}}}, a new {{{EntityManager}}}).

 Good?

-- 
Ticket URL: <http://trac.agavi.org/ticket/1427#comment:11>
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