in reply to Re: DBIx::Class connection
in thread DBIx::Class connection
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBIx::Class connection
by Your Mother (Archbishop) on Jan 03, 2011 at 03:26 UTC |