Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: DBIx::Class connectionby morgon (Priest) |
on Jan 03, 2011 at 01:22 UTC ( [id://880108]=note: print w/replies, xml ) | Need Help?? |
As always many thanks for sharing your knowledge, mother. And to log the SQL that is generated I could simply subclass DBIx::Class::Storage::Statistics and set it as debugobj I guess? And while I am at it (and don't want to experiment when I can simply ask mother): I don't quite understand what happens when the database-connection is lost (I am using mysql). I understand DBIx::Class will try to reconnect automatically - does that mean it will try once and give up if it fails to reconnect or what exactly happens? How could I trace (assumed I cared) when a connection is lost and re-established? Many thanks.
In Section
Seekers of Perl Wisdom
|
|