1 Rose::DBx::AutoReconnect is a subclass of Rose::DB. Additional
4 * If using new_or_cached() method, will ping() dbh on every
5 fetch from cache to ensure that the dbh is connected. This
6 extends the basic Rose::DB::Cache behaviour beyond
8 * Convenient logger() method for debugging.
9 * Always uses DBI connect_cached() method when creating handles.
11 Rose::DBx::AutoReconnect was written to allow new_or_cached() to
12 work with MySQL's "morning bug" and to allow for restarting your
13 database without restarting your application. See also
14 Rose::DBx::Cache::Anywhere.