Otogiri::Plugin::AutoReconnect - (DEPRECATED) Otogiri plugin automatically reconnect when connection is lost
use Otogiri
my $db = Otogiri->new(...);
$db->load_plugin('AutoReconnect');
... # do something and connection is lost
my $row = $db->single('person', { id => $person_id }); # automatically reconnect and connection is fine
Auto reconnect feature is integrated into Otogiri core from version 0.15. Please DO NOT USE this plugin.
Otogiri::Plugin::AutoReconnect is connection manager for Otogiri. When this plugin is loaded and database connection is lost, automatically reconnect to database.
Teng, DBIx::TransactionManager, DBIx::Connector
Copyright (C) Takuya Tsuchida.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Takuya Tsuchida tsucchi@cpan.org