On Thu, Oct 13, 2011 at 4:31 PM, Peter Edwards <[email protected]>wrote:
> >I need to be able to failover between two database backends. > > If you are using DBIx::Class it will reconnect stale database handles, so > as long as your failover uses the same DSN hostname it should just work. > That would be nice, but unfortunately it does not work like that over here (and I cannot do anything about that). > > >> The DBIx::HA seems to be the right tool to that, but how to use it with >> Catalyst? >> >> You can use any database backend you like with Catalyst, check out the > Model configuration part of the Catalyst manual. > That particular module needs Apache::DBI so won't be compatible with > DBIx::Class though. > Isn't there another way achieve this, with DBIx-Class, similar to what the HA module does? Thanks Meindert
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
