On 25 Jan 2007, at 14:27, Josef Karthauser wrote:


I've not totally got my head around the auto loading code yet, but it
appears that the ...:DBI::driver code is being loaded too late.
It ought to be auto loaded when the schema object is populated, not
when the database connection is made.

That's not possible, we can't be sure what we're connected to until the connection is made, and we can't pick the class when storage is instantiated since it's perfectly valid to change the connect_info afterwards.

--
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for Catalyst, DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for details. + Help us build a better perl ORM: http://dbix- class.shadowcatsystems.co.uk/ +



_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to